[issue3538] Docstring typos

2008-08-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Chester, please stop changing your user name and wasting our time. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3538 ___

[issue3535] zipfile has problem reading zip files over 2GB

2008-08-11 Thread alonwas
alonwas [EMAIL PROTECTED] added the comment: Hi, I'm using 2.5.2 (r252:60911), Thanks, Alon On Sun, 2008-08-10 at 17:51 +, Martin v. Löwis wrote: Martin v. Löwis [EMAIL PROTECTED] added the comment: What Python version exactly are you using? This might have been fixed in 2.5.2, with

[issue3537] dict creation failure causes crash

2008-08-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Applied and added test in r65637. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3537 ___

[issue3160] Building a Win32 binary installer crashes

2008-08-11 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Do you really need to know the encoding of the pre_install_script? Isn't it sufficient to open it in binary mode instead? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3160

[issue3134] shutil references undefined WindowsError symbol

2008-08-11 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Patch works under Windows. -- assignee: - pitrou priority: - high versions: +Python 2.6, Python 3.0 -Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3134

[issue3540] NotEmptyErrorError

2008-08-11 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi [EMAIL PROTECTED]: In the library reference of mailbox, NotEmptyError appears as NotEmptyErrorError. For exampe: http://docs.python.org/dev/3.0/library/mailbox.html#mailbox.NotEmptyErrorError -- assignee: georg.brandl components: Documentation

[issue3540] NotEmptyErrorError

2008-08-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, fixed in r65639. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3540 ___

[issue3160] Building a Win32 binary installer crashes

2008-08-11 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Ok, it's a little more complicated than that, because the pre-install-script must have its newlines converted, otherwise the installer refuses to run it. Here is a working patch. Viktor, do you want to give it a try? -- assignee: -

[issue3451] Asymptotically faster divmod and str(long)

2008-08-11 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: Indeed, that seems to be much faster. In the mean time, do you mind if I steal the code? :-) Not at all! I guess constant factors could well appear and/or disappear when recoding in C; it might well be worth trying to implement both methods

[issue3131] 2to3 can't find fixes_dir

2008-08-11 Thread Haoyu Bai
Haoyu Bai [EMAIL PROTECTED] added the comment: I tried the patch and it works well. Thanks Georgij! So, why the patch havn't merged into SVN? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3131 ___

[issue3139] bytearrays are not thread safe

2008-08-11 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: The last beta is arriving soon. We need to go ahead on this, or retarget it for 2.7/3.1. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3139 ___

[issue3541] bsddb memory leak on ubuntu

2008-08-11 Thread Kuang-che Wu
New submission from Kuang-che Wu [EMAIL PROTECTED]: On ubuntu, python 2.5.2. The memory usage of following program is increasing infinitly. There may be something leaking. However, it only consumes constant memory on windows (python 2.5.2). import bsddb d = bsddb.hashopen('a.db', 'c')

[issue1034053] unittest.py patch: add skipped test functionality

2008-08-11 Thread J. Pablo Fernández
J. Pablo Fernández [EMAIL PROTECTED] added the comment: Hello, The attached patch adds the skip functionality and tests to a very recent (yesterday) Python 3. It took me a few hours to apply the patch, change to Python 3 style, merge the tests into the current set of tests not doing a mess. I

[issue1034053] unittest.py patch: add skipped test functionality

2008-08-11 Thread J. Pablo Fernández
J. Pablo Fernández [EMAIL PROTECTED] added the comment: Oh, I forgot to upgrade versions to include Python 3.0 and to mention that I have to fix some other tests to work with the new TestCase. It's nothing serious, just doctests that where too dependent on the output of the TextTestRunner. As

[issue2821] unittest.py sys.exit error

2008-08-11 Thread J. Pablo Fernández
J. Pablo Fernández [EMAIL PROTECTED] added the comment: Shouldn't this be closed now? or is there anything pending to be solved? -- nosy: +pupeno ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2821

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2008-08-11 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: +pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1179 ___ ___ Python-bugs-list mailing list

[issue3270] test_multiprocessing: test_listener_client flakiness

