[issue3541] bsddb memory leak on ubuntu

2009-05-16 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed in trunk. -- nosy: +ajaksu2, jcea priority: -> normal stage: -> test needed versions: +Python 2.6 -Python 2.5 ___ Python tracker ___ _

[issue2921] enable embedding: declare/#define only py* symbols in #includes

2009-05-16 Thread Hallvard B Furuseth
Hallvard B Furuseth added the comment: Daniel Diniz writes: > Would this break existing code? Source code? Not if you use the PYTHON_NAMESPACE_ONLY trick. Old programs will receive all old definitions in addition to the new autoconf symbols, since they didn't #define PYTHON_NAMESPACE_ONLY. P

[issue3541] bsddb memory leak on ubuntu

2009-05-16 Thread Marcin Bachry
Marcin Bachry added the comment: The test program uses constant memory on my machine. Ubuntu 9.04, libdb4.7.25-6ubuntu1, python 2.7 trunk. -- nosy: +marcin.bachry ___ Python tracker

[issue5786] len(reversed(

2009-05-16 Thread Mark Dickinson
Mark Dickinson added the comment: Closing. -- resolution: -> wont fix status: pending -> closed ___ Python tracker ___ ___ Python-bug

[issue3338] cPickle segfault with deep recursion

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Now that #3640 has been fixed, this bug is probably fixed too (at least in trunk and py3k). -- ___ Python tracker ___ __

[issue3581] failures in test_uuid

2009-05-16 Thread Daniel Diniz
Daniel Diniz added the comment: Hmm, is this a bug in uuid._ifconfig_getnode or just a bad test assumption? -- nosy: +ajaksu2 priority: normal -> low ___ Python tracker ___ _

[issue3583] test_urllibnet.test_bad_address() fails when using OpenDNS

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +ajaksu2 versions: +Python 3.1 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue3471] PyObject_GetAttr() to get special methods

2009-05-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: I fixed the PyObject_GetAttr issue in r72690. I've also been working on fixing the lookup of other special methods. Armin, do you have a list of methods we should check? -- assignee: -> benjamin.peterson ___ Pyth

[issue1694442] Failure to build on AIX 5.3

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue2921] enable embedding: declare/#define only py* symbols in #includes

2009-05-16 Thread Daniel Diniz
Daniel Diniz added the comment: Hallvard, There is ongoing discussion on separating public and private headers: http://groups.google.com/group/unladen-swallow/t/f3a89fc723411c49 Also see #2897, #4805, #5748 and #896330 for (sometimes slightly) related issues. -- dependencies: +include

[issue3367] Uninitialized value read in parsetok.c

2009-05-16 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed in trunk: ~/trunk-py$ ./configure --with-pydebug --without-pymalloc && make [...] ~/trunk-py$ valgrind --suppressions=Misc/valgrind-python.supp ./python ==29730== Memcheck, a memory error detector. [...] Python 2.7a0 (trunk:72608M, May 16 2009, 17:31:09)

[issue3581] failures in test_uuid

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Apparently, a bad test assumption. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue3605] Py_FatalError causes infinite loop

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: -> normal stage: -> test needed type: -> behavior versions: +Python 3.1 -Python 3.0 ___ Python tracker ___ __

[issue4712] Document pickle behavior for subclasses of dicts/lists

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- dependencies: +pickle.dumps cannot save instance of dict-derived class that overrides __getattribute__ ___ Python tracker ___ ___

[issue3635] pickle.dumps cannot save instance of dict-derived class that overrides __getattribute__

2009-05-16 Thread Daniel Diniz
Daniel Diniz added the comment: Is this related to #1730480? -- nosy: +ajaksu2 priority: -> normal stage: -> test needed versions: +Python 2.6, Python 3.1 -Python 2.5, Python 3.0 ___ Python tracker __

[issue6017] Dict fails to notice addition and deletion of keys during iteration

2009-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would be happy enough to change 'will' to 'may'. There are a lot of undocumented exception-raising circumstances, and this one already be undocumented in Py3. -- ___ Python tracker

[issue6043] HTMLParseError derivation

2009-05-16 Thread Fred Bayer
New submission from Fred Bayer : Acoording to documentation, only a few exceptions should inherit directly from Exception, most should inherit from StandardError. However, HTMLParser.HTMLParseError doesn't conform: isinstance(HTMLParser.HTMLParseError("foo"),StandardError) --> False --

[issue6043] HTMLParseError derivation

2009-05-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Actually, the new advice to derive from Exception since StandardError is being removed in Python 3. -- nosy: +benjamin.peterson resolution: -> wont fix status: open -> closed ___ Python tracker

[issue6038] Should collections.Counter check for int?

2009-05-16 Thread Carl Johnson
Carl Johnson added the comment: Sounds like a job for ABCs. -- nosy: +carlj ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue3840] if TESTFN == "/tmp/@test", some tests fail

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +r.david.murray priority: -> normal stage: -> needs patch type: -> behavior ___ Python tracker ___ __

[issue3839] wsgi.simple_server resets 'Content-Length' header on empty content even if app defined it.

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +pje priority: -> normal stage: -> test needed versions: -Python 2.5, Python 3.0 ___ Python tracker ___ _

