[issue8506] SimpleXMLRPCServer Socket not closed after shutdown call

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The behavior is as documented, so this is a feature request. The 3.1.2 doc in 20.19.2. Server Objects says "BaseServer.shutdown() Tells the serve_forever() loop to stop and waits until it does." I presume this allows subsequent .handle_request() and ..serve_fo

[issue8585] zipimporter.find_module is untested

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since devs are trying to improve tests, I expect a patch will get looked at. -- nosy: +terry.reedy versions: -Python 2.6 ___ Python tracker ___

[issue8427] toplevel jumps to another location on the screen

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you show minimum length code that shows the effect you claim? -- nosy: +terry.reedy ___ Python tracker ___ _

[issue8585] zipimporter.find_module is untested

2010-08-05 Thread Alex
Alex added the comment: Gah, I lost track of this one after I realized the bug I was chasing after (originally thought to be in PyPy's zipimpoter) was actually in Django. I'll try to get to this over the weekend. -- ___ Python tracker

[issue6942] email.generator.Generator memory consumption

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The email module has several problems. RDM is working on overhauling the email module for 3.2. Existing issues may not get individual attention. -- nosy: +terry.reedy versions: +Python 2.7 -Python 2.6 ___ Python tra

[issue1372770] email.Header should preserve original FWS

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The email module has several problems. RDM is working on overhauling the email module for 3.2. Existing issues may not get individual attention. -- nosy: +terry.reedy versions: +Python 3.2 -Python 2.6, Python 3.0 __

[issue5612] whitespace folding in the email package could be better ; -)

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The email module has several problems. RDM is working on overhauling the email module for 3.2. Existing issues may not get individual attention. -- nosy: +terry.reedy ___ Python tracker

[issue1443866] email 3.0+ stops parsing headers prematurely

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The email module has several problems. RDM is working on overhauling the email module for 3.2. Existing issues may not get individual attention. -- nosy: +terry.reedy versions: +Python 3.1 -Python 2.6, Python 3.0 __

[issue1690608] email.utils.formataddr() should be rfc2047 aware

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am just responding so this will not show up on the 'unanswered issues' list. -- nosy: +terry.reedy ___ Python tracker ___ _

[issue3902] distutils does not correctly create packages for compiled extensions

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: With development of disutils2, distutils issues are not getting much separate attention. This may or may not get folded in to disutils2. -- nosy: +terry.reedy ___ Python tracker _

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: With development of disutils2, distutils issues are not getting much separate attention. This may or may not get folded in to disutils2. -- nosy: +terry.reedy ___ Python tracker _

[issue8170] Wrong Paths for distutils build --plat-name=win-amd64

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: With development of disutils2, distutils issues are not getting much separate attention. This may or may not get folded in to disutils2. -- nosy: +terry.reedy ___ Python tracker _

[issue8171] bdist_wininst builds wrongly for --plat-name=win-amd64

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: With development of disutils2, distutils issues are not getting much separate attention. This may or may not get folded in to disutils2. -- nosy: +terry.reedy ___ Python tracker _

[issue8315] ./python -m unittest test.test_importlib doesn't work

2010-08-05 Thread Michael Foord
Michael Foord added the comment: I'd still like to see this fixed. Some of the features of regrtest will need to be implemented as plugins for unittest (but not many - a lot of the features of regrtest are already obsolete). -- ___ Python tracker

[issue5936] Add MSI suport for uninstalling individual versions

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Because this basically is a self-reminder note by a developer to himself, which he assigned to himself, so no answer is needed. Removing such things from 'unanswered' will make it easier to focus on posts by newcomers who need a thoughtful answer. [Sorry Stev

[issue8285] IDLE not smart indenting correctly in nested statements

2010-08-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue8416] python 2.6.5 documentation can't search

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The best way to reply to tracker messages is to click the link at the bottom and enter in the box. Pasting all that junk is useless. The noise hides the message, which seems to be a non-helpful repeat of the original message. I already did what was needed, w

[issue9514] platform.linux_distribution() under Ubuntu returns ('debian', 'squeeze/sid', '')

2010-08-05 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue9452] configparser support for reading from strings and dictionaries

2010-08-05 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18382/issue9452.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue4032] distutils cannot recognize ".dll.a" as library on cygwin

2010-08-05 Thread Gerhard Häring
Changes by Gerhard Häring : -- nosy: -ghaering ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5936] Add MSI suport for uninstalling individual versions