2008-08-11 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: I've removed the fqdn call per the patch as of r65641 Lowering this to an enhancement to consider the removal of the 0.0.0.0 functionality -- priority: high - normal type: - feature request ___

[issue3542] Building an MSI installer crashes

2008-08-11 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: msilib hasn't been updated for py3k, consequently bdist_msi fails. The provided patch fixes it, but encoding issues are not worked out (in my tests, selecting an utf-8 codepage produces unrecognized msi files). -- components: Library

[issue3134] shutil references undefined WindowsError symbol

2008-08-11 Thread Raghuram Devarakonda
Raghuram Devarakonda [EMAIL PROTECTED] added the comment: Patch works under Windows. Thanks. Can you please commit the change? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3134 ___

[issue2235] __eq__ / __hash__ check doesn't take inheritance into account

2008-08-11 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Py3k warnings for this have been checked in on the trunk as r65642. There's an unfortunate problem with having to define a fixed stack level for the warnings - for classes with a metaclass implemented in Python, the warning message will point to

[issue2235] __eq__ / __hash__ check doesn't take inheritance into account

2008-08-11 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: I still intend to do the necessary documentation updates for this, but they're going to be delayed a bit since getting the warnings right took much longer than I expected. ___ Python tracker [EMAIL PROTECTED]

[issue3134] shutil references undefined WindowsError symbol

2008-08-11 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Fixed in r65644. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3134 ___

[issue1545] shutil fails when copying to NTFS in Linux

2008-08-11 Thread Raghuram Devarakonda
Raghuram Devarakonda [EMAIL PROTECTED] added the comment: WindowsError issue is now fixed in r65644. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1545 ___ ___

[issue3535] zipfile has problem reading zip files over 2GB

2008-08-11 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Do you have a public URL for such a zip file? -- nosy: +pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3535 ___

[issue3530] ast.NodeTransformer bug

2008-08-11 Thread Georg Brandl
Changes by Georg Brandl [EMAIL PROTECTED]: -- nosy: +aronacher, georg.brandl ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3530 ___ ___

[issue3419] multiprocessing module is racy

2008-08-11 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Hey Mark - I took a look at the mp_nohang patch you added - and you're right, the connection refused error numbers are different from platform to platform. So rather than use a static list, I switched the code to use the errno module. Can you

[issue3139] bytearrays are not thread safe

2008-08-11 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: The last beta is arriving soon. We need to go ahead on this, or retarget it for 2.7/3.1. I'll look into it tomorrow. Regards, Martin ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3139

[issue3542] Building an MSI installer crashes

2008-08-11 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- assignee: - loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3542 ___ ___ Python-bugs-list

[issue2394] [Py3k] Finish the memoryview object implementation

2008-08-11 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: +pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2394 ___ ___ Python-bugs-list mailing list

[issue3543] ctypes works on Intel OS X, fails on PPC OS X

2008-08-11 Thread Bill Janssen
New submission from Bill Janssen [EMAIL PROTECTED]: Hi, I'm having more problems with ctypes.util.find_library. On my Intel box, this works fine: % python Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type help, copyright, credits or license

[issue3383] ctypes.util fails to find libc in some environments

2008-08-11 Thread Jean-Paul Calderone
Jean-Paul Calderone [EMAIL PROTECTED] added the comment: Any chance of getting this fixed? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3383 ___ ___

[issue3419] multiprocessing module is racy

2008-08-11 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: So rather than use a static list, I switched the code to use the errno module. Yup. That's definitely a better solution. Your patch fixed the problem for me. Thanks! ___ Python tracker [EMAIL

[issue3419] multiprocessing module is racy

2008-08-11 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Thanks Mark, I've checked in the connection refused fix in r65645 on trunk ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3419 ___

[issue3419] multiprocessing module is racy