[issue6018] Fix the output word from "ok" to "OK" when a testcase passes

2009-05-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think the idea is that things like FAIL and ERROR are supposed to grab your attention as opposed to a simple "ok". -- nosy: +benjamin.peterson resolution: -> works for me status: open -> closed ___ Python track

[issue3693] Obscure array.array error message

2009-05-16 Thread Daniel Diniz
Daniel Diniz added the comment: FWIW, in trunk the message for unicode strings is the same: >>> array.array('b', u'fox') Traceback (most recent call last): File "", line 1, in TypeError: an integer is required -- nosy: +ajaksu2 priority: -> normal stage: -> test needed type: -> be

[issue3876] multiprocessing does not compile on systems which do not define sem_timedwait

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed versions: +Python 3.1 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list maili

[issue3877] test_fileio fails on OpenBSD 4.4

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Tests -Extension Modules priority: -> normal stage: -> patch review ___ Python tracker ___

[issue3948] readline steals sigwinch

2009-05-16 Thread Daniel Diniz
Daniel Diniz added the comment: See related(?) issue 3180. -- nosy: +ajaksu2 priority: -> normal stage: -> test needed versions: +Python 2.6 -Python 2.4 ___ Python tracker ___

[issue3949] curses' sigwinch handler isn't visible from python

2009-05-16 Thread Daniel Diniz
Daniel Diniz added the comment: Shish, Can you provide a short test script? I think this might also be related to issue 1687125. -- dependencies: +readline steals sigwinch nosy: +ajaksu2 priority: -> normal stage: -> test needed type: -> behavior versions: +Python 2.6 -Python 2.4 __

[issue4007] make clean fails to delete .a and .so.X.Y files

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- versions: +Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue4035] Support bytes for os.exec*()

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Library (Lib) priority: -> high type: -> feature request versions: +Python 3.1 -Python 3.0 ___ Python tracker ___ _

[issue4036] Support bytes for subprocess.Popen()

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Library (Lib) priority: -> high type: -> feature request versions: +Python 3.1 -Python 3.0 ___ Python tracker ___ _

[issue4080] pyunit - display time of each test case - patch

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Library (Lib), Tests -None nosy: +michael.foord priority: -> normal stage: -> test needed versions: +Python 2.7, Python 3.2 ___ Python tracker

[issue4126] remove not decodable environment variables

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +loewis priority: -> high versions: +Python 3.1 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-

[issue4144] 3 tutorial documentation errors

2009-05-16 Thread Daniel Diniz
Daniel Diniz added the comment: David, I hope others can understand your report, I get dizzy looking at it :) -- assignee: -> georg.brandl components: +Documentation nosy: +ajaksu2, georg.brandl priority: -> normal type: -> behavior versions: +Python 3.1 -Python 3.0

[issue5980] Add bug tracker tasks to PEP 101

2009-05-16 Thread Daniel Diniz
Daniel Diniz added the comment: We sure could have helpers for updating RFEs and bugs to correct versions. They could be scripts for bulk updating and/or per-issue UI shortcuts for Developers. I'll open a meta-tracker RFE for this. Correcting user reports and requests is also possible, but I'd

[issue6038] Should collections.Counter check for int?

2009-05-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: No thanks. I'm happy with the API as-is. It is a consenting adult tool, simply a dictionary that automatically fills-in missing values with zero. There's no reason to slow it down to a crawl with integer checks at every step. Besides, there are some vali

[issue3489] add rotate{left,right} methods to bytearray

2009-05-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: Am -1 on this. Rotating byte arrays has very few use cases and the ones it does have can typically be met by indexing. -- nosy: +rhettinger ___ Python tracker _

[issue2690] Precompute range length

2009-05-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue6044] Exception message in int() when trying to convert a complex

2009-05-16 Thread aletornw
New submission from aletornw : Hi, I noticed that when trying to convert with the int() function a complex number the exception error says "use int(abs(z))". I think that insted it should say "use int(z.real)" because if I want to convert 1j**2 to int using the abs method, the result is 1 positiv

[issue6037] MutableSequence.__iadd__ should return self

2009-05-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur. Will fix. -- priority: -> critical versions: +Python 2.7, Python 3.0, Python 3.1 ___ Python tracker ___ _

[issue6042] Document and slightly simplify lnotab tracing

2009-05-16 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue1738179] help() can't find right source file

2009-05-16 Thread Senthil
Senthil added the comment: This is an invalid bug. python -m 'compileall' -d pdir actdir all the files in the actdir will be compiled and it will appear as though the files are getting compiled from pdir. That is the intended purpose of the -d switch, as I can see from the sourcecode and from

[issue3527] Py_WIN_WIDE_FILENAMES removal

2009-05-16 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Thanks, committed in r72698(trunk) and r72701(py3k). -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ _

[issue1738179] help() can't find right source file

2009-05-16 Thread Senthil
Changes by Senthil : -- stage: test needed -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue4856] Remove checks for win NT

2009-05-16 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue808164] socket.close() doesn't play well with __del__

2009-05-16 Thread test...@smail.ee
test...@smail.ee added the comment: The same is happened when you are trying to close pycurl handler at __del__ method. -- nosy: +test157 versions: +Python 2.5 -Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker

<    1   2