[issue3122] sys.getsizeof() gives an AttributeError for _sre objects.

2008-07-16 Thread Robert Schuppenies
Robert Schuppenies [EMAIL PROTECTED] added the comment: Fixed in r64842. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3122 ___

[issue3324] Broken link in online doc

2008-07-16 Thread ThomasH
ThomasH [EMAIL PROTECTED] added the comment: Thank you for both of your feedback. I was sure that there is a release and deployment process in place for the docs. But if the process doesn't allow links to be fixed on a web page, there is probably something wrong with it. It's hard to believe you

[issue3360] Inconsistent type-deduction of decimal floating-point

2008-07-16 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: x = 08.0 Urk. That should be: x = 010.0 The problem is in the parsenumber function in Python/ast.c. The solution seems to be very simple: just remove the entire branch that starts with if (s[0]

[issue3360] Inconsistent type-deduction of decimal floating-point

2008-07-16 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: Now I just have to figure out where to add tests for this. Found it. Tests in test_compile.py. Fixed in the trunk in r65005. This should probably also be backported to 2.5. Thanks for the report, Richard! -- resolution: - fixed

[issue3360] Inconsistent type-deduction of decimal floating-point

2008-07-16 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: Fixed in the 2.5 branch, r65007. -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3360 ___

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

2008-07-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Why was 1000 chosen in the first place? If it's just an arbitrary value then we can bump it to 4000 so that people don't get bad surprises when upgrading their Python. This looks more like the interpreter is adding 4x the number of items to

[issue3374] Bisect upgrades: key/cmp/reverse, parameterized handedness

2008-07-16 Thread Dan Uznanski
New submission from Dan Uznanski [EMAIL PROTECTED]: Attached find a unified diff that upgrades the bisect module in two important ways: 1. bisect and friends now understand cmp, key, and reverse, the same way that list.sort does. 2. bisect and insort now have parameterized handedness:

[issue3139] bytearrays are not thread safe

2008-07-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Not blocking beta 2 because there's not enough time for the fix, but this will definitely block beta 3. -- nosy: +barry priority: release blocker - deferred blocker ___ Python tracker [EMAIL

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

2008-07-16 Thread cfr
cfr [EMAIL PROTECTED] added the comment: Thanks. I couldn't get anything from gdb which wasn't already in the crash log - likely because I don't know how to elicit the information correctly. Output from a build with the augmented _localemodule.c: ./python.exe Python 2.5.2 (r252:60911, Jul 16

[issue3352] Deficiencies in multiprocessing/threading API

2008-07-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Is anybody working on a patch for this? Nick, I agree with you about undesirable behavior, however if there is no patch currently under development, I'm inclined to defer blocking until beta3. -- nosy: +barry

[issue3374] Bisect upgrades: key/cmp/reverse, parameterized handedness

2008-07-16 Thread Georg Brandl
Changes by Georg Brandl [EMAIL PROTECTED]: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3374 ___ ___

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Barry A. Warsaw
New submission from Barry A. Warsaw [EMAIL PROTECTED]: _multiprocessing.so has build problems on both OS X 10.5 and Ubuntu Linux 8.04. It's very strange though because there are no apparent errors in compilation, however when the build process tries to import the module, that fails and it gets

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Er, make that bug 3088 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3375 ___ ___ Python-bugs-list mailing

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- dependencies: +test_multiprocessing hangs intermittently on POSIX platforms ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3375 ___

[issue3374] Bisect upgrades: key/cmp/reverse, parameterized handedness

2008-07-16 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Issues: 1. In Py3.0, the cmp argument has been dropped completely. It has been supplanted by the key function. 2. Previous feature requests for cmp/key/reverse have been rejected. The problem is that in a series of searches or

[issue3352] Deficiencies in multiprocessing/threading API

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: I don't want to change the API or any other code before we get the change in for issue874900 which should fix/resolve issue3088 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: I'll try with a clean tree, but I've seen this before and I'm quite mystified. -- nosy: +jnoller ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3375

[issue3352] Deficiencies in multiprocessing/threading API

2008-07-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: On Jul 16, 2008, at 9:12 AM, Jesse Noller wrote: I don't want to change the API or any other code before we get the change in for issue874900 which should fix/resolve issue3088 What's the holdup on 874900?

[issue3352] Deficiencies in multiprocessing/threading API

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: I don't know, but I am going to ping Antoine and Greg and see if they don't mind me applying it as-is. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352

[issue874900] threading module can deadlock after fork

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Greg/Antoine - do you have any problem with me applying the latest patch as-is today? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue874900 ___

[issue3090] ARCHFLAGS parsing/concatenation in unixccompiler.py breaks when set to a string

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: This has been applied as of r65012 on trunk -- resolution: accepted - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3090

[issue3376] Use Python 3 lexer for 3.0 docs

2008-07-16 Thread Georg Brandl
Changes by Georg Brandl [EMAIL PROTECTED]: -- assignee: georg.brandl components: Documentation, Documentation tools (Sphinx) nosy: georg.brandl priority: low severity: normal status: open title: Use Python 3 lexer for 3.0 docs versions: Python 3.0

[issue3352] Deficiencies in multiprocessing/threading API

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: This should not block the release of beta 2 IMHO ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___

[issue3377] Invalid child node access in ast.c

2008-07-16 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson [EMAIL PROTECTED]: Purify complained about reading uninitialized memory in ast.c:752 of two bytes which corresponds to the type field. Looking into this, line 750 increments i without checking that there are in fact this many children. If you add

[issue3352] Deficiencies in multiprocessing/threading API

2008-07-16 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- priority: release blocker - deferred blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___

[issue3378] Memory leak in pythonrun.c

2008-07-16 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson [EMAIL PROTECTED]: In some cases, an error string generated by parsetok.c is not cleared by err_input(). A patch is provided. -- components: Interpreter Core files: tmp5.patch keywords: patch, patch messages: 69788 nosy: krisvale severity:

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Barry, I can't seem to repro this against trunk on both my Ubuntu and OS/X machines. If you get a chance, can you see if you can get the output from a make -d? ___ Python tracker [EMAIL PROTECTED]

[issue3379] Option to not-exit on test

2008-07-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: This is related to (maybe a duplicate of) #2674. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3379 ___

[issue2969] Test_imports fails in 2.6

2008-07-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I have fixed this in r65017 and am currently merging it into the trunk and py3k. Martin, do you still want to keep the lib2to3 resource around? -- nosy: +benjamin.peterson resolution: - fixed status: open - closed

[issue874900] threading module can deadlock after fork

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Alas, I don't have a windows machine - I agree we should leave it open though ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue874900 ___

[issue3380] documentation for ElementTree is unusable

2008-07-16 Thread John Williams
New submission from John Williams [EMAIL PROTECTED]: The documentation for the xml.etree.ElementTree package (http://www.python.org/doc/2.5/lib/module-xml.etree.ElementTree.html) does not include the Element type (http://effbot.org/zone/element.htm), making it impossible to use this package

[issue3380] documentation for ElementTree is unusable

2008-07-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: It is found in the new docs: http://doc.python.org/dev/ -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3380 ___

[issue3380] documentation for ElementTree is unusable

2008-07-16 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Here's the link: http://docs.python.org/dev/library/xml.etree.elementtree.html#the-element-interface -- nosy: +facundobatista resolution: - out of date status: open - closed ___ Python tracker

[issue874900] threading module can deadlock after fork

2008-07-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: It would be nice to test under Windows first, if you can. Also, this bug entry should stay open until we discuss the remaining details. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue874900

[issue2702] pickling of large recursive structures crashes cPickle

2008-07-16 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Thanks Darryl. We'll continue in that issue, as the patched commited in this one did not introduce a regression (it just didn't fix the other bug also). ___ Python tracker [EMAIL PROTECTED]

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Andrii V. Mishkovskyi
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment: Attached the log of 'make -d' on clean checkout of py3k branch. This is on Ubuntu 8.04.1. -- nosy: +mishok13 Added file: http://bugs.python.org/file10907/make-d.log.bz2 ___ Python tracker

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Andrii gave me make -d output with the failure: building '_multiprocessing' extension creating build/temp.linux-i686- 3.0/home/mishok/doc/python/tmp/py3k/Modules/_multiprocessing gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Even with that output it's not clear what's happening during the compile step. Barry - is this on trunk and py3k? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3375

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: py3k. i think the thing to do is to try to figure out why the import is failing even though the compilation appears to succeed. it's the suppressed import error that's going to be the clue. ___ Python

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

2008-07-16 Thread Trent Mick
New submission from Trent Mick [EMAIL PROTECTED]: Configuring with --enable-universalsdk fails on Mac OS X 10.4/x86 because of a change in r63997. This in the python trunk (i.e. the 2.6 tree). The failure looks like this: $ ./configure --enable-framework

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

2008-07-16 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: - ronaldoussoren ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3381 ___ ___

[issue3218] 2to3 Fix_imports optimization

2008-07-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I've fixed the tests, so you can cross that one off your list. However, the buildbots are now failing because lib2to3 takes too long to test. How soon can we have this optimization applied? -- nosy: +benjamin.peterson

[issue3379] Option to not-exit on test

2008-07-16 Thread J. Pablo Fernández
Changes by J. Pablo Fernández [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10908/add_avoid_exit_option.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3379 ___

[issue3379] Option to not-exit on test

2008-07-16 Thread J. Pablo Fernández
Changes by J. Pablo Fernández [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10906/add_avoid_exit_option.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3379 ___

[issue3218] 2to3 Fix_imports optimization

2008-07-16 Thread Nick Edds
Nick Edds [EMAIL PROTECTED] added the comment: I can hopefully have it all fixed up by tonight or tomorrow. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3218 ___

[issue3379] Option to not-exit on test

2008-07-16 Thread J. Pablo Fernández
J. Pablo Fernández [EMAIL PROTECTED] added the comment: Indeed this patch can be considered a fix for #2674, but, it should be documented appropriately. Should that be in http://docs.python.org/dev/3.0/library/unittest.html ? ___ Python tracker [EMAIL

[issue3379] Option to not-exit on test

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

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

2008-07-16 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: On Wed, Jul 16, 2008 at 4:20 AM, Antoine Pitrou [EMAIL PROTECTED] wrote: Antoine Pitrou [EMAIL PROTECTED] added the comment: Why was 1000 chosen in the first place? If it's just an arbitrary value then we can bump it to 4000 so that people

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

2008-07-16 Thread Eric Smith
New submission from Eric Smith [EMAIL PROTECTED]: See http://mail.python.org/pipermail/python-dev/2008-July/081242.html for the discussion. Basically, 'F' did the same as 'f' because it was assumed that neither would ever produce an exponent. But they do, for numbers greater than about 1e50.

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

2008-07-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Brett: It was originally 10,000, but people wanted thread switches to occur more often. I thought that was managed by sys.setcheckinterval. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL

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

2008-07-16 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: On Wed, Jul 16, 2008 at 11:28 AM, Benjamin Peterson [EMAIL PROTECTED] wrote: Benjamin Peterson [EMAIL PROTECTED] added the comment: Brett: It was originally 10,000, but people wanted thread switches to occur more often. I thought that was

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

2008-07-16 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone [EMAIL PROTECTED]: ctypes.util assumes several things of its environment which sometimes don't hold: * It depends on objdump being in $PATH. If it isn't, it will fail to read the SONAME from a library, even if it has determined the path to it. * If

[issue3384] Documentation for re.findall and re.finditer lacks ordering information

2008-07-16 Thread Joshua Kugler
New submission from Joshua Kugler [EMAIL PROTECTED]: According to a discussion on comp.lang.python, re.findall and re.finditer scan strings from left to right, and returns them in the order it found them. It would be nice to note that in documentation. -- assignee: georg.brandl

[issue3338] cPickle segfault with deep recursion

2008-07-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión [EMAIL PROTECTED]: -- nosy: +jcea ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3338 ___ ___ Python-bugs-list mailing list

[issue3385] cPickle to pickle conversion in py3k missing methods

2008-07-16 Thread Jesse Noller
New submission from Jesse Noller [EMAIL PROTECTED]: I was attempting the patch for issue3125 to py3k, and in it Amaury defines a new ForkingPickler: from pickle import Pickler class ForkingPickler(Pickler): dispatch = Pickler.dispatch.copy() This is also related to issue3350 I suspect.

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

2008-07-16 Thread Ronald Oussoren
Ronald Oussoren [EMAIL PROTECTED] added the comment: This is rather annoying, gcc doesn't accept multipe -isysroot flags on 10.4, yet we need to specify -isysroot during configure to ensure that tests are done using the right SDK, otherwise most of configure will use the system headers

[issue3125] test_multiprocessing causes test_ctypes to fail

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Here is a proposed patch for py3k generated from an svn merge of amaury's patch into py3k. This is currently blocked due to issue3385. Added file: http://bugs.python.org/file10911/py3k_no_copyreg.patch ___

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Jesse Noller
Changes by Jesse Noller [EMAIL PROTECTED]: -- assignee: - jnoller ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3375 ___ ___ Python-bugs-list mailing

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

2008-07-16 Thread Ronald Oussoren
Ronald Oussoren [EMAIL PROTECTED] added the comment: configure-patch-3381.txt should fix the issue, but I cannot test on 10.4 as I recently had to convert my only 10.4 machine to 10.5. Added file: http://bugs.python.org/file10912/configure-patch-3381.txt

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

2008-07-16 Thread Ronald Oussoren
Ronald Oussoren [EMAIL PROTECTED] added the comment: Note to self: never rush a patch configure-patch-3881-1.txt is the better patch, the other looks right but using square brackets which don't survive autoconf. BTW. the patch is only for configure.in, run autoconf to update the actual

[issue2969] Test_imports fails in 2.6

2008-07-16 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I have fixed this in r65017 and am currently merging it into the trunk and py3k. Martin, do you still want to keep the lib2to3 resource around? Last I tried, running test_import still took a very long time (issue2968). If that was fixed,

[issue2969] Test_imports fails in 2.6

2008-07-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I understand that #3218 helps test_import a lot, so once that patch is when I'll remove the resource. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2969

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

2008-07-16 Thread Ronald Oussoren
Ronald Oussoren [EMAIL PROTECTED] added the comment: Yet another version: configure-patch-3381-2.txt is a slight enhancement of the first version. This version also moves the calculation of MACOSX_DEPLOYMENT_TARGET a lot earlier in configure.in, to ensure that the right value is active

[issue3226] can't install on OSX 10.4

2008-07-16 Thread Ronald Oussoren
Ronald Oussoren [EMAIL PROTECTED] added the comment: The attached patch should fix this issue. I cannot test on 10.4 though. BTW. The patch only updates configure.in, run autoconf afterwards to update the configure script itself. Added file:

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

2008-07-16 Thread Ronald Oussoren
Changes by Ronald Oussoren [EMAIL PROTECTED]: -- priority: - deferred blocker resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3381 ___

[issue874900] threading module can deadlock after fork

2008-07-16 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: I've applied Greg's patch in 65032 on trunk. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue874900 ___ ___

[issue3369] memory leak in floatobject.c

2008-07-16 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: Does this also apply to 2.6? Looks like it doesn't. :-). The patch needs to touch the newly arrived comparison with infinity, as well as the inf and nan comparisons. ___ Python tracker [EMAIL PROTECTED]

[issue2138] Add a factorial function

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: That was fixed by Raymond in 64365. -- nosy: +georg.brandl ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2138 ___

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

2008-07-16 Thread Trent Mick
Trent Mick [EMAIL PROTECTED] added the comment: Yet another version: configure-patch-3381-2.txt is a slight enhancement of the first version. Ronald, Did that accidentally not get attached? ___ Python tracker [EMAIL PROTECTED]

[issue3375] _multiprocessing.so build problems

2008-07-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Okay, I have more information, but still no diagnosis. I stuck a 'raise' in the setup.py so that when the ImportError occurs, it doesn't get swallowed. Instead it stops the build process in its tracks. The attached file contains the

[issue3341] Suggest a change link

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Yes, this is under consideration. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3341 ___ ___ Python-bugs-list

[issue3310] Out-of-date example 3.0b1 Tutorial Classes page, 'issubclass'

2008-07-16 Thread Florian Mayer
Florian Mayer [EMAIL PROTECTED] added the comment: This patch removes incompatibility to Python 3.0, though it also removes the common ancestor part. -- keywords: +patch nosy: +segfaulthunter Added file: http://bugs.python.org/file10916/classes.txt.patch

[issue3386] distutils.sysconfig.get_python_lib prefix argument broken

2008-07-16 Thread Philip Jenvey
New submission from Philip Jenvey [EMAIL PROTECTED]: get_python_lib supports an optional prefix argument: If 'prefix' is supplied, use it instead of sys.prefix or sys.exec_prefix -- i.e., ignore 'plat_specific'. However the NT and OS2 platforms don't use the prefix argument when

[issue2874] Remove use of the stat module in the stdlib

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I don't like the name os.stats. The os module is already so full of constants and functions that one could argue the few from stat won't hurt anymore :) ___ Python tracker [EMAIL PROTECTED]

[issue3045] Windows online help broken when spaces in TEMP environ

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Fixed in r65035. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3045 ___

[issue3310] Out-of-date example 3.0b1 Tutorial Classes page, 'issubclass'

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Committed in r65036, thanks! -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3310 ___

[issue1608818] Sloppy error checking in listdir() for Posix

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Fixed in r65037. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1608818 ___

[issue3115] os.listdir randomly fails on occasions when it shouldn't

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Committed patch in #1608818 in r65037. -- nosy: +georg.brandl resolution: - duplicate status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3115

[issue3338] cPickle segfault with deep recursion

2008-07-16 Thread Darryl Dixon
Darryl Dixon [EMAIL PROTECTED] added the comment: That is a very interesting observation (x4), especially in light of #3373 Unfortunately I don't really have the (p|g)db -foo to debug either of these properly :( ___ Python tracker [EMAIL PROTECTED]

[issue2874] Remove use of the stat module in the stdlib

2008-07-16 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: On Wed, Jul 16, 2008 at 2:12 PM, Georg Brandl [EMAIL PROTECTED] wrote: Georg Brandl [EMAIL PROTECTED] added the comment: I don't like the name os.stats. The os module is already so full of constants and functions that one could argue the few

[issue3305] Use Py_XDECREF() instead of Py_DECREF() in MultibyteCodec and MultibyteStreamReader

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Fixed in r65038. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3305 ___

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

2008-07-16 Thread Georg Brandl
Georg Brandl [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? ___ Python tracker [EMAIL PROTECTED]

[issue2874] Remove use of the stat module in the stdlib

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Why deprecate the functions then? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2874 ___ ___ Python-bugs-list

[issue3345] Patch for CGIHTTPServer.is_cgi function documentation

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, fixed in r65039. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3345 ___

[issue3318] Documentation: timeit: lower bound should read upper bound

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I disagree. An ideal machine is not useful in practice, so any assertion about it isn't helpful. In that light, the snippet is correct in saying that if execution of a snippet is done enough times, the lowest value is a lower bound for execution

[issue3288] float.as_integer_ratio method is not documented

2008-07-16 Thread Florian Mayer
Florian Mayer [EMAIL PROTECTED] added the comment: I tried to include the method in the Python 3.0 Tutorial but also to mention problems with floating point arithmetic that express in returning different numbers than what one entered. -- keywords: +patch nosy: +segfaulthunter Added

[issue3312] bugs in _sqlite module

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, fixed in r65040. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3312 ___

[issue988761] re.split emptyok flag (fix for #852532)

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Closing as a duplicate of #3262, which seems to be active. -- nosy: +georg.brandl resolution: - duplicate status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue988761

[issue3262] re.split doesn't split with zero-width regex

2008-07-16 Thread Mike Coleman
Mike Coleman [EMAIL PROTECTED] added the comment: I think it's probably both. The original design was incorrect, though this probably wasn't apparent to the designer. But as a significant user of 're', it really stands out as a problem. ___ Python tracker

[issue3218] 2to3 Fix_imports optimization

2008-07-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Can we expect this in the next 2 hours? It's fine if not, I just need to know whether the 2to3 tests should be disabled for the beta. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3218

[issue3156] bytes type has inconsistent methods (append, insert)

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Fixed in 2.6 r65041, and 3k r65043. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3156

[issue3388] With keyword not mentioned in Input Output tutorial

2008-07-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, committed a similar patch in r65048. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3388

[issue3389] [PATCH] Allow custom logging Handlers in logging config files

2008-07-16 Thread Philip Jenvey
New submission from Philip Jenvey [EMAIL PROTECTED]: Python 2.5 added support for specifying a custom logging Formatter class in logging configuration files. Handler classes can also be specified, but your choice is limited to classes that live in the logging module. A current workaround

[issue3389] [PATCH] Allow custom logging Handlers in logging config files

2008-07-16 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: - vsajip ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3389 ___ ___ Python-bugs-list

[issue3386] [PATCH] distutils.sysconfig.get_python_lib prefix argument broken

2008-07-16 Thread Philip Jenvey
Changes by Philip Jenvey [EMAIL PROTECTED]: -- title: distutils.sysconfig.get_python_lib prefix argument broken - [PATCH] distutils.sysconfig.get_python_lib prefix argument broken ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3386

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

2008-07-16 Thread cfr
cfr [EMAIL PROTECTED] added the comment: On the off chance this might be helpful: I get the same error with python 2.4.3. Python 2.4.3 (#1, Apr 7 2006, 10:54:33) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type help, copyright, credits or license for more information. import os,

[issue3218] 2to3 Fix_imports optimization

2008-07-16 Thread Nick Edds
Nick Edds [EMAIL PROTECTED] added the comment: It should be done tonight, but probably not until around 11 central time. Sorry for the delay. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3218 ___

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

2008-07-16 Thread Skip Montanaro
Skip Montanaro [EMAIL PROTECTED] added the comment: anatoly If you open file with 'r' - all line endings will be mapped anatoly precisely to '\n' anyways, so it has nothing to do with 'U' anatoly mode. Before 3.0 at least, if you copy a text file from, say, Windows to Mac, and open it

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

2008-07-16 Thread Darryl Dixon
Darryl Dixon [EMAIL PROTECTED] added the comment: Hi Trent, No, my build did not invoke --with-pydebug. In other words, the process I used was simply: svn co http://svn.python.org/projects/python/trunk python-trunk cd python-trunk ./configure --prefix=/home/dixond/throwaway make make install

[issue3218] 2to3 Fix_imports optimization

2008-07-16 Thread Nick Edds
Nick Edds [EMAIL PROTECTED] added the comment: Sorry I couldn't have this done earlier today. I updated the test suite, and this is now passing all tests. Collin, could you verify that is has all the functionality you were expecting? If the member functionality turns out to actually be important

  1   2   >