[issue1222] locale.format bug if thousand separator is space (french separator as example)

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: The space removal was there before my change; assigning to Martin. -- assignee: - loewis __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1222 __

[issue1682] Move Demo/classes/Rat.py to Lib/rational.py and fix it up.

2008-01-19 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: I coulda sworn I looked for is_nan and is_infinite. Oh well, switched to using .is_finite, which is even better and checked in as r60068. Thanks for the pointer. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1682

[issue487738] weaklist

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: No news after two years and a half. Considering the arguments of Raymond after S. Kochen brought the issue back up, I'd close the patch as rejected. Feel free to bring this issue to python-dev, and if there's real need, we can always open the patch back.

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2008-01-19 Thread Jonathan Share
Jonathan Share added the comment: Martin, I can almost agree with you _if_ I was setting the Content-Transfer- Encoding myself, however I am not. I am setting the charset and the library chooses an appropriate Content-Transfer-Encoding to represent the mime part with. Currently I can't see

[issue602245] os.popen() negative error code IOError

2008-01-19 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven added the comment: Current output on XP with 2.5.1: D:\test.py Traceback (most recent call last): File D:\test.py, line 12, in module r.close() IOError: [Errno 0] Error Traceback (most recent call last): File D:\test.py, line 20, in module r.close()

[issue616247] More documentation for the imp module

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: If those two are obsolete, we may add a DeprecationWarning in 2.6 and hide/remove them in 2.7. What do you think? -- nosy: +facundobatista Tracker [EMAIL PROTECTED] http://bugs.python.org/issue616247

[issue1870] bug tracker exception, when searching for creator

2008-01-19 Thread ThurnerRupert
New submission from ThurnerRupert: filling out creator gives the following traceback: Traceback (most recent call last): File /home/roundup/roundup-production//lib/python2.4/site- packages/roundup/cgi/client.py, line 770, in renderContext result = pt.render(self, None, None, **args)

[issue1870] bug tracker exception, when searching for creator

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Note that this only happens when the user does not exist. It's a bug nevertheless. -- nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1870 __

[issue1870] bug tracker exception, when searching for creator

2008-01-19 Thread Georg Brandl
Changes by Georg Brandl: -- status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1870 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1870] bug tracker exception, when searching for creator

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: (for reference: http://psf.upfronthosting.co.za/roundup/meta/issue179) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1870 __ ___

[issue1871] help fix memory usage or leak - edgewall trac 0.11 blocked ...

2008-01-19 Thread ThurnerRupert
New submission from ThurnerRupert: how could one find a memory problem in python. edgewall trac 0.11 seems blocked for such a problem, where nobody had a really helpful idea for nearly three weeks. see http://groups.google.com/group/trac- dev/browse_thread/thread/116e519da54f16b. --

[issue602245] os.popen() negative error code IOError

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: os.popen* are deprecated, we should use subprocess now... could you please try what happens with this alternate example I'm attaching? Thank you! -- nosy: +facundobatista Tracker [EMAIL PROTECTED]

[issue602245] os.popen() negative error code IOError

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: Boo, I forgot the attach, :p Added file: http://bugs.python.org/file9213/using_subprocess.py Tracker [EMAIL PROTECTED] http://bugs.python.org/issue602245

[issue602245] os.popen() negative error code IOError

2008-01-19 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven added the comment: Using Facundo's attachment: D:\using_subprocess.py D:\ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue602245 ___

[issue1871] help fix memory usage or leak - edgewall trac 0.11 blocked ...

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: You should take the problem to the general Python mailing list. Sorry, but the bug tracker is the wrong place. Some hints: Do you have classes with a __del__ method which may create reference cycles? The GC can't break cycles when a __del__ method is

[issue602245] os.popen() negative error code IOError

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: Great! So it's fixed, :) -- resolution: - out of date status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue602245

[issue1621] Do not assume signed integer overflow behavior

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: Crashes ain't good ;) I suggest that you chance only a small portion of files at a time, then make ./python Lib/test/regrtest.py. Start with the Parser, then move over to AST and the rest of Python/. You may have to remove all pyc and pyo files if you

[issue1822] email.mime.multipart.MIMEMultipart.is_multipart() returns false before items have been added.

2008-01-19 Thread Jonathan Share
Jonathan Share added the comment: Attaching a patch for the quick fix I proposed below. I would still like to see some feedback regarding making the design of the mime module more object oriented. email.Message really shouldn't be making assumtions about how subclasses represent their state.

[issue1822] email.mime.multipart.MIMEMultipart.is_multipart() returns false before items have been added.

2008-01-19 Thread Jonathan Share
Changes by Jonathan Share: -- nosy: +facundobatista __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1822 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: Please provide an unit test which verifies the bug and a fix for the bug. -- nosy: +tiran priority: - low __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1823 __

[issue1621] Do not assume signed integer overflow behavior

2008-01-19 Thread Christian Heimes
Changes by Christian Heimes: -- priority: - high __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1621 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1822] email.mime.multipart.MIMEMultipart.is_multipart() returns false before items have been added.

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: Fixed in r60073. Regarding the flag, you're right: maybe these classes should deal it in other way... but maybe there're reasons to do this. If you want to push a better structure for this flag, feel free to raise the issue in python-dev. Anyway, the real

