[issue3341] Suggest a change link

2008-07-17 Thread anatoly techtonik
anatoly techtonik [EMAIL PROTECTED] added the comment: Any links to alpha code? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3341 ___ ___ Python-bugs-list

[issue3359] add 'rbU' mode to open()

2008-07-17 Thread anatoly techtonik
anatoly techtonik [EMAIL PROTECTED] added the comment: This behavior is inherited from the C-level fopen() and therefore normal text mode is whatever that defines. Is this really nowhere documented? Relation to fopen() function may be documented, but there is no explanation of what normal

[issue3390] [PATCH] replace last has_key in unittest by in operator

2008-07-17 Thread engelbert gruber
New submission from engelbert gruber [EMAIL PROTECTED]: take the line from python-3 -- components: Library (Lib) files: lib_unittest-r65058 messages: 69877 nosy: grubert severity: normal status: open title: [PATCH] replace last has_key in unittest by in operator type: behavior versions:

[issue874900] threading module can deadlock after fork

2008-07-17 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Selon Gregory P. Smith [EMAIL PROTECTED]: To answer Antoine Pitrou's question about using the old ident vs the new _get_ident(). I don't know if the forked process will have the same thread id. Then wouldn't it be safer to use

[issue3391] Idle uses old showwarning signature

2008-07-17 Thread Robert Schuppenies
New submission from Robert Schuppenies [EMAIL PROTECTED]: Idle does not use the 'line' argument for its showwarning function. This results in the DeprecationWarning functions overriding warnings.showwarning() must support the 'line' argument, or, when called from within Idle TypeError:

[issue3391] Idle uses old showwarning signature