2010-08-05 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the reply Terry, I didn’t get that. Maybe you can edit your boilerplate message to prevent future misunderstandings like mine :) -- nosy: +tarek versions: +Python 3.2 ___ Python tracker

[issue9452] configparser support for reading from strings and dictionaries

2010-08-05 Thread Łukasz Langa
Łukasz Langa added the comment: Updated patch after review by Fred Drake. Thanks, it was terrific! Status: > Docstrings should be written in the standard PEP-8 way (single line > summary + additional explanation as needed following a blank line). Corrected where applicable. Is it OK if the on

[issue9452] configparser support for reading from strings and dictionaries

2010-08-05 Thread Łukasz Langa
Łukasz Langa added the comment: Ah, forgot to remind you that I don't have commit privileges yet. -- ___ Python tracker ___ ___ Python

[issue9452] configparser support for reading from strings and dictionaries

2010-08-05 Thread Éric Araujo
Éric Araujo added the comment: >> Docstrings should be written in the standard PEP-8 way (single line >> summary + additional explanation as needed following a blank line). > Corrected where applicable. Is it OK if the one-sentence summary is > occasionally longer than one line? It’s a one-line

[issue9168] setuid in smtp.py sheds privileges before binding port

2010-08-05 Thread Alberto Trevino
Changes by Alberto Trevino : -- type: -> crash versions: +Python 3.1 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue9520] Add Patricia Trie high performance container

2010-08-05 Thread Dmitry Chichkov
Dmitry Chichkov added the comment: No. I'm not simply running out of system memory. 8Gb/x64/linux. And in my test cases I've only seen ~25% of memory utilized. And good idea. I'll try to play with the cyclic garbage collector. It is harder than I thought to make a solid synthetic test case ad

[issue9523] Improve dbm module

2010-08-05 Thread Ray.Allen
Changes by Ray.Allen : -- components: +Extension Modules type: -> feature request versions: +Python 3.2 ___ Python tracker ___ ___ Pyt

[issue9526] 2 GB limit in array module

2010-08-05 Thread Martin Frith
New submission from Martin Frith : The array module does not seem to work for arrays > 2 GB. >>> import sys, array >>> sys.maxsize 9223372036854775807 >>> x = array.array('c', ('a' for i in xrange(3))) (seems to work OK) >>> x = array.array('c', ('a' for i in xrange(30))) (runs f

[issue5027] xml namespace not understood by xml.sax.saxutils.XMLGenerator

2010-08-05 Thread Troy J. Farrell
Troy J. Farrell added the comment: I've attached a patch against branches/py3k that tests and fixes the issue. I don't suppose this fix (if I backport it) could make it into 2.6.6, could it? -- Added file: http://bugs.python.org/file18407/issue5027.diff ___

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-05 Thread R. David Murray
R. David Murray added the comment: Could you please be more specific? What error are you seeing? It works for me. -- nosy: +r.david.murray ___ Python tracker ___ __

[issue5027] xml namespace not understood by xml.sax.saxutils.XMLGenerator

2010-08-05 Thread Troy J. Farrell
Changes by Troy J. Farrell : Added file: http://bugs.python.org/file18408/issue5027.trunk.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue5027] xml namespace not understood by xml.sax.saxutils.XMLGenerator

2010-08-05 Thread Troy J. Farrell
Troy J. Farrell added the comment: I've created tests and patches for the trunk and branches/py3k. The only difference between the two is the use of u'' for a Unicode string in the trunk. (IIRC, Py3k treats all strings as Unicode.) -- Added file: http://bugs.python.org/file18409/iss

[issue5027] xml namespace not understood by xml.sax.saxutils.XMLGenerator

2010-08-05 Thread Troy J. Farrell
Changes by Troy J. Farrell : Removed file: http://bugs.python.org/file18407/issue5027.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5871] email.header.Header too lax with embeded newlines

2010-08-05 Thread R. David Murray
R. David Murray added the comment: Yeah, it's a good question whether or not this is enough of a behavior change that the fix can't be backported. On the other hand, this is definitely a bug (the RFCs specifiy that header values may not contain newlines or carriage returns), so at the moment

[issue9521] xml.etree.ElementTree strips XML declaration and procesing instructions

2010-08-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: +effbot ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue9522] xml.etree.ElementTree forgets the encoding

2010-08-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: +effbot, flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue5871] email.header.Header too lax with embeded newlines

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Given this "The email package attempts to be as RFC-compliant as possible," and your reading, I agree this is a backport-worth bug. This is the "prohibition in the docs" I was looking for. -- ___ Python tracker