[issue632323] Tkinter: BitmapImage vanishes if not stored in non-local var

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: Martin: I'll close this as it's marked as invalid, and nobody answered since two years ago. If you think that your first patch is a good solution (Fredrik agreed, good enough for me). If you want, reopen the bug and assign it to me, and I'll apply it and

[issue1266] segfault in curses when calling redrawwin() before refresh()

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: The C program does crash, but newwin() is returning NULL and the code should really be checking for this case. When I try the Python script with 2.5-maint and 2.6-trunk, I get the error: [EMAIL PROTECTED]:~/source/p/25$ ./python.exe ../python/curses-01.py

[issue1332] threading.RLock().aquire(0) fails with python-2.5.1.amd64.msi

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: The problem was fixed and the OP suggested to close the bug. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1332 __

[issue1720705] thread + import = crashes?

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: Follow up: Can somebody please document the possible issue with threads and imports in large, friendly letters? -- components: +Documentation -None _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1720705

[issue1720705] thread + import = crashes?

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: For 2.6 I've fixed several places where C code was importing a Python module in a non-threadsafe way. In general a thread start must never be caused by an import and only the main thread should import modules. Imports within or caused-by a thread other than

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: The last patch (exception_pickling_26.diff) applies cleanly, and all the tests run ok. System: Python 2.6a0 (trunk:60073M, Jan 19 2008, 11:41:33) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 -- nosy: +facundobatista

[issue1868] threading.local doesn't free attrs when assigning thread exits

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: I've added a test in r60075. It shows that threading.local cleans up thread local data except for the last stopped thread. -- nosy: +tiran __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1868

[issue818065] mailbox._Subfile readline() bug

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: I guess this bug report is out of date: mailbox.py doesn't seem to contain a _Subfile class, the ProxyFile.readline() function is one line, and there's no self.pos variable either. Probably 2.5's rewrite of the module removed this code. -- resolution:

[issue1759997] poll() on cygwin sometimes fails [PATCH]

2008-01-19 Thread Zooko O'Whielacronx
Zooko O'Whielacronx added the comment: This bug was fixed in cygwin 1.5.25-7, released 2007-12-17. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1759997 _ ___

[issue1746071] class mutex doesn't do anything atomically

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: Making the mutex module thread safe is a low hanging fruit for the bug day. *wink* -- keywords: +easy nosy: +tiran versions: +Python 2.6 -Python 2.5 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1746071

[issue1779233] PyThreadState_SetAsyncExc and the main thread

2008-01-19 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - theller nosy: +theller _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1779233 _ ___ Python-bugs-list mailing list

[issue1035] bytes buffer API needs to support read locking and/or PyBUF_LOCKDATA

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: *ping* Can this issue be closed? -- nosy: +tiran resolution: - fixed status: open - pending __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1035 __

[issue1432694] Implement preemptive threads in Python

2008-01-19 Thread Christian Heimes
Changes by Christian Heimes: -- status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1432694 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue705836] struct.pack of floats in non-native endian order

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: A lot of water passed around this bridge, but I don't know if this is fixed: In the trunk right, now: v = 7.0 + .1 + .1 + .1 + .1 + .1 + .1 + .1 + .1 + .1 + .1 v 7.9964 p = struct.pack( f, v ) p 'A\x00\x00\x00' struct.unpack(f, p) (8.0,)