2008-07-17 Thread Robert Schuppenies
Changes by Robert Schuppenies [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10927/verify.py ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3391 ___

[issue3392] subprocess fails in select when descriptors are large

2008-07-17 Thread Mattias Engdegård
New submission from Mattias Engdegård [EMAIL PROTECTED]: If the stdin/out file descriptors are too large to be used with select(), subprocess will fail in .communicate(). Example: # raise the fd limit to something like 2048 before running this import subprocess somefiles = [open(/etc/passwd)

[issue3377] Invalid child node access in ast.c

2008-07-17 Thread Jeremy Hylton
Changes by Jeremy Hylton [EMAIL PROTECTED]: -- assignee: - jhylton nosy: +jhylton ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3377 ___ ___

[issue3364] An ortographical typo in Zen of Python text

2008-07-17 Thread David Goodger
Changes by David Goodger [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10928/unnamed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3364 ___ ___

[issue3375] _multiprocessing.so build problems

2008-07-17 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: How about simply doing sys.path_importer_cache.clear() at the right point in setup.py? I don't think the performance loss would be overwhelming... -- nosy: +pitrou ___ Python tracker [EMAIL

[issue2690] Precompute range length

2008-07-17 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Has a resolution been made on this? -- nosy: +pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2690 ___

[issue2523] binary buffered reading is quadratic

2008-07-17 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: If nobody objects I'll commit Alexandre's patch in a few days (after beta 2 though). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2523 ___

[issue3375] _multiprocessing.so build problems

2008-07-17 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: I've checked in a fix (r65063) that simply clear sys.path_importer_cache right before the attempted import of the freshly-built extension. This seems to work. -- assignee: jnoller - gvanrossum resolution: - fixed status: open -

[issue3369] memory leak in floatobject.c

2008-07-17 Thread Mark Dickinson
Changes by Mark Dickinson [EMAIL PROTECTED]: -- assignee: - marketdickinson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3369 ___ ___

[issue3393] `cd Mac make installmacsubtree` fails on Mac OS X 10.5 because of r63955

2008-07-17 Thread Trent Mick
Trent Mick [EMAIL PROTECTED] added the comment: Similar change in Mac/IDLE/Makefile.in: - --- python/trunk/Mac/IDLE/Makefile.in (original) +++ python/trunk/Mac/IDLE/Makefile.in Thu Jun 5 14:58:24 2008 @@ -42,7 +42,7 @@

[issue3393] `cd Mac make installmacsubtree` fails on Mac OS X 10.5 because of r63955

2008-07-17 Thread Trent Mick
Trent Mick [EMAIL PROTECTED] added the comment: Alternative potential solution: use the ARCHPREFERENCE environment variable as described in the Mac OS X 10.5 arch man page. Ronald, if you could test if that works for you on 10.5, then presumably setting that environment var would be safely

[issue874900] threading module can deadlock after fork

2008-07-17 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: To add to ben's comment, under py3k the third test hangs, if you pull out the basic script code being executed in subprocess: if 1: import sys, os, time, threading # a thread, which waits for the main program to terminate

[issue874900] threading module can deadlock after fork

2008-07-17 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Ben commented out the hanging test, lowering this from a release blocker as the patch is on both trunk and 3k, and minus that third new test, test_threading and test_multiprocessing are both passing -- priority: release blocker -

[issue3088] test_multiprocessing hangs intermittently on POSIX platforms

2008-07-17 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Issue 874900's patch seems to have resolve the hangs. I am closing this issue as fixed. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue3379] Option to not-exit on test

2008-07-17 Thread J. Pablo Fernández
J. Pablo Fernández [EMAIL PROTECTED] added the comment: Added tests. Added file: http://bugs.python.org/file10929/add_avoid_exit_option.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3379 ___

[issue3382] Make '%F' and float.__format__('F') convert results to upper case.

2008-07-17 Thread Eric Smith
Eric Smith [EMAIL PROTECTED] added the comment: Implemented for trunk in r65069; for py3k in r65073. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3382

[issue3394] zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix

2008-07-17 Thread Stephen Warren
New submission from Stephen Warren [EMAIL PROTECTED]: Run the following Python script, on Unix/Linux: == import zipfile z = zipfile.ZipFile('zipbad.zip', 'w') z.writestr('filebad.txt', 'Some content') z.close() z = zipfile.ZipFile('zipgood.zip', 'w') zi =

[issue3394] zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix

2008-07-17 Thread Stephen Warren
Stephen Warren [EMAIL PROTECTED] added the comment: Oops. Forgot to set type field. -- type: - behavior ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3394 ___

[issue1432] Strange behavior of urlparse.urljoin

2008-07-17 Thread Roman Petrichev
Roman Petrichev [EMAIL PROTECTED] added the comment: Senthil, please read the RFC3986 text, not only examples. [Page 31] contains exact algorithm how to handle this case. --cut-- if (R.path == ) then T.path = Base.path; if defined(R.query) then T.query = R.query; else

[issue3382] Make '%F' and float.__format__('F') convert results to upper case.

2008-07-17 Thread Eric Smith
Eric Smith [EMAIL PROTECTED] added the comment: Changes backed out, pending fixing on Windows. -- resolution: accepted - status: closed - open ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3382

[issue3324] Broken link in online doc

2008-07-17 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I've backported the fix to the 2.5 branch. This will go live with the release of 2.5.3. For those who do not want to use the released documentation we do offer the 2.6 documentation under development under http://docs.python.org/dev -- it is

[issue3373] sys recursion limit a lot shorter on trunk?

2008-07-17 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Here is a small script that shows various possibilities depending on how object creation is done, and here is the output with the trunk: rec1 stopped at 1000 rec2 stopped at 1000 rec3 stopped at 500 rec4 stopped at 334 rec5 stopped at 334 rec6

[issue3373] sys recursion limit a lot shorter on trunk?

2008-07-17 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- priority: - high versions: +Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3373 ___ ___

[issue3398] mac build 3.0 no MacOS module

2008-07-17 Thread Barry Alan Scott
New submission from Barry Alan Scott [EMAIL PROTECTED]: $ sw_vers ProductName:Mac OS X ProductVersion: 10.4.11 BuildVersion: 8S165 ./configure --enable-framework make ... make install ... DYLD_FRAMEWORK_PATH=/Users/barry/Work/Python-3.0b1: ../python.exe ./scripts/BuildApplet.py \

[issue3396] rlcompleter can't autocomplete members of callable objects

2008-07-17 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: This is somewhat obscure to notice but the problem is towards that getattr on attr_matches. For int specifically, it will try to get the attribute '__abstractmethods__' (which is a member of int.__class__) and will raise an AttributeError but

[issue3398] mac build 3.0 no MacOS module

2008-07-17 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I assume this is only 3.0 beta 1. This has been fixed for beta 2. -- nosy: +benjamin.peterson resolution: - out of date status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue3397] Mac 3.0 build cannot find cachersrc.py

2008-07-17 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: This is fixed in beta 2. -- nosy: +benjamin.peterson resolution: - out of date status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3397

[issue3398] mac build 3.0 no MacOS module

2008-07-17 Thread Barry Alan Scott
Barry Alan Scott [EMAIL PROTECTED] added the comment: I don't see beta 2 on python.org or I'd have used it... ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3398 ___

[issue3398] mac build 3.0 no MacOS module

2008-07-17 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: It's supposed to be release tonight. Sorry for the confusion. :) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3398 ___

[issue2234] cygwinccompiler.py fails for latest MinGW releases.

2008-07-17 Thread Jose Antonio Martin H
Jose Antonio Martin H [EMAIL PROTECTED] added the comment: I have the same problem, i have patched the file and now it works ok. -- nosy: +jamartinh ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2234

[issue3390] [PATCH] replace last has_key in unittest by in operator

2008-07-17 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- keywords: +patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3390 ___ ___ Python-bugs-list mailing

[issue3399] Memory corruption in multiprocessing module, OS X 10.5.4

2008-07-17 Thread Mark Dickinson
New submission from Mark Dickinson [EMAIL PROTECTED]: As of revision 65077 of the trunk, I'm getting errors in test_multiprocessing that seem to point to memory corruption in object allocation/deallocation. The failures are intermittent, and of a similar nature to the errors I was seeing

[issue3400] dis module: undocumented new bytecodes

2008-07-17 Thread Terry J. Reedy
New submission from Terry J. Reedy [EMAIL PROTECTED]: dis / Python Bytecode Instructions is missing UNPACK_EX STORE_LOCALS LOAD_BUILD_CLASS MAKE_BYTES which appear in dis.opname (3.0 version). Suggestion: After entry for UNPACK_SEQUENCE(count), add UNPACK_EX(bytepair) Used for starred

[issue3400] dis module: undocumented new bytecodes

2008-07-17 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: LOAD_BUILD_CLASS is 3.0 only and I documented it. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3400 ___

[issue2638] tkSimpleDialog Window Flashing

2008-07-17 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: It would be more appropriate to properly use withdraw and deiconify then. I'm attaching a patch that uses them. -- keywords: +patch Added file: http://bugs.python.org/file10931/issue_2638.diff ___

[issue3399] Memory corruption in multiprocessing module, OS X 10.5.4

2008-07-17 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: And one more: Failure 4: test_make_pool (__main__.WithManagerTestPool) ... Assertion failed: (bp != NULL), function PyObject_Malloc, file Objects/obmalloc.c, line 746. ___ Python tracker [EMAIL PROTECTED]

[issue3394] zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix

2008-07-17 Thread Christopher Brannon
Christopher Brannon [EMAIL PROTECTED] added the comment: What value should the new archive entry's external_attr attribute have? ZipFile.write sets it to the permissions of the file being archived, but writestr is archiving a string, not a file. Setting it to 0600 lt;lt; 16 seems reasonable.

[issue3400] dis module: undocumented new bytecodes

2008-07-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Terry, would you like to contribute a patch (even if only for the one you understand)? -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3400

[issue3399] Memory corruption in multiprocessing module, OS X 10.5.4

2008-07-17 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: And another: Failure 5: test_notify (__main__.WithManagerTestCondition) ... Assertion failed: (usable_arenas-freepools == NULL), function PyObject_Malloc, file Objects/obmalloc.c, line 809. ERROR ___

[issue3399] Memory corruption in multiprocessing module, OS X 10.5.4

2008-07-17 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: On Jul 17, 2008, at 6:22 PM, Mark Dickinson [EMAIL PROTECTED] wrote: New submission from Mark Dickinson [EMAIL PROTECTED]: As of revision 65077 of the trunk, I'm getting errors in test_multiprocessing that seem to point to memory

[issue3399] Memory corruption in multiprocessing module, OS X 10.5.4

2008-07-17 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: LD_LIBRARY_PATH isn't set. gcc is the system gcc from Apple: Macintosh-3:trunk dickinsm$ echo $LD_LIBRARY_PATH Macintosh-3:trunk dickinsm$ which gcc /usr/bin/gcc Macintosh-3:trunk dickinsm$ gcc -v Using built-in specs. Target:

[issue3341] Suggest a change link

2008-07-17 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: None yet. :( ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3341 ___ ___ Python-bugs-list mailing list

[issue874900] threading module can deadlock after fork

2008-07-17 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: Jesse: thanks for doing the py3k merge. Antoine: yeah it might be safer to use _get_ident() but since the len(_active) == 1 assert is not firing we're probably fine as is. A change to this that I was considering making to this code has been

[issue3401] wsgiref can't handle unicode environments

2008-07-17 Thread Benjamin Peterson
New submission from Benjamin Peterson [EMAIL PROTECTED]: The following errors pop up on the Windows trunk build bot because the LIB environmental variable is unicode not str. This causes the validation to fail. Re-running test 'test_wsgiref' in verbose mode testAbstractMethods

[issue3401] wsgiref can't handle unicode environments

2008-07-17 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- components: +Library (Lib) priority: - high type: - behavior versions: +Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3401 ___

[issue3401] wsgiref can't handle unicode environments

2008-07-17 Thread Georg Brandl
Changes by Georg Brandl [EMAIL PROTECTED]: -- assignee: - pje nosy: +pje ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3401 ___ ___ Python-bugs-list

[issue3399] Memory corruption in multiprocessing module, OS X 10.5.4

2008-07-17 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Can you try removing the --with-pydebug flag from configure and running that way? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3399 ___

[issue3402] test_nis is hanging on Solaris

2008-07-17 Thread Benjamin Peterson
New submission from Benjamin Peterson [EMAIL PROTECTED]: The 3.0 Solaris buildbot keeps hanging on test_nis. -- components: Tests messages: 69931 nosy: benjamin.peterson priority: deferred blocker severity: normal status: open title: test_nis is hanging on Solaris type: behavior

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

2008-07-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- priority: deferred blocker - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2235 ___

[issue3231] re.compile fails with some bytes patterns

2008-07-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- priority: deferred blocker - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3231 ___

[issue3131] 2to3 can't find fixes_dir

2008-07-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- priority: deferred blocker - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3131 ___

[issue3139] bytearrays are not thread safe

2008-07-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- priority: deferred blocker - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3139 ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-07-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- priority: deferred blocker - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___

[issue3402] test_nis is hanging on Solaris

2008-07-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- priority: deferred blocker - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3402 ___

[issue3394] zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix

2008-07-17 Thread Stephen Warren
Stephen Warren [EMAIL PROTECTED] added the comment: I'd probably argue for at least 066016, if not 066616, since group permissions are pretty typically set, but even 066616 would be OK, since the umask on extraction would take away any permissions the extracting user didn't want. But, as long

[issue1432] Strange behavior of urlparse.urljoin

2008-07-17 Thread Alexandr Zamaraev
Changes by Alexandr Zamaraev [EMAIL PROTECTED]: -- nosy: +shura_zam ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1432 ___ ___ Python-bugs-list mailing

[issue3396] rlcompleter can't autocomplete members of callable objects

2008-07-17 Thread Manuel Muradás
Manuel Muradás [EMAIL PROTECTED] added the comment: Oops, you are right. If that is the way we should handle this regression, I could upload a patch. I also thought we could use hasattr, but that means using getattr twice. Something like: if word[:n] == attr and word != __builtins__ and

[issue3393] `cd Mac make installmacsubtree` fails on Mac OS X 10.5 because of r63955

2008-07-17 Thread Ronald Oussoren
Ronald Oussoren [EMAIL PROTECTED] added the comment: This patch is wrong, it drops the call to 'arch' entirely even when the call is needed. The suggestion for ARCHPREFERENCE won't work though, arch doesn't take arguments at all on 10.4. BTW. This is a duplicate of issue 3381, which

[issue3381] `./configure --enable-framework --enable-universalsdk` fails because of change in r63997

2008-07-17 Thread Ronald Oussoren
Ronald Oussoren [EMAIL PROTECTED] added the comment: Whoops, issue 3393 is a duplicate of this issue and notes that Mac/IDLE/Makefile.in is also affected. I've fixed that makefile in r65091. ___ Python tracker [EMAIL PROTECTED]