[issue9527] Add aware local time support to datetime module

2010-08-05 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : See python-dev post for motivation. http://mail.python.org/pipermail/python-dev/2010-August/102842.html I am attaching a patch implementing the proposed method in datetime.py. I will also paste the code below. Note that this is only prototype. Rea

[issue2736] datetime needs an "epoch" method

2010-08-05 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- superseder: -> Add aware local time support to datetime module ___ Python tracker ___ ___ Python-

[issue9525] webbrowser: open new tab in unobtrusive way

2010-08-05 Thread R. David Murray
R. David Murray added the comment: There is the autoraise keyword, which if set to False might do what you want if you are lucky. It only works on linux (see issue 8232) and only with some browsers, and even then the window manager may ignore the hint. If you can figure out a way to make it

[issue1647654] No obvious and correct way to get the time zone offset

2010-08-05 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- superseder: -> Add aware local time support to datetime module ___ Python tracker ___ ___ Pyth

[issue9527] Add aware local time support to datetime module

2010-08-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Merging nosy lists from issues #1647654 and #2736. If datetime.localtime() is implemented, I argue that the features requested in these two issues will become unnecessary. -- nosy: +Neil Muller, amaury.forgeotdarc, andersjm, catlee, davidfraser

[issue5027] xml namespace not understood by xml.sax.saxutils.XMLGenerator

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is about a week too late for 2.6.6. rc1 is just out and only critically needed fixes before the final. For future reference, 'trunk' is frozen. 2.7 patches should be against '2.7maintenace' (or however spelled) but I assume this should apply. 'py3k' is th

[issue6942] email.generator.Generator memory consumption

2010-08-05 Thread R. David Murray
R. David Murray added the comment: When I first looked at this issue, it appeared to me reading the code that the assumption was not considered safe. I'm hoping I can implement something akin to your algorithm in email6 (which, unfortunately, won't make 3.2), but I'm going to have to give it

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-05 Thread Robert Buckley
Robert Buckley added the comment: See attached file -- Added file: http://bugs.python.org/file18411/ISSUE_9519.rtf ___ Python tracker ___

[issue9528] Add pure Python implementation of time module to CPython

2010-08-05 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : The original RFE at issue 7989 was: """ After discussion on numerous issues, python-dev, and here at the PyCon sprints, it seems to be a good idea to move timemodule.c to _timemodule.c and convert as much as possible into pure Python. The same change

[issue9529] Converge re.findall and re.finditer

2010-08-05 Thread MizardX
New submission from MizardX : re.findall and re.finditer has very different signature. One iterates over match objects, the other returns a list of tuples. I can think of two ways to make them more similar: 1) Make match objects iterable over their captures. With this, you could write somethi

[issue9452] configparser support for reading from strings and dictionaries

2010-08-05 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: - Summmary lines in docstrings are one line, as Éric points out. They're summaries, so need not be complete. Use elaboration text as needed, and omit anything that's not relevant in context. An alternate wording to consider: """Raised by strict

[issue9529] Converge re.findall and re.finditer

2010-08-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, moreati, mrabarnett, timehorse stage: -> needs patch type: -> behavior versions: +Python 3.2 ___ Python tracker ___ ___

[issue7894] too aggressive dependency tracking in distutils

2010-08-05 Thread Baiju M
Changes by Baiju M : -- components: +Distutils2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue3821] trace module bug when using --missing

2010-08-05 Thread Eli Bendersky
Eli Bendersky added the comment: TestCoverage.test_coverage_ignore fails when running in verbose mode ("python regrtest.py -v test_trace", or directly "python test_trace.py"), because it attempts to compare stdout.getvalue() with the empty string, while verbose places output there. I will fi

[issue9315] The trace module lacks unit tests

2010-08-05 Thread Eli Bendersky
Eli Bendersky added the comment: The test class added into test_trace.py in issue 3821 fails in verbose mode (see my message http://bugs.python.org/msg113076). I'm merging that class into my larger test_trace.py and will fix this problem, unless you guys have other ideas. -- ___

[issue3854] Document sqlite3 vs. threads

2010-08-05 Thread Gerhard Häring
Gerhard Häring added the comment: Fixed in r83747. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-b

[issue9530] integer undefined behaviors

2010-08-05 Thread John Regehr
New submission from John Regehr : I ran "make test" for today's Python3k snapshot under a tool which detects math operations that the C language considers to have undefined behavior. This was on x86 Linux. The list of undefined behaviors is attached. Hopefully they are self-explanatory, but

<    1   2