[issue774221] 2.3c1: zipfile.py confused by garbage at the very end of zip

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: I searched for references to 'zip file concatenate|append' and found no reference to extra data being ignored, so I'll agree with Alan and close this patch. Thanks for your contribution, anyway! -- resolution: - rejected status: open - closed

[issue1598083] Top-level exception handler writes to stdout unsafely

2008-01-19 Thread Lorenzo Stoakes
Lorenzo Stoakes added the comment: Surely it's not a good idea to attempt to generate an exception within an exception handler, couldn't this lead to an infinite loop scenario? The checks prior to fputs() handle any errors by calling err_closed() and returning -1. I suggest we do the same for

[issue1146] TextWrap vs words 1-character shorter than the width

2008-01-19 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: As i revisited this one for the Bug Day, I found I could optimize the patch a little bit. Here's the updated diff. Also... I think it's a good candidate for 2.5 maintenance release. Any thoughts ? Added file:

[issue1306] Embedded python reinitialization

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: Right, the Python bug tracker is not the place to report Stackless bugs. But my tests have revealed a bug in Python 3.0. As today multiple reinitialization still fails. I suspect a reference bug but I can't proof it. -- assignee: gvanrossum -

[issue1175933] threading.Condition.wait() return value indicates timeout

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: Another bug day task. -- keywords: +easy nosy: +tiran type: - rfe versions: +Python 2.6 -Python 2.4 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1175933 _

[issue1175194] import statement likely to crash if module launches threads

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: Don't spawn new threads at module level. An import must never trigger the creation of a new thread. It's a design issue on your side. But you can blame us for not documenting the issues with imports and threads. ;) -- components: +Documentation nosy:

[issue1503789] Cannot write source code in UTF16

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: I turned it into a feature request for 2.6 with low priority. Somebody should either fix/implement the UTF-16 support or update the docs. -- components: +Documentation nosy: +tiran priority: normal - low type: - rfe versions: +Python 2.6 -Python 2.4

[issue1657] [patch] epoll and kqueue wrappers for the select module

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: Can somebody else review the patch? therve from the Twisted team has reviewed it but I like to get an opinion of another core developer. Guido seems to be too busy. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657

[issue1675533] setup.py LDFLAGS regexp is wrong

2008-01-19 Thread John Lenton
John Lenton added the comment: This was fixed in r57389 by georg.brandl by changing the replacement string '' to ' ' (turning the option into a non-option). Steps to reproduce this on Ubuntu Feisty, before that revision, were: $ mkdir banana $ sudo mv /usr/include/sqlite3.h banana/ $ make clean

[issue886488] WinPython 2.3.3 crashes using popen2 to spawn lots of child

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: An easy C task for the bug day. -- components: +Interpreter Core keywords: +easy type: - crash Tracker [EMAIL PROTECTED] http://bugs.python.org/issue886488

[issue1792] o(n*n) marshal.dumps performance for largish objects with patch

2008-01-19 Thread Christian Heimes
Christian Heimes added the comment: Yet another easy C task for the bug day. -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1792 __ ___

[issue1779] int(- 1) is valud, but float(- 1) isn't. Which is right?

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: Only left the version 3.0, as the OP said it's not so important as to break possible previous working code. -- nosy: +facundobatista versions: -Python 2.4, Python 2.5, Python 2.6 __ Tracker [EMAIL PROTECTED]

[issue1693149] patch to make 'trace.py --ignore-module' accept module name list.

2008-01-19 Thread Jaroslav Pachola
Jaroslav Pachola added the comment: The patch works fine for me. -- nosy: +jarpa severity: - normal _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1693149 _ ___

[issue1868] threading.local doesn't free attrs when assigning thread exits

2008-01-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: On the opposite, simply evaluating local.__dict__ just before deadlist = ..., frees the last value. Weird? I found that in threadmodule.c, the local object has a self-dict attribute, which contains the last used dictionary. The dictionaries switch

[issue1675533] setup.py LDFLAGS regexp is wrong

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: Yes, not it works ok! Thanks John for the testing example, and Carson for the report. -- nosy: +facundobatista resolution: - out of date status: open - closed _ Tracker [EMAIL PROTECTED]