2008-08-11 Thread Jesse Noller
Changes by Jesse Noller [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11038/mp_nohang.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3419 ___

[issue3383] ctypes.util fails to find libc in some environments

2008-08-11 Thread Thomas Heller
Thomas Heller [EMAIL PROTECTED] added the comment: Well, I have no idea what the standard setup on posix boxes is - should objdump and ldconfig be on $PATH or not? Regarding the groups in the regexp: It is my understanding that the parens do not matter because .group(0) is returned, which

[issue3270] test_multiprocessing: test_listener_client flakiness

2008-08-11 Thread Trent Nelson
Trent Nelson [EMAIL PROTECTED] added the comment: I can confirm the patch works in Windows. Regarding the 0.0.0.0 issue, perhaps we can compromise on something like this: % svn diff connection.py Index: connection.py === ---

[issue3270] test_multiprocessing: test_listener_client flakiness

2008-08-11 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Le lundi 11 août 2008 à 19:58 +, Trent Nelson a écrit : +if self._address[0] == '0.0.0.0': +self._address[0] = '127.0.0.1' Please no. If the user asks for 0.0.0.0, either obey or raise an exception, but do not

[issue3544] expection typo

2008-08-11 Thread endolith
New submission from endolith [EMAIL PROTECTED]: http://docs.python.org/lib/typecontextmanager.html if any expection that occurred should be suppressed -- assignee: georg.brandl components: Documentation messages: 71035 nosy: endolith, georg.brandl severity: normal status: open title:

[issue3514] pickle segfault with infinite loop in __getattr__

2008-08-11 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: Good find Alexandre! Can you work up a patch? Would be even better if it had a unittest. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3514 ___

[issue2389] Array pickling exposes internal memory representation of elements

2008-08-11 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: Wouldn't that be lots and lots slower? I believe speed is one of the reasons why the binary representation is currently dumped. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2389

[issue3362] locale.getpreferredencoding() gives bus error on Mac OS X 10.4.11 PPC

2008-08-11 Thread cfr
cfr [EMAIL PROTECTED] added the comment: I admit to not understanding the code involved, but I *thought* that the problem involved cases where there *is* a preferred encoding in the environment but it is not one of those covered by: case kCFStringEncodingMacRoman: return mac-roman; case

[issue1432] Strange behavior of urlparse.urljoin

2008-08-11 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: Hi Facundo, I think, we can go ahead and commit the changes. Got a response in Web-SIG that,previous RFC2396 listed behavior is invalid (in a practical sense) and the current patch fixes it. ___ Python tracker

[issue2275] urllib2 header capitalization

2008-08-11 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: Facundo, Shall we go ahead with committing these changes? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2275 ___

[issue3543] ctypes works on Intel OS X, fails on PPC OS X

2008-08-11 Thread Bill Janssen
Bill Janssen [EMAIL PROTECTED] added the comment: Caused by setting DYLD_FALLBACK_LIBRARY_PATH badly on the PPC machine. -- resolution: - invalid status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3543

[issue3300] urllib.quote and unquote - Unicode issues

2008-08-11 Thread Bill Janssen
Bill Janssen [EMAIL PROTECTED] added the comment: On Sat, Aug 9, 2008 at 11:34 AM, Matt Giuca [EMAIL PROTECTED] wrote: Matt Giuca [EMAIL PROTECTED] added the comment: Bill, I had a look at your patch. I see you've decided to make quote_as_string the default? In that case, I don't know why

[issue3300] urllib.quote and unquote - Unicode issues

2008-08-11 Thread Bill Janssen
Changes by Bill Janssen [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11101/unnamed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3300 ___ ___

[issue3300] urllib.quote and unquote - Unicode issues

2008-08-11 Thread Bill Janssen
Bill Janssen [EMAIL PROTECTED] added the comment: Some interesting notes here (from Erik van der Poel at Google; Guido, you might want to stroll over to his location and talk with him): http://lists.w3.org/Archives/Public/www-international/2007JanMar/0004.html and more particularly

[issue2389] Array pickling exposes internal memory representation of elements

2008-08-11 Thread Alexandre Vassalotti
Alexandre Vassalotti [EMAIL PROTECTED] added the comment: The slowdown depends of the array type. The patch makes array unpickling a few orders of magnitude slower (i.e. between 4 and 15 times slower depending of the array type). In general, pickling is about as fast as with the binary