[issue10066] xmlrpclib does not handle some non-printable characters properly

2010-10-14 Thread Éric Araujo
Éric Araujo added the comment: My bad, I read too fast. Peter: Can you rework your patch to address Martin’s review? -- ___ Python tracker ___ _

[issue9807] deriving configuration information for different builds with the same prefix

2010-10-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Let's try splitting this issue into separate patches. This first one just exposes the ABI flags in the sys module and in the python-config script. It doesn't change any installation behavior. http://codereview.appspot.com/2478042/ --

[issue9418] Move _formatter_* methods from string type into _string module

2010-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10093] Warn when files are not explicitly closed

2010-10-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file19236/deallocwarn3.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue10093] Warn when files are not explicitly closed

2010-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: I committed the test fixes to py3k, so here is an updated patch. -- Added file: http://bugs.python.org/file19238/deallocwarn3.patch ___ Python tracker

[issue9409] doctest in python2.7 can't handle non-ascii characters

2010-10-14 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed in 2.7 with r85496 and r85501. Thank you. (in 3.2 only tests, r85495 and r85500) -- resolution: -> fixed stage: unit test needed -> committed/rejected status: open -> closed ___ Python tracker

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-14 Thread Brian Curtin
Brian Curtin added the comment: Jason, any idea on #2? -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Leo Shklovskii
New submission from Leo Shklovskii : >From my understanding of the documentation, the expected behavior is for >xmlrpclib to raise an xmlrpclib.Fault wrapping the original error from >whatever parser it chose to use if there's an error in parsing the response. If, however, its using Expat unde

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: > From my understanding of the documentation, the expected behavior > is for xmlrpclib to raise an xmlrpclib.Fault [...] What specific wording in the documentation makes you thinks so? If anything, I'd expect a ResponseError (which appears undocumented). ---

[issue815646] thread unsafe file objects cause crash

2010-10-14 Thread Ned Deily
Ned Deily added the comment: Paul, please open a new issue and attach your patch(s) there; it should address issues in 2.7 and 3.2 only. -- nosy: +ned.deily ___ Python tracker ___

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-14 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-14 Thread Ned Deily
Changes by Ned Deily : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-14 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm unsure. I think when I addressed the issue, I was only concerned with symlinks. The Vista behavior sounds correct to me, so it may be that XP was left with the legacy behavior as it doesn't have native symlink support. It sounds as if the behavior on XP

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Leo Shklovskii
Leo Shklovskii added the comment: Looking at the docs more closely, you're right, I'm not entirely sure what error should come out in that case but my main point with the bug is that the error should be an xmlrpclib error rather than one from the specific parser that its choosing to use. Sho

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-14 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2010-10-14 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: Not necessarily a separate report. Would you be interested in writing a patch that clears that all up (for 2.7 and/or 3.2)? -- ___ Python tracker ___

[issue10052] Python/dtoa.c:158: #error "Failed to find an exact-width 32-bit integer type" (FreeBSD 4.11 + gcc 2.95.4)

2010-10-14 Thread Tom O'Connor
Tom O'Connor added the comment: Same problem on SGI IRIX 6.5.28 GCC 3.3. Adding the following to pyport.h got me through as well. #define UINT32_MAX 0x #define INT32_MAX 0x7fff -- nosy: +Tom.OConnor ___ Python tracker

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Leo Shklovskii
Leo Shklovskii added the comment: I'm sorry, I would like to but I don't have the time in the near future. I'm running into this as a secondary symptom of a bigger issue (in our own setup, not in Python) that I'm troubleshooting. -- ___ Python trac

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2010-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10089] Add support for arbitrary -X options

2010-10-14 Thread Éric Araujo
Éric Araujo added the comment: Seems like a good idea to me. Would other VMs have to implement sys.xoptions too? -- nosy: +eric.araujo ___ Python tracker ___ _

[issue10089] Add support for arbitrary -X options

2010-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Seems like a good idea to me. Would other VMs have to implement sys.xoptions > too? I don't think we should mandate that, no. -- ___ Python tracker __

[issue10106] missing packages

2010-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue2919] Merge profile/cProfile in 3.0

2010-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue7425] [PATCH] Improve the robustness of "pydoc -k" in the face of broken modules