[issue1675533] setup.py LDFLAGS regexp is wrong

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: Bloody fingers. I meant that *now it works ok. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1675533 _ ___ Python-bugs-list mailing

[issue1714] ConfigParser.py do not allow leading (and trailing) space in values.

2008-01-19 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles added the comment: Attached patch contain the added behavior, some unit tests to validate it and updated documentation. -- nosy: +quentin.gallet-gilles Added file: http://bugs.python.org/file9217/cfgparser_doublequotes.patch __

[issue1872] change the bool struct format code from 't' to '?'

2008-01-19 Thread Thomas Heller
New submission from Thomas Heller: Currently the struct module uses the format code 't' for the bool datatype (this was added in python 2.6, in revision 53508). This conflicts with the specification in PEP 3118, which proposes the '?' format character for the bool type, 't' is proposed in the

[issue1872] change the bool struct format code from 't' to '?'

2008-01-19 Thread Thomas Heller
Changes by Thomas Heller: -- components: +Documentation __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1872 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2008-01-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: You're right that this should probably be fixed in the subclass, but you also have to remember that the parser generally doesn't create subclass instances. It only creates instances of Message. As long as you can make it work properly with the parser and

[issue1873] threading.Thread.join() description could be more explicit

2008-01-19 Thread Roy Smith
New submission from Roy Smith: At http://docs.python.org/lib/thread-objects.html, under join(), it says: As join() always returns None, you must call isAlive() to decide whether a timeout happened. This would be better if it were more explicit, i.e. As join() always returns None, you must

[issue742598] SocketServer timeout, zombies

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: Committed to Python 2.6 in rev. 60080. Thanks for your contribution! Whenever you find time, it would be nice if you could sign and submit a Python contributor agreement; please see http://www.python.org/psf/contrib/ for the forms. -- resolution: -

[issue1873] threading.Thread.join() description could be more explicit

2008-01-19 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - georg.brandl keywords: +easy nosy: +georg.brandl priority: - low versions: +Python 2.6 -Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1873 __

[issue1598083] Top-level exception handler writes to stdout unsafely

2008-01-19 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: The attached patch doesn't fix the issue I described: * err_closed() will raise an exception indicated the file is closed. However, the file is not necessarily closed, so this exception is wrong. * Most or all PyFile_WriteString callers are still not

[issue1204] readline configuration for shared libs w/o curses dependencies

2008-01-19 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Build priority: - normal versions: +Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1204 __ ___ Python-bugs-list

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2008-01-19 Thread Jonathan Share
Jonathan Share added the comment: I'm beginning to realise this is slightly bigger than I first thought ;-) Trying to make a nice test case for this issue, I thought it would be a good idea for the parser to register a defect for invalid content- transfer-encoding so I can test against that

[issue976880] mmap needs a rfind method

2008-01-19 Thread John Lenton
John Lenton added the comment: Attached patch adds two things: an 'end' argument to find, and an 'rfind' method. This includes minimal tests for rfind, but as I actually refactored find and rfind into a single method, tests covering find also cover most of rfind :). I added 'end' first because

[issue1779] int(- 1) is valud, but float(- 1) isn't. Which is right?

2008-01-19 Thread Juan José Conti
Juan José Conti added the comment: This is my first patch. Bug fix on revision 60076. -- nosy: +jjconti Added file: http://bugs.python.org/file9220/bug_fix_for_1779.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1779

[issue1679] tokenizer permits invalid hex integer

2008-01-19 Thread Malte Helmert
Malte Helmert added the comment: I can find three places where 0x is accepted, but probably shouldn't: 1. Python's tokenizer: 0x 0 0xL ValueError: invalid literal for long() with base 16: '0xL' = I think these should both be syntax errors. 2. int builtin: int(0x, 0) == int(0x, 16) == 0 True

[issue1679] tokenizer permits invalid hex integer

2008-01-19 Thread Malte Helmert
Malte Helmert added the comment: Here's a patch that fixes case 1: 0x File stdin, line 1 0x ^ SyntaxError: invalid token 0xL File stdin, line 1 0xL ^ SyntaxError: invalid token Added file: http://bugs.python.org/file9221/PATCH-1.diff __

[issue1679] tokenizer permits invalid hex integer

2008-01-19 Thread Malte Helmert
Malte Helmert added the comment: And here's a patch that fixes case 3. Added file: http://bugs.python.org/file9222/PATCH-3.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1679 __

