Hi everyone,
We are proud to annouce the release of DEAP 0.8, a library for doing
Distributed Evolutionary Algorithms in Python. You can download a copy
of this release at the following web page.
http://deap.googlecode.com
This release includes :
- compatibility with Python 3;
On Apr 5, 10:36 pm, rusi rustompm...@gmail.com wrote:
On Apr 6, 9:54 am, Steve Howell showel...@yahoo.com wrote:
JS, YAML, and HTML are pretty similar to Python with respect to single
vs. double, as far as I know/remember/care.
[Complete ignoramus here -- writing after a few minutes of
Okay, I've been trying for days to figure this out, posting on forums,
Googling, whatever. I have yet to find a solution that has worked for me. (I'm
using Python 3.2.2, Ubuntu 11.04.) Everything I've tried has led to buffered
output being spat back all at once after the subprocess terminates.
On Thu, Apr 5, 2012 at 11:57 PM, buns...@gmail.com wrote:
Okay, I've been trying for days to figure this out, posting on forums,
Googling, whatever. I have yet to find a solution that has worked for me.
(I'm using Python 3.2.2, Ubuntu 11.04.) Everything I've tried has led to
buffered
Hi
I have a machine with a non-UTF8 local.
I can't figure out how to make numpy.genfromtxt work
I pipe some ascii data into the following script but get this
bytes to str hell.
Many thanks for a hint,
Helmut.
#!/usr/bin/python3
import numpy as np
import io
import sys
inpstream =
On Thu, 05 Apr 2012 23:57:49 -0700, bunslow wrote:
Okay, I've been trying for days to figure this out, posting on forums,
Googling, whatever. I have yet to find a solution that has worked for me.
(I'm using Python 3.2.2, Ubuntu 11.04.) Everything I've tried has led to
buffered output being
rusi wrote:
Are there languages (other than python) in which single and double
quotes are equivalent?
Kernighan and Plauger's RATFOR (a pre-processor that added some C-like
syntax to FORTRAN) did that. Published in their book _Software Tools_.
Mel.
--
On Thu, 05 Apr 2012 22:28:19 -0700, rusi wrote:
All this mess would vanish if the string-literal-starter and ender
were different.
You still need an escape character in order to be able to embed an
unbalanced end character.
Tcl and PostScript use mirrored string delimiters (braces for Tcl,
In article jlmaid$hum$1...@dont-email.me, mwil...@the-wire.com wrote:
rusi wrote:
Are there languages (other than python) in which single and double
quotes are equivalent?
Kernighan and Plauger's RATFOR (a pre-processor that added some C-like
syntax to FORTRAN) did that. Published
Roy Smith wrote:
In article jlmaid$hum$1...@dont-email.me, mwil...@the-wire.com wrote:
rusi wrote:
Are there languages (other than python) in which single and double
quotes are equivalent?
Kernighan and Plauger's RATFOR (a pre-processor that added some C-like
syntax to FORTRAN) did
On Apr 6, 1:52 pm, Nobody nob...@nowhere.com wrote:
On Thu, 05 Apr 2012 22:28:19 -0700, rusi wrote:
All this mess would vanish if the string-literal-starter and ender
were different.
You still need an escape character in order to be able to embed an
unbalanced end character.
Tcl and
06.04.12 08:28, rusi написав(ла):
All this mess would vanish if the string-literal-starter and ender
were different.
[You dont need to escape a open-paren in a lisp sexp]
But you need to escape an escape symbol.
--
http://mail.python.org/mailman/listinfo/python-list
06.04.12 16:22, rusi написав(ла):
Yes. I hand it to you that I missed the case of explicitly unbalanced
strings.
But are not such cases rare?
No, unfortunately. }:-(
For example code such as:
print ''
print str(something)
print ''
could better be written as
print '%s' % str(something)
On Thu, 05 Apr 2012 21:28:01 -0700, rusi wrote:
Are there languages (other than python) in which single and double
quotes are equivalent?
Classic REXX, CSS, JavaScript, Lua, Prolog, XPath, YAML, Modula-2, HTML,
and (of course) English. There may be others.
Other languages like Perl, PHP and
On 06.04.2012, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wroted:
Are there languages (other than python) in which single and double
quotes are equivalent?
Classic REXX, CSS, JavaScript, Lua, Prolog, XPath, YAML, Modula-2, HTML,
and (of course) English. There may be others.
I'm still getting my feet wet on the Windows side of things with Python, so
I apologize for the noobish question.
If i am reading the create_link.py example correctly, that is created when
the application itself is invoked, not during installation. Is that
correct? If it is, how would I be able
On Sat, Apr 7, 2012 at 12:50 AM, Freed freeda...@aol.com wrote:
New here. The list is set so that ‘reply’ goes only to the sender, not the
list. Is that intentional? Most lists are set so that ‘reply’ goes to the
list by default. Doesn’t look like I can change that for emails that come
to
I posted this message earlier to the list, but realized that URLs appear
broken with '.' at the end of URL. Sorry for that mistake and this duplicate!
asyncoro is a framework for developing concurrent programs with
asynchronous event completions and coroutines. Asynchronous
completions currently
On Apr 6, 6:55 pm, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
On Thu, 05 Apr 2012 21:28:01 -0700, rusi wrote:
Are there languages (other than python) in which single and double
quotes are equivalent?
Classic REXX, CSS, JavaScript, Lua, Prolog, XPath, YAML, Modula-2, HTML,
* Steven D'Aprano wrote:
On Thu, 05 Apr 2012 23:08:11 +0200, André Malo wrote:
* Steven D'Aprano wrote:
For a 21st century programming language or data format to accept only
one type of quotation mark as string delimiter is rather like having a
21st century automobile with a hand crank
On Apr 6, 7:18 pm, Grzegorz Staniak gstan...@gmail.com wrote:
On 06.04.2012, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wroted:
Are there languages (other than python) in which single and double
quotes are equivalent?
Classic REXX, CSS, JavaScript, Lua, Prolog, XPath, YAML,
On Apr 6, 8:40 pm, André Malo ndpar...@gmail.com wrote:
* Steven D'Aprano wrote:
On Thu, 05 Apr 2012 23:08:11 +0200, André Malo wrote:
* Steven D'Aprano wrote:
For a 21st century programming language or data format to accept only
one type of quotation mark as string delimiter is rather
On 06.04.2012, rusi rustompm...@gmail.com wroted:
This is the 21st century, not 1960, and if the language designer is
worried about the trivially small extra effort of parsing ' as well as
then he's almost certainly putting his efforts in the wrong place.
Yes, that's what you said
We are thinking about building a webservice server and considering
python event-driven servers i.e. Gevent/Tornado/ Twisted or some
combination thereof etc.
We are having doubts about the db io part. Even with connection
pooling and cache, there is a strong chance that server will block on
There is asyncmongo!
http://pypi.python.org/pypi/asyncmongo/0.1.3
Although I have never tried it. It has support for async I/O for mongodb
and tornadoweb. Here is a bit old article about it:
http://www.dunnington.net/entry/asynchronous-mongodb-in-tornado-with-asyncmongo
I have a related
In Python 2 given the following raw string:
s = rHello\x3a this is a test
the escaping could be removed by use of the following:
s.decode('string_escape')
In Python 3, however, the only way I can see to achieve the same
result is to convert into a byte stream and then back:
bytes(s,
Maybe this can help you?
http://technogems.blogspot.com/2012/01/capture-colored-console-output-in.html
--
http://mail.python.org/mailman/listinfo/python-list
On Friday, April 6, 2012 3:37:10 AM UTC-5, Nobody wrote:
In all probability, this is because the child process (pypy) is
buffering its stdout, meaning that the data doesn't get passed to the OS
until either the buffer is full or the process terminates. If it doesn't
get passed to the OS, then
On Apr 6, 7:57 am, buns...@gmail.com wrote:
I've heard that the Pexpect module works wonders, but the problem is that
relies on pty which is available in Unix only. Additionally, because I want
this script to be usable by others, any solution should be in the standard
library, which means
There is a problem with the way logging.handlers.SysLogHandler works
when presented with Unicode messages. According to RFC 5424, Unicode
is supposed to be sent encoded as UTF-8 and preceded by a BOM.
However, the current handler implementation puts the BOM at the start
of the formatted message,
On 4/6/2012 1:52 PM, Nicholas Cole wrote:
In Python 2 given the following raw string:
s = rHello\x3a this is a test
the escaping could be removed by use of the following:
s.decode('string_escape')
In Python 3, however, the only way I can see to achieve the same
result is to convert into
In a nutshell: My question is: how do experienced coders learn about
external/third-party classes/APIs?
I'm teaching myself Python through a combination of Hetland's
'Beginning
Python', various online tutorials and some past experience coding
ASP/VBScript. To start to learn Python I've set myself
On 4/6/2012 1:41 PM Martin Jones said...
In a nutshell: My question is: how do experienced coders learn about
external/third-party classes/APIs?
I'm teaching myself Python through a combination of Hetland's
'Beginning
Python', various online tutorials and some past experience coding
On 06Apr2012 16:57, Terry Reedy tjre...@udel.edu wrote:
| On 4/6/2012 1:52 PM, Nicholas Cole wrote:
| In Python 2 given the following raw string:
|
| s = rHello\x3a this is a test
|
| the escaping could be removed by use of the following:
|
| s.decode('string_escape')
|
| In Python 3,
On 4/6/2012 6:05 PM, Cameron Simpson wrote:
On 06Apr2012 16:57, Terry Reedytjre...@udel.edu wrote:
| On 4/6/2012 1:52 PM, Nicholas Cole wrote:
| bytes(s, 'utf-8').decode('unicode_escape')
|
| This seems very ugly (and slightly 'wrong'). Is there no way to do
| this without using bytes?
Helmut Jarausch jarau...@skynet.be wrote:
I have a machine with a non-UTF8 local.
I can't figure out how to make numpy.genfromtxt work
[...]
#!/usr/bin/python3
import numpy as np
import io
import sys
inpstream = io.open(sys.stdin.fileno(), r, encoding='latin1')
data =
On Fri, Apr 6, 2012 at 4:19 PM, Terry Reedy tjre...@udel.edu wrote:
I actually thought of that, but assumed that adding enclosing quotes would
be safe (or that the OP trusted the string). After sending, I realized that
if Nasty Hacker guessed that the string would be so augmented, then it would
On Fri, Apr 6, 2012 at 11:52 AM, Nicholas Cole nicholas.c...@gmail.com wrote:
In Python 2 given the following raw string:
s = rHello\x3a this is a test
the escaping could be removed by use of the following:
s.decode('string_escape')
In Python 3, however, the only way I can see to achieve
On Fri, 06 Apr 2012 13:41:23 -0700, Martin Jones wrote:
In a nutshell: My question is: how do experienced coders learn about
external/third-party classes/APIs?
Does it have a tutorial? Do it.
Does it have a manual, a wiki, FAQs, or other documentation? Read them.
If all else fails, what does
On Thursday, April 5, 2012 11:28:01 PM UTC-5, rusi wrote:
On Apr 5, 4:06 pm, Duncan Booth duncan.bo...@invalid.invalid wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
JSON expects double-quote marks, not single:
v = json.loads({'test':'test'}) fails
v =
Karim kliat...@gmail.com wrote in
news:mailman.1309.1333529851.3037.python-l...@python.org:
This release manage the '.xlsx' format?
http://packages.python.org/openpyxl/
--
http://mail.python.org/mailman/listinfo/python-list
On 7/04/2012 12:57 AM, Cesar Covarrubias wrote:
I'm still getting my feet wet on the Windows side of things with Python,
so I apologize for the noobish question.
If i am reading the create_link.py example correctly, that is created
when the application itself is invoked, not during
Le 07/04/2012 04:07, Keith Medcalf a écrit :
Karimkliat...@gmail.com wrote in
news:mailman.1309.1333529851.3037.python-l...@python.org:
This release manage the '.xlsx' format?
http://packages.python.org/openpyxl/
Ah Keith,
I just check this is only for xlsx format so I will make 2 code
Steve Howell showel...@yahoo.com wrote in news:ae774035-9db0-469d-aa2a-
02f2d25ff...@qg3g2000pbc.googlegroups.com:
Once you are able to import ssl, you should be able to use IMAP4_SSL,
but that still doesn't entirely explain to me why you got a timeout
error with plain IMAP4 and the proper
On Fri, 6 Apr 2012 12:21:51 -0700 (PDT)
Dubslow buns...@gmail.com wrote:
On Friday, April 6, 2012 3:37:10 AM UTC-5, Nobody wrote:
In all probability, this is because the child process (pypy) is
buffering its stdout, meaning that the data doesn't get passed to the OS
until either the
On Fri, 06 Apr 2012 06:22:13 -0700, rusi wrote:
But are not such cases rare?
They exist, therefore they have to be supported somehow.
For example code such as:
print ''
print str(something)
print ''
could better be written as
print '%s' % str(something)
Not if the text between the
Éric Araujo mer...@netwok.org added the comment:
Should also use with statements IMO.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14508
___
Éric Araujo mer...@netwok.org added the comment:
You may be able to code it entirely in the Python part of the module (adding a
new parameter to Element.write and tostring).
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Can you try with 2.7.3?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14488
___
Mark Shannon m...@hotpy.org added the comment:
How about changing the method-cache size in a separate patch?
On my machine, reducing the method-cache size from 2**10 to 2**9 results
in a very small improvement in performance (with the original dict).
That way we don't get a performance
py.user bugzilla-mail-...@yandex.ru added the comment:
testing new e-mail
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8555
___
___
Popa Claudiu pcmantic...@gmail.com added the comment:
Hello. I've attached the new version of the patch. I used with statement in
add_escapes and the test was rewritten according to David's suggestion.
--
Added file: http://bugs.python.org/file25139/gprof.patch
Changes by py.user bugzilla-mail-...@yandex.ru:
--
title: re: Docstring for \s and \S don’t mention Unicode - re: Docstring for
\s and \S doesn’t mention Unicode
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14236
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 068a614e9d97 by Sandro Tosi in branch 'default':
Issue #14502: it's RuntimeError on 3.3
http://hg.python.org/cpython/rev/068a614e9d97
--
___
Python tracker
Hynek Schlawack h...@ox.cx added the comment:
This ticket has a small catch:
There are several namespaces. According to
http://en.wikipedia.org/wiki/Xattr#Linux :
- user: can be set by anyone
- trusted: root only
- security: root only
- system: even root can’t do that, at least not in my vm
Antoine Pitrou pit...@free.fr added the comment:
On Thu, Apr 5, 2012 at 5:38 PM, Antoine Pitrou rep...@bugs.python.org wrote:
Antoine Pitrou pit...@free.fr added the comment:
Not sure what you're talking about. The doc patch is about unacquired
locks, not locks that someone else
New submission from Ronald Oussoren ronaldousso...@mac.com:
When I run make tests I get (amongst others) the following test failure:
==
FAIL: test_noargs (test.test_tools.ReindentTests)
Rik Poggi poggi.ri...@gmail.com added the comment:
Thanks, I'll wait! In the meanwhile I couldn't help to dig a little deeper and
found that the Metadata class is currently logging a warning. Should the
commands raise something when there's a warning in strict mode?
I was playing with the
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
New patch with explicit mutually exclusive flags and better comments.
--
Added file: http://bugs.python.org/file25142/ob_is_gc.patch
___
Python tracker rep...@bugs.python.org
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Thanks for your comments Jim.
They made me realize that the patch was incomplete. What is needed are two
mutually exclusive flags that override the presence of the tp_del slot. This
addresses your 1) point and is the case for
New submission from Christophe Benoit cca.ben...@gmail.com:
When using distutils to build a C-extension, I have noticed that
my C-sources were recompiled as soon as one source file has been touched;
from python 2.6. This was not the case with previous python versions.
--
assignee:
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
You are right, I was thinking more of pyobject attributes. I'll fix this then.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10576
Changes by Kristján Valur Jónsson krist...@ccpgames.com:
--
Removed message: http://bugs.python.org/msg157189
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14310
___
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Not much happening on python-dev.
Perhaps this is not so controversial.
http://www.mail-archive.com/python-dev@python.org/msg66206.html
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
I have one question: you're simply doing a binary copy of the WSAPROTOCOL_INFO
structure. Does it mean sharing wouldn't work between e.g. different MSVC
builds of Python (if the structure is different), or between a 32-bit and a
64-bit Python?
Antoine Pitrou pit...@free.fr added the comment:
Comments about the patch:
- versionadded should be 3.3, not 3.4
- MultiprocessingFunc would deserve a meaningful, PEP8 name; it should also
probably be a classmethod on TestSocketSharing
- please use PEP8 for comments (a space after the #)
- it
YunJian tld...@yahoo.com.cn added the comment:
Well, maybe I had never understood this though I use RE oftenly, this is the
first time I met this and in my mind capture should not perform like this,
thank you very much!
发件人: Matthew Barnett
YunJian tld...@yahoo.com.cn added the comment:
If that was caused by capture, I think I should learn and use it from start
because it gave a result I didn't want but in the way I want, thank you very
much, I will be more careful next time, thank you!
发件人:
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
The binary copy:
This is a winsock2 feature. There is no difference in layout between 32 bits
and 64 bits. I also don't think there is a difference between SDK versions.
However, strangely, there is a difference between unicode
Éric Araujo mer...@netwok.org added the comment:
Thanks for catching this. The definition of projectbase and srcdir is not
clear to me, I always have to use trial and error to find the right one in my
tests. The patch must be applied to all three branches; let me know if I
should do it.
Éric Araujo mer...@netwok.org added the comment:
Keep it simple: if a few functions work, there is no need at all to add
classes. Before doing more work though I suggest you wait for the feedback of
the Mac maintainers.
--
nosy: +eric.araujo
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
I (as one of the Mac maintainers) like the new functionality, but would like to
see some changes:
1) as others have noted it is odd that binary and json plists can be read but
not written
2) there need to be tests, and I'd add two or
Éric Araujo mer...@netwok.org added the comment:
I think that adding safer wrappers and deprecating things are valuable but
different bugs. In the short term, we could apply the proposed small patch to
just fix the issue at hand. Can one of the Windows experts weigh in?
The patch does this:
Benjamin Peterson benja...@python.org added the comment:
What steps can we take to further debug/address this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14477
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6225
___
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14469
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1c3bd0cc3eca by Brett Cannon in branch 'default':
Issue #14500: Fix importlib.test.import_.test_packages to clean up
http://hg.python.org/cpython/rev/1c3bd0cc3eca
--
nosy: +python-dev
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14500
___
R. David Murray rdmur...@bitdance.com added the comment:
If one changes the stacklevel in the DeprecationWarnings in the library to '2'
instead of '1' (I believe it should be '2'), then an interesting array of
deprecation warnings are issued...including from cookiejar code.
Most of them are
Daniel Swanson popcorn.tomato.d...@gmail.com added the comment:
what about this?
def __init__(...):
...
self.stop = False
while True:
(do stuff)
if self.stop: break
def quit(or whatever it's called): self.stop = True
That would work without the backwards copatability
Brett Cannon br...@python.org added the comment:
OK, -v/PYTHONVERBOSE is as done as it is going to be by me. Next up is
(attempting) Windows registry stuff. After that I will push to default with
test_trace and test_pydoc skipped so others can help me with those.
--
Stefan Krah stefan-use...@bytereef.org added the comment:
Running test_http_cookiejar and test_urllib2 in succession always
fails here. The same thing occurs when running test_urllib2
twice:
$ ./python -m test test_http_cookiejar test_urllib2
[1/2] test_http_cookiejar
[2/2] test_urllib2
test
Daniel Swanson popcorn.tomato.d...@gmail.com added the comment:
Or even better:
def __init__(...):
...
self.stop = False
while not self.stop:
(do stuff)
def quit(or whatever it's called): self.stop = True
--
___
Python tracker
Jim Jewett jimjjew...@gmail.com added the comment:
On Fri, Apr 6, 2012 at 5:57 AM, Antoine Pitrou rep...@bugs.python.org wrote:
Antoine Pitrou pit...@free.fr added the comment:
Not sure what you're talking about. The doc patch is about unacquired
locks, not locks that someone else (another
New submission from Daniel Holth dho...@fastmail.fm:
The prefix for bcrypt '$2a$' is supported on many systems and could be added to
crypt.py
Could the documentation mention the available rounds parameter for most of
these newer hashes? And that Unicode strings are automatically converted to
Changes by Daniel Holth dho...@fastmail.fm:
--
components: +Library (Lib)
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14518
___
R. David Murray rdmur...@bitdance.com added the comment:
It doesn't matter *how* you get to the situation where you are releasing a lock
that hasn't been acquired, the point is to document what actually happens when
you do the release. And just yesterday I needed to know this, since I have a
Jim Jewett jimjjew...@gmail.com added the comment:
I don't think 2 is important. Does the context of the call matter?
It is merely a question of whether a finalizer will or will not do
something trivial.
It would affect how I would write such functions. If I knew that it wouldn't
be
Daniel Stutzbach stutzb...@google.com added the comment:
On Fri, Apr 6, 2012 at 12:51 PM, Jim Jewett rep...@bugs.python.org wrote:
__del__ methods do run, even if an object was collected by the cycle
detector. And they can't do any harm that couldn't also be done by a C
finalizer.
No, if
Antoine Pitrou pit...@free.fr added the comment:
OK, -v/PYTHONVERBOSE is as done as it is going to be by me. Next up is
(attempting) Windows registry stuff. After that I will push to default
with test_trace and test_pydoc skipped so others can help me with
those.
Skipped? How so? I think it
Jim Jewett jimjjew...@gmail.com added the comment:
@Jimbofbx: You are correct that a value has to be reserved to indicate that
the hash hasn't been (or can't be) computed, but python uses -1 instead of zero.
An integer can't return itself because a hash is an unboxed integer; that said,
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Right Daniel, but currently an exception is made for Generator objects. The
generator can tell that the finalizer won't do anything and then allow
collection regardless. It knows the finalizer and that in its state it will at
Éric Araujo mer...@netwok.org added the comment:
Will fix, thanks for the report.
--
assignee: docs@python - eric.araujo
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14511
d9pouces pyt...@19pouces.net added the comment:
I'm working on a class, BinaryPlistParser, which allow to both read and write
binary files.
I've also added a parameter fmt to writePlist and readPlist, to specify the
format ('json', 'xml1' or 'binary1', using XML by default). These constants
Daniel Stutzbach stutzb...@google.com added the comment:
Are __del__ and tp_del getting conflated in this conversation? I don't see a
__del__ method on generator objects:
filfre:$ python3.1
Python 3.1.2 (r312:79147, Dec 9 2011, 20:47:34)
[GCC 4.4.3] on linux2
(i for i in range(5)).__del__
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
typeobject.c:
TPSLOT(__del__, tp_del, slot_tp_del, NULL, ),
I'm not super-familiar with how typeobjects and slots work, but I imagine that
if a type is defined with a __del__ member, then the tp_del slot is
automatically filled
Antoine Pitrou pit...@free.fr added the comment:
This requires someone to propose a patch. If you are interested, you can read
the Developer's Guide - http://docs.python.org/devguide/ - for more information
on how to contribute.
--
nosy: +jafo, pitrou
stage: - needs patch
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14468
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
I agree, for reasons stated. Having to skip over the wrong instructions made
getting started a bit harder for me. I also think TortoiseHG should get more
than just a mention. The initial re-creation of the recent DAG for each branch
when
1 - 100 of 136 matches
Mail list logo