2010-10-14 Thread Dave Malcolm
Dave Malcolm added the comment: I notice this issue is in stage "unit test needed". It's not clear to me how to add a unit test for this: one idea I had is to create a broken module in some subdir somewhere, and invoke "pydoc -k" as a subprocess with PYTHONPATH containing the extra subdir (an

[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'

2010-10-14 Thread karl
karl added the comment: This following markup creates the mistake as described earlier in the comments This markup doesn't It returns When using this markup It outputs the right markup, So the mistake occurs really when xmlns="". I have checked and the following markup

[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-10-14 Thread Éric Araujo
Éric Araujo added the comment: If it still exists in 2.6, I don’t think it could be fixed, that version being in security mode now. (Barry is the release manager, he’ll chime in if I’m wrong.) Valeo, can you reproduces the bug on 2.7? Distutils code has been reverted to a prior version rec

[issue8335] distutils test_build_ext's test_get_outputs fails in bootstrap environment

2010-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-10-14 Thread Éric Araujo
Éric Araujo added the comment: Jan, do you think we should close this as a duplicate of #8335? I’ve just read that one and it looks like the same bug. -- ___ Python tracker ___

[issue10106] missing packages

2010-10-14 Thread Brett Cannon
Changes by Brett Cannon : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10109] itertools.product with infinite iterator cause MemoryError.

2010-10-14 Thread Jeong-Min Lee
New submission from Jeong-Min Lee : According to the documentation, itertools.product is equivalent to nested for-loops in a generator expression. But, itertools.product(itertools.count(2010)) is not. >>> import itertools >>> (year for year in itertools.count(2010)) at 0x026367D8> >>> itertool

[issue10110] Queue doesn't recognize it is full after shrinking maxsize

2010-10-14 Thread Jason R. Coombs
New submission from Jason R. Coombs : The Queue object has a maxsize parameter and attribute, but due to the test for a full queue, shrinking the maxsize could result in the Queue not recognizing that it is full. The attached patch (against the Python 3 trunk) demonstrates this limitation wit

[issue10109] itertools.product with infinite iterator cause MemoryError.

2010-10-14 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7425] [PATCH] Improve the robustness of "pydoc -k" in the face of broken modules

2010-10-14 Thread R. David Murray
R. David Murray added the comment: Yes, and I can't think of any other way to approach it. -- ___ Python tracker ___ ___ Python-bugs-l

[issue9980] str(float) failure

2010-10-14 Thread Muhammad Alkarouri
Muhammad Alkarouri added the comment: I cam across another issue that was triggered by the same problem. I am explaining it here though I am not sure if it is going to affect the solution one way or the other. The issue is explained in the post http://stackoverflow.com/questions/3933851/nan-

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-14 Thread Ned Deily
Ned Deily added the comment: The problem is that, by default on OS X, Tkinter uses Tk/Aqua which is itself a bona-fide OS X application and it creates the default menu options including a standard application quit. Looks like IDLE needs to register a hook provided by Tk/Aqua for a "quit" cal

[issue9980] str(float) failure

2010-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: Interesting. I'd like to propose than that this is resolved as "won't fix", i.e. embedding Python into Delphi is declared as just not supported (or using floating-point operations in such an environment is not supported). --

[issue10076] Regex objects became uncopyable in 2.5

2010-10-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch looks reasonable to me. I was trying to find out why they got disabled after 2.5, but I don't see any reason. (There was an issue open and it was closed for no reason). So, I think, this should move forward, unless there is any technical objection

[issue10111] Minor problems with PyFileObject documentation (Doc/c-api/file.rst)

2010-10-14 Thread Paul Bolle
New submission from Paul Bolle : 0) I ran into some (small) problems with the documentation added by revision 62195 (see issue 815646 for background). 1) A small patch that addresses two problems with the Python 2.7 documentation should be attached: - link three occurrences of "GIL" to the GIL

[issue10100] fromfd is now available on all platforms

2010-10-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: You already changed the test in r84449! The doc still needs updating. -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___

[issue815646] thread unsafe file objects cause crash

2010-10-14 Thread Paul Bolle
Paul Bolle added the comment: > please open a new issue and attach your patch(s) there Issue 10111 now tracks the documentation problems. -- ___ Python tracker ___ ___

<    1   2