[issue976880] mmap needs a rfind method

2008-01-19 Thread John Lenton
John Lenton added the comment: New patch, with small change after being reviewed by amk. Still against revision 60082. Added file: http://bugs.python.org/file9223/mmap.rfind.patch Tracker [EMAIL PROTECTED] http://bugs.python.org/issue976880

[issue1598083] Top-level exception handler writes to stdout unsafely

2008-01-19 Thread Lorenzo Stoakes
Lorenzo Stoakes added the comment: Ok, thankyou for your feedback, I will take another look at it. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1598083 _ ___

[issue1679] tokenizer permits invalid hex integer

2008-01-19 Thread Malte Helmert
Malte Helmert added the comment: And here's a patch for case 2 (int) conversion. There is still a slight inconsistency in error reporting (base 0 vs. base 16) between int and long, but I'd see this as long's fault: int(0x, 0) Traceback (most recent call last): File stdin, line 1, in module

[issue1873] threading.Thread.join() description could be more explicit

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Committed r60083. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1873 __ ___

[issue1868] threading.local doesn't free attrs when assigning thread exits

2008-01-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Here is a patch that removes the member localobject-dict. Now the dictionary is always retrieved from the thread state. Added file: http://bugs.python.org/file9225/threading_local.patch __ Tracker [EMAIL PROTECTED]

[issue1679] tokenizer permits invalid hex integer

2008-01-19 Thread Malte Helmert
Malte Helmert added the comment: This is a cleaner version of PATCH-2a.diff in the sense that the resulting code contains less duplication. The disadvantage is that it applies more structural changes to PyOS_strtoul, so may be harder to merge with other changes. Added file:

[issue976880] mmap needs a rfind method

2008-01-19 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- assignee: - akuchling Tracker [EMAIL PROTECTED] http://bugs.python.org/issue976880 ___ Python-bugs-list mailing list Unsubscribe:

[issue1782] PyModule_AddIntConstant and PyModule_AddStringConstant can leak

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Committed in r60084. -- nosy: +georg.brandl resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1782 __

[issue976880] mmap needs a rfind method

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: Committed to the 2.6 trunk in rev. 60086. Thanks for your contribution! Please sign and send in a contributor form whenever you have time; the forms are at http://www.python.org/psf/contrib/ . Tracker [EMAIL PROTECTED]

[issue976880] mmap needs a rfind method

2008-01-19 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +patch resolution: - accepted status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue976880 ___

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2008-01-19 Thread Jonathan Share
Jonathan Share added the comment: Run out of time to look at this today. In order to write a nice test case for this issue I need the parser to notice this error in messages. I've filed issue1874 for the parser not reporting the invalid cte in the msg.defects

[issue1035] bytes buffer API needs to support read locking and/or PyBUF_LOCKDATA

2008-01-19 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- status: pending - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1035 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1779] int(- 1) is valud, but float(- 1) isn't. Which is right?

2008-01-19 Thread Juan José Conti
Juan José Conti added the comment: The same patch as before plus tests. Added file: http://bugs.python.org/file9228/bug_fix_for_1779-plustests.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1779 __

[issue1693149] patch to make 'trace.py --ignore-module' accept module name list.

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: Applied in r60087, with some change added in the help of the trace.py. Thank you! -- nosy: +facundobatista resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1693149

[issue1679] tokenizer permits invalid hex integer

2008-01-19 Thread Malte Helmert
Malte Helmert added the comment: Added tests to test_grammar, test_builtin and test_tokenize. Added file: http://bugs.python.org/file9229/PATCH-TESTS.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1679 __

[issue1411695] XML.sax.saxutils.escape -- always escapes , , ,

2008-01-19 Thread Ryan Freckleton
Ryan Freckleton added the comment: I've included a unified diff that explicitly states the behavior of , , and for escape/unescape in the documentation. It's based on msandler's patch. -- nosy: +ryan.freckleton Added file: http://bugs.python.org/file9230/sax_utils_rst.patch

[issue1411695] XML.sax.saxutils.escape -- always escapes , , ,

2008-01-19 Thread Ryan Freckleton
Changes by Ryan Freckleton: -- components: +Documentation versions: +Python 2.6 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1411695 _ ___ Python-bugs-list

