[issue1939] code object docstring obsolete

2008-01-25 Thread Antoine Pitrou
New submission from Antoine Pitrou: The docstring for the code object mentions an obsolete signature which misses the `kwonlyargcount` parameter. Here is a patch. -- components: Interpreter Core files: codedoc.patch messages: 61699 nosy: pitrou severity: minor status: open title: code ob

[issue1938] test_zipfile failure

2008-01-25 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': Python 2.6.13903.msi, windows XP sp2: == ERROR: testExtract (__main__.TestsWithSourceFile) -- Traceback (most recent cal

[issue1933] os.path.isabs documentation error

2008-01-25 Thread Mark Dickinson
Changes by Mark Dickinson: -- resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing li

[issue1935] test_descr.py converted to unittest

2008-01-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: And here is the version for py3k! I also removed a few duplicate tests or list items, introduced by unicode->str and long->int conversions. Added file: http://bugs.python.org/file9291/test_descr.py __ Tracker <[EMAIL PROTEC

[issue1935] test_descr.py converted to unittest

2008-01-25 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc: Added file: http://bugs.python.org/file9290/test_descr.py __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailin

[issue1935] test_descr.py converted to unittest

2008-01-25 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc: Removed file: http://bugs.python.org/file9289/test_descr.py __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mail

[issue1935] test_descr.py converted to unittest

2008-01-25 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc: This is test_descr.py converted to unittest. The diff is so large that svn diff failed! "svn: Can't write to stream: Not enough space to process this command." Anyway, I started from trunk, rev 60301. The file is very large, and some functions have more

[issue874900] threading module can deadlock after fork

2008-01-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: (or perhaps we should provide an API to hook into PyOS_AfterFork) Tracker <[EMAIL PROTECTED]> ___ Python-bu

[issue1621] Do not assume signed integer overflow behavior

2008-01-25 Thread Neal Norwitz
Changes by Neal Norwitz: -- nosy: +nnorwitz __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1933] os.path.isabs documentation error

2008-01-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Sorry but I had problem with my browser and I submitted the report twice: http://bugs.python.org/issue1934 Could someone please close this one? __ Tracker <[EMAIL PROTECTED]> _

[issue874900] threading module can deadlock after fork

2008-01-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's not only the _active_limbo_lock. All global structures of the threading module should be reinitialized (including the _MainThread instance); for that purpose, reload() can be used. I attach an example which exercises this problem. Normally the script should

[issue1934] os.path.isabs documentation error

2008-01-25 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': The current os.path.isabs documentation says: > isabs(path) >Return True if path is an absolute pathname (begins with a slash). The "begins with a slash" part is incorrect since certain systems use a different pathname notation. For example, on Macin

[issue1933] os.path.isabs documentation error

2008-01-25 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': The current os.path.isabs documentation says: > isabs(path) >Return True if path is an absolute pathname (begins with a slash). The "begins with a slash" part is incorrect since certain systems use a different pathname notation. For example, on Macin

[issue1722225] Build on QNX 6

2008-01-25 Thread Matt Kraai
Matt Kraai added the comment: Regarding the curses issue, I removed that portion of the patch and the curses module still compiled. It must have been an artifact from before I disabled _XOPEN_SOURCE. Thanks for catching that. Regarding the stack size, without the "-N 2048K" option, "make test"

[issue1926] NNTPS support in nntplib

2008-01-25 Thread Ray Chason
Ray Chason added the comment: Here's take 2. The pre-patch NNTP class has a long and complicated constructor. Rather than duplicate this constructor in NNTP_SSL, the patch converts most of the NNTP class to a new class, NNTPBase, which takes an already-connected socket as a parameter. NNTP and

[issue784231] getopt_long_only()