[issue1875] if 0: return not raising SyntaxError

2008-01-19 Thread Armin Rigo
New submission from Armin Rigo: Can you guess why importing the attached x.py does nothing, without printing hello at all? The real issue shown in that example is that 'return' and 'yield' outside a function are ignored instead of giving a SyntaxError if they are optimized away by 'if 0:'.

[issue1875] if 0: return not raising SyntaxError

2008-01-19 Thread Maciek Fijalkowski
Changes by Maciek Fijalkowski: -- nosy: +cfbolz, fijal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1875 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1874] email parser does not register a defect for invalid Content-Transfer-Encoding on multipart messages

2008-01-19 Thread Jonathan Share
New submission from Jonathan Share: Although the documentation of FeedParser states that It will populate a message object's defects attribute with a list of any problems it found in a message. no defect is found in the test case I am about to upload. The message in the test case is broken

[issue1874] email parser does not register a defect for invalid Content-Transfer-Encoding on multipart messages

2008-01-19 Thread Jonathan Share
Changes by Jonathan Share: Added file: http://bugs.python.org/file9227/issue1874.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1874 __ ___ Python-bugs-list mailing list

[issue1779] int(- 1) is valud, but float(- 1) isn't. Which is right?

2008-01-19 Thread Facundo Batista
Facundo Batista added the comment: Fixed in r60090. Thanks Juanjo for your contribution! Please sign and send in a contributor form whenever you have time; the forms are at http://www.python.org/psf/contrib/ . -- resolution: - fixed status: open - closed

[issue1509] Documentation lacking for the sqlite3 module.

2008-01-19 Thread Jaroslav Pachola
Jaroslav Pachola added the comment: Attaching a patch that adds fetchXXX() description to the documentation for Python 2.6. -- nosy: +jarpa versions: +Python 2.6 Added file: http://bugs.python.org/file9232/sqlite3_docs_26.diff __ Tracker [EMAIL

[issue1679] tokenizer permits invalid hex integer

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Committed patches 1, 2a and 3, and test suite updates, in r60092. This won't be backported to 2.5, and no doc changes are necessary. Thanks for your work! -- nosy: +georg.brandl __ Tracker [EMAIL PROTECTED]

[issue1862] Error on Save As in IDLE (Vista 32-bit)

2008-01-19 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: IDLE creates the .idlerc folder if needed. It seems it should be marked as not hidden. Does anyone know how to do that? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1862 __

[issue1509] Documentation lacking for the sqlite3 module.

2008-01-19 Thread Jaroslav Pachola
Jaroslav Pachola added the comment: Attaching a patch that fixes the docstrings for Python 2.6. Added file: http://bugs.python.org/file9233/sqlite3_docstrings_26.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1509

[issue1146] TextWrap vs words 1-character shorter than the width

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the patches, committed in r60093! -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1146 __

[issue1657] [patch] epoll and kqueue wrappers for the select module

2008-01-19 Thread Guido van Rossum
Guido van Rossum added the comment: Still haven't had the time (sorry!), but one comment: please don't specify timeouts in millisecond. We use seconds (floats if necessary) everywhere else in Python, regardless of the underlying data structure or resolution. __

[issue1679] tokenizer permits invalid hex integer

2008-01-19 Thread Georg Brandl
Changes by Georg Brandl: -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1679 __ ___ Python-bugs-list mailing list

[issue1298962] MSI installer does not pass values as SecureProperty from UI

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: There seems to be a related log at #1565468. -- nosy: +georg.brandl _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1298962 _ ___

[issue1277] mailbox.Maildir: factory not used

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: I think the required patch is much simpler; only get_message() needs to be updated. I've committed this change to trunk as rev60095, and to release25-maint as rev. 60096. -- resolution: - fixed status: open - closed __

[issue1663329] subprocess/popen close_fds perform poor if SC_OPEN_MAX is hi

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Reviewed and committed patch as r60097. Thanks for your work! -- assignee: gvanrossum - georg.brandl nosy: +georg.brandl resolution: - accepted status: open - closed _ Tracker [EMAIL PROTECTED]

[issue1124] Webchecker not parsing css @import url

2008-01-19 Thread Georg Brandl
Changes by Georg Brandl: -- status: pending - open type: - rfe versions: +Python 2.6, Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1124 __ ___

  1   2   >