2008-01-25 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: I see no chance of this being accepted now that optparse is entrenched. Please do reopen if some one thinks otherwise. -- nosy: +draghuram resolution: -> rejected status: open -> closed Tracker <[EMAIL PROTECT

[issue1607759] segfault in python24.dll

2008-01-25 Thread Guido van Rossum
Guido van Rossum added the comment: Without new information we can't really help with this, sorry. -- nosy: +gvanrossum resolution: -> rejected status: open -> closed _ Tracker <[EMAIL PROTECTED]> ___

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

2008-01-25 Thread Facundo Batista
Facundo Batista added the comment: Christian: you can not do that, as you *must* increase the size. Anyway, I think that is a good idea to not let it duplicate after some point. Which point? It's arbitrary. You suggested 512KB, but I think that is too low. *My* arbitrary point is, when the new

[issue1926] NNTPS support in nntplib

2008-01-25 Thread Bill Janssen
Bill Janssen added the comment: Sounds good. If you want to develop this with 2.5.1, you can get an API-compliant version of the SSL module for 2.5.1 from http://pypi.python.org/pypi/ssl/. __ Tracker <[EMAIL PROTECTED]>

[issue1926] NNTPS support in nntplib

2008-01-25 Thread Ray Chason
Ray Chason added the comment: OK, I got a copy of the Subversion sources and the new SSL library looks like just what is needed here. Examining the other protocol modules that already support SSL, I find these things: httplib has: HTTPConnection(host[, port[, strict[, timeout]]]) HTTPSConnectio

[issue784443] test_repr failure on m68k-linux

2008-01-25 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: Please reopen if the problem can be reproduced in 2.5 or later. -- resolution: -> out of date status: open -> closed Tracker <[EMAIL PROTECTED]> ___

[issue1631394] sre module has misleading docs

2008-01-25 Thread Tom Lynn
Tom Lynn added the comment: Thanks for fixing this. I now also note that (?<=...), (?http://bugs.python.org/file9284/undoc-patch.txt _ Tracker <[EMAIL PROTECTED]> _ _

[issue1720] VC6 build patch for release-maint25

2008-01-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Fix to build _bsddb module in Release mode. Added file: http://bugs.python.org/file9283/patch-for-release-maint25.zip __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1932] Cosmetic patch to supress compiler warning

2008-01-25 Thread Christian Heimes
Changes by Christian Heimes: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1929] httplib _read_chunked TypeError ||| i = line.find(";")

2008-01-25 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +easy priority: -> normal type: -> behavior __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list m

[issue1930] sys.maxint not found in Python 3.0a2

2008-01-25 Thread Christian Heimes
Christian Heimes added the comment: I've added a comment next to long -> int in r60280. Please note that Python 2.x doesn't run under 3.0. You have to port the code to 2.6 first, make arrangements and at last use the 2to3 tool. -- nosy: +tiran resolution: -> invalid status: open -> clo

[issue1931] NameError: global name 'basestring' is not defined

2008-01-25 Thread Christian Heimes
Christian Heimes added the comment: I've updated the whatsnew docs in r60279. -- nosy: +tiran priority: -> low resolution: -> invalid status: open -> pending __ Tracker <[EMAIL PROTECTED]> _

[issue1722225] Build on QNX 6

2008-01-25 Thread Vladimir Konjkov
Vladimir Konjkov added the comment: there is script Misk/find_recursionlimit.py that can help to find real recursion limit for QNX4 for one recursion used ~900 kb of stack thus 1Mb sufficient for default recursion limit = 1000. _ Tracker <[EMAIL PROTECTED]>

[issue1722225] Build on QNX 6

2008-01-25 Thread Vladimir Konjkov
Vladimir Konjkov added the comment: For _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED look this http://opengroup.org/onlinepubs/007908775/xcurses/implement.html _ Tracker <[EMAIL PROTECTED]>

[issue1722225] Build on QNX 6

2008-01-25 Thread Martin v. Löwis
Martin v. Löwis added the comment: I don't understand the ncurses issue: you already disable the definition of _XOPEN_SOURCE in the patch, hence _XOPEN_SOURCE_EXTENDED does not get defined, hence ncurses should not define wchar_t. So what's the actual problem that this fragment solves? As for std