[issue7900] posix.getgroups() failure on Mac OS X

2010-08-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: Some else backported to 3.1 (that is, 3.1 already contained the fix when I tried the svnmerge) Backported to 2.7 in r83643 Backported to 2.6 in r83650 -- Added file: http://bugs.python.org/file18336/smime.p7s ___

[issue7900] posix.getgroups() failure on Mac OS X

2010-08-03 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue9455] platform test borked in 2.7 branch on Power PC

2010-08-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r83644 (3.x), r83645 (3.1), r83646 (2.7), r83651 (2.6) I'm not yet closing the issue, I want to check the buildbots later today. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.6, Python 3.1,

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2010-08-03 Thread Trundle
Changes by Trundle : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue9458] xml.etree.ElementTree.write(): encoding handling problems

2010-08-03 Thread Éric Araujo
Éric Araujo added the comment: Is this a behavior bug or a doc bug? -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list maili

[issue9458] xml.etree.ElementTree.write(): encoding handling problems

2010-08-03 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +effbot, flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue8312] Add post/pre hooks for distutils commands

2010-08-03 Thread Éric Araujo
Éric Araujo added the comment: And if you don’t allow hooks on other commands, people can still subclass them to add hooks support. I guess it’s best to keep it a consenting adults matter and not adding a restriction that can easily be circumvented. -- ___

[issue5752] xml.dom.minidom does not escape CR, LF and TAB characters within attribute values

2010-08-03 Thread W. Trevor King
W. Trevor King added the comment: And while we're at it, we should also .replace('&', '&').replace('"', """).replace('<', '<') which would have to go at the beginning to avoid double-escaping the '&'. We could use xml.sax.saxutils.escape to do all the escaping rather than chaining replace

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

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

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Georg Brandl
Georg Brandl added the comment: The 3.2 docs now don't mention ConfigParser prominently anymore (as part of a different patch that added some features). Could be done in other branches as well. -- ___ Python tracker

[issue6751] Default return value in ConfigParser

2010-08-03 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +lukasz.langa, merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue6751] Default return value in ConfigParser

2010-08-03 Thread Éric Araujo
Éric Araujo added the comment: Why is it needed to add varargs and kwargs instead of only a new “default” argument? -- ___ Python tracker ___ ___

[issue1410680] Add 'surgical editing' to ConfigParser

2010-08-03 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Łukasz Langa
Łukasz Langa added the comment: Yes, so the patch part is already solved. The thing that is still open to discussion is whether we should do something like this: 1. Pending-Deprecate naked the ConfigParser class in 3.2. 2. Deprecate it in 3.3. 3. Remove it in 3.4 and rename SafeConfigParser to

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Michael Foord
Michael Foord added the comment: +1 for deprecation. Nobody *should* be using ConfigParser anyway, and of those who are 99% either wouldn't notice or would have bugs in their code *fixed* by the rename, so I can't see much of a downside. -- ___ Pyt

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Éric Araujo
Éric Araujo added the comment: If ConfigParser is not documented first, the name “SafeConfigParser” becomes strange—safe compared to what? These names have an historical motivation and could become clearer if renamed, but I don’t know if python-dev will agree with this deprecation. Renaming a

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Łukasz Langa
Łukasz Langa added the comment: > If ConfigParser is not documented first, the name “SafeConfigParser” becomes > strange—safe compared to what? The first sentence is "Derived class of ConfigParser that implements a sane variant of the magical interpolation feature." I think it's enough for an

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Georg Brandl
Georg Brandl added the comment: Agree with Michael, +1. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue9292] Dead code in Modules/pyexpat.c

2010-08-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-08-03 Thread Ray.Allen
Ray.Allen added the comment: > Doc review: Small typo, Flase vs False. Also, exceptions are "raised" rather > than "thrown" in Python land (same for the docstring). Both exception > references should be :exc:`OSError`. Here fixed these doc problems. Thanks for reviewing! Besides, the reason

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-08-03 Thread Georg Brandl
Georg Brandl added the comment: Thanks for bringing that up, I've now fixed all these instances of "throw" that should be "raise". -- ___ Python tracker ___

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Éric Araujo
Éric Araujo added the comment: > The first sentence is "Derived class of ConfigParser that implements > a sane variant of the magical interpolation feature." I think it's > enough for an explanation. True. >> but I don’t know if python-dev will agree with this deprecation. I wrote that before

[issue9061] cgi.escape Can Lead To XSS Vulnerabilities

2010-08-03 Thread Éric Araujo
Éric Araujo added the comment: Are 2.6 docs built by an older Sphinx version? I wonder why the text uses “the :func:`quoteattr` function in the :mod:`xml.sax.saxutils` module” and not “:func:`~xml.sax.saxutils.quoteattr” to get a direct link (or even just “consider using :func:`xml.sax.saxuti

[issue9061] cgi.escape Can Lead To XSS Vulnerabilities

2010-08-03 Thread Georg Brandl
Georg Brandl added the comment: No, that's just a relic from the olden LaTeX days, and I've not paid attention enough to fix it :) -- ___ Python tracker ___

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Łukasz Langa
Łukasz Langa added the comment: Eric, while I agree that would be nice as well, renaming each and every parser in the module will be more problematic for sure. *** TO ALL: WHAT DO YOU SAY TO A PATH LIKE THIS *** 1) In 3.2 we add an alias: InterpolatingConfigParser = SafeConfigParser 1.1)

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: 2010/8/3 Łukasz Langa : > 1) In 3.2 we add an alias: > > InterpolatingConfigParser = SafeConfigParser I'd rather see the class renamed and SafeConfigParser made the alias in 3.2. Otherwise, +1 for this plan (msg 112589), as there's no silent breakage. ---

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Michael Foord
Michael Foord added the comment: I'd be happy with aliasing SafeConfigParser to ConfigParser in 3.2. Can we just do this without a deprecation process? -- ___ Python tracker ___

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Making ConfigParser an alias for SafeConfigParser creates a silent behavioral change. An application developer may not realize that users rely on the "full" ConfigParser anti-glory and end up breaking their configurations without so much as providing a head

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Łukasz Langa
Łukasz Langa added the comment: Unfortunately, I have to agree with Fred here. We'll stick to renaming and the deprecation process. -- ___ Python tracker ___ ___

[issue9061] cgi.escape Can Lead To XSS Vulnerabilities

2010-08-03 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Such constructs are notoriously tedious to grep for; patches are welcome. -- nosy: +fdrake ___ Python tracker ___ __

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Michael Foord
Michael Foord added the comment: Sorry - I misunderstood your earlier suggestion Fred. configparser.ConfigParser is the *natural* name for SafeConfigParser. I'm strongly +1 on moving towards that. (I doubt there would *actually* be any real code breakage if we did it earlier though ;-) -

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Michael Foord
Michael Foord added the comment: By the way, given that deprecation warnings are silent I am strongly -1 on removing the ConfigParser name altogether. That would cause far more breakage. As ConfigParser should not be used at all, and SafeConfigParser provides its functionality minus bugs, Saf

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-03 Thread Steven Bethard
Steven Bethard added the comment: Yep, I'm fine with you committing this (after adding the prefix="+-/" you suggested). I don't have time right now to test the patches, but the code looks about right, and the tests ran fine for you, so I'm fine with it. -- ___

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Éric Araujo
Éric Araujo added the comment: Agree on the proposal of Łukasz, with the caveat mentioned by Fred (rename the class and make the old name an alias, for pickle and all). I’ll let Michael and Fred decide if the name ConfigParser has to go or not, I’m happy enough that the class will be deprecat

[issue4188] Lib/threading.py causes infinite recursion when running as verbose

2010-08-03 Thread Meador Inge
Changes by Meador Inge : -- nosy: +minge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-08-03 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Hi Ezio, what's the status on this issue for 2.6.6rc1? -- ___ Python tracker ___ ___ Python-bugs-li

[issue5248] Adding T_SIZET to structmember.h

2010-08-03 Thread Meador Inge
Changes by Meador Inge : -- nosy: +minge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue1172711] long long support for array module

2010-08-03 Thread Meador Inge
Changes by Meador Inge : -- nosy: +minge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue7828] chr() and ord() documentation for wide characters

2010-08-03 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue7225] fwrite() compiler warnings

2010-08-03 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue7186] Document specialness of __doc__, and possibly other "special" attributes

2010-08-03 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue7141] 2to3 should add from __future__ import print_statement

2010-08-03 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8450] httplib: false BadStatusLine() raised

2010-08-03 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8867] serve.py (using wsgiref) cannot serve Python docs under Python3 due to encoding issues

2010-08-03 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8906] Document TestCase attributes in class docstring

2010-08-03 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue9452] configparser support for reading from strings and dictionaries

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

[issue3871] cross and native build of python for mingw32 with distutils

2010-08-03 Thread LRN
LRN added the comment: Here's an alternative patch that enables Python building with MinGW/MSys I've skimmed rpetrov's patch, and it seems that my patch is more about building Python than about distutils (i've patched distutils only as far as the compilation of Python itself (with the extensio

[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

2010-08-03 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue6785] IncompleteRead / BadStatus when parsing http://peakoil.mobi

2010-08-03 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue9452] configparser support for reading from strings and dictionaries

2010-08-03 Thread Łukasz Langa
Łukasz Langa added the comment: Updated patch after discussion on #python-dev: - PEP8 compliant names used: read_file, read_string, read_dict. readfp has been PendingDeprecated - documentation updates - option validation is now optional with the use of `strict=` argument in the parser's __ini

[issue9452] configparser support for reading from strings and dictionaries

2010-08-03 Thread Łukasz Langa
Łukasz Langa added the comment: FTR, some people questioned the purpose of read_dict(). Let me summarize this very briefly here: - the API is using dictionaries similar to those in defaults= but has one level of depth more (sections) - initializing a parser with a dictionary produces syntax t

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Michael Foord
Michael Foord added the comment: Getting *rid* of the name ConfigParser would be annoying and cause *gratuitous* code breakage. If we are going to keep the name but get rid of the "unsafe" version then we can only replace it with what is now SafeConfigParser - as it is almost entirely compat

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Łukasz Langa
Łukasz Langa added the comment: There IS one more option that seems to be better than all of the above: 1. Add an interpolation=True argument to RawConfigParser __init__ and move the interpolating functionality from SafeConfigParser to it. 2. Rename RawConfigParser to ConfigParser leaving the

[issue9352] argparse eats characters when parsing multiple merged short options

2010-08-03 Thread Catherine Devlin
Catherine Devlin added the comment: Attaching a test to verify parse failure on mismatched prefix (-abc or +abc). Steven's patch makes it pass. -- nosy: +catherine versions: -Python 2.7, Python 3.2 Added file: http://bugs.python.org/file18342/test_multiple_short_same_prefix.patch _

[issue9352] argparse eats characters when parsing multiple merged short options

2010-08-03 Thread Catherine Devlin
Catherine Devlin added the comment: Updated Steven's patch; no changes, but now it knows the new context so that ``patch -p0`` won't fail. -- Added file: http://bugs.python.org/file18343/multiple_short_same_prefix_new.patch ___ Python tracker

[issue9450] readline.replace_history_item leaks memory.

2010-08-03 Thread Mark Dickinson
Mark Dickinson added the comment: Leaks in replace_history_item and remove_history_item fixed in r83667 (py3k), r83668 (release31-maint) and r83669 (release27-maint). -- versions: +Python 2.7, Python 3.1 ___ Python tracker

[issue9495] argparse unittest tracebacks are confusing if an error is raised when not expected

2010-08-03 Thread R. David Murray
New submission from R. David Murray : In python3 if an error is raised from ErrorRaisingArgumentParser that is not caught by an assertRaises, unittest prints out the traceback, which is a chained traceback including the SystemExit that the argparse test suite catches in order to produce the Ar

[issue7003] finish documentation of user local paths

2010-08-03 Thread Mark Lawrence
Mark Lawrence added the comment: Should this now go to d...@python or is it best left with Christian? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue7141] 2to3 should add from __future__ import print_statement

2010-08-03 Thread Mark Lawrence
Mark Lawrence added the comment: @Daniel there's far chance of this happening if you could provide a patch. -- nosy: +BreamoreBoy versions: -Python 2.7 ___ Python tracker ___ __

[issue7186] Document specialness of __doc__, and possibly other "special" attributes

2010-08-03 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mail

[issue9495] argparse unittest tracebacks are confusing if an error is raised when not expected

2010-08-03 Thread R. David Murray
R. David Murray added the comment: I can't find anyway to actually do what I suggested. There doesn't seem to be any way to break the traceback chain. -- ___ Python tracker ___

[issue9340] argparse parse_known_args does not work with subparsers

2010-08-03 Thread Catherine Devlin
Catherine Devlin added the comment: Some basic unit tests for parse_known_args on a subparser. -- keywords: +patch nosy: +catherine Added file: http://bugs.python.org/file18344/test_subparser_parse_known_args.patch ___ Python tracker

[issue7225] fwrite() compiler warnings

2010-08-03 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this is still an issue, sorry I don't have gcc 4.3.2 to try it out on. -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue8065] Memory leak in readline.get_current_history_length

2010-08-03 Thread Mark Dickinson
Mark Dickinson added the comment: I've fixed this leak in r83670 through r83672. It's still using the old, inefficient method (get the state, read the length, free the state), because without good tests I don't want to disturb things too much. In particular, it's not clear whether libedit k

[issue9450] readline.replace_history_item leaks memory.

2010-08-03 Thread Mark Dickinson
Mark Dickinson added the comment: The other leaks have now been fixed too; see issue 8065 for details. -- assignee: -> mark.dickinson resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue7828] chr() and ord() documentation for wide characters

2010-08-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: georg.brandl -> d...@python nosy: +d...@python, haypo versions: -Python 2.6, Python 2.7 ___ Python tracker ___ __

[issue9340] argparse parse_known_args does not work with subparsers

2010-08-03 Thread Catherine Devlin
Changes by Catherine Devlin : Removed file: http://bugs.python.org/file18344/test_subparser_parse_known_args.patch ___ Python tracker ___ ___

[issue8867] serve.py (using wsgiref) cannot serve Python docs under Python3 due to encoding issues

2010-08-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a simple patch. -- keywords: +patch nosy: +pitrou Added file: http://bugs.python.org/file18345/serve.patch ___ Python tracker ___ __

[issue8867] serve.py (using wsgiref) cannot serve Python docs under Python3 due to encoding issues

2010-08-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r83673. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-b

[issue9340] argparse parse_known_args does not work with subparsers

2010-08-03 Thread Catherine Devlin
Catherine Devlin added the comment: Some simple unit tests for parse_known_args on a parser with a subparser. They are indeed failing on the trunk. -- Added file: http://bugs.python.org/file18346/test_subparser_parse_known_args.patch ___ Python tr

[issue9496] Unittests for Lib/rlcompleter.py

2010-08-03 Thread Michele Orrù
New submission from Michele Orrù : The attached patch tests Lib/rlcompleter.py. -- components: Tests files: testrlcompleter.patch keywords: patch messages: 112636 nosy: ezio.melotti, maker priority: normal severity: normal status: open title: Unittests for Lib/rlcompleter.py type: featur

[issue9497] test_ssl memory leak

2010-08-03 Thread Mark Dickinson
New submission from Mark Dickinson : On OS X 10.6, with a 64-bit build of Python, regrtest -L is showing leaks from test_ssl. Here are the first few lines of the output; I've also attached the full output. newton:py3k dickinsm$ ./python.exe -m test.regrtest -L test_ssl [1/1] test_ssl 1 test

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: It doesn't make sense to make any of these changes to Python 2; this really should have been separate from the documentation issue. That's probably understood by everyone, but explicit is better. Merging implementations --- - I've no

[issue1777398] IDLE Freezes After Running Scripts

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Intermittent bugs involving 3rd-party packages are hard to even confirm, let alone fix. 2.6.6rc will be out today, so no fix for that. IDLE on 3.1.2 is more stable than it was on 3.0, so I will not assume that the problem still exists on the even newer 2.7. A

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Łukasz Langa
Changes by Łukasz Langa : -- versions: -Python 2.6, Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

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

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker ___ __

[issue2620] Multiple buffer overflows in unicode processing

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: open -> closed versions: -Python 2.4, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list ma

[issue9496] Unittests for Lib/rlcompleter.py

2010-08-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: >From a quick look the patch looks nice, thanks! There's a typo ("builtinis namespace"). -- nosy: +pitrou versions: +Python 2.7, Python 3.1 ___ Python tracker _

[issue9496] Unittests for Lib/rlcompleter.py

2010-08-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +r.david.murray stage: -> patch review type: feature request -> behavior ___ Python tracker ___ _

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this still an issue in 2.7 or 3.x? Or should it be closed? -- nosy: +tjreedy versions: +Python 2.7 -Python 2.5, Python 2.6 ___ Python tracker ___

[issue1758146] Crash in PyObject_Malloc

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this still an issue for 2.7 or 3.x? Is it actually a Python issue or should it be closed? -- nosy: +tjreedy ___ Python tracker ___ ___

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-08-03 Thread Michael Foord
Michael Foord added the comment: If we merge the functionality in a single class with a new name then I guess that is fine as it will simplify the documentation rather than complexify it (good word hey). We still need to *mention* the old names so that people finding them in old code can find

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-03 Thread R. David Murray
R. David Murray added the comment: Committed (with the additional test) to py3k in r83657, and 2.7 in r83676. -- stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue9497] test_ssl memory leak

2010-08-03 Thread Mark Dickinson
Mark Dickinson added the comment: >From a bit of experimentation, ssl._ssl._test_decode_cert seems to be the call >that's leaking. I haven't studied the source to see if I can pinpoint the >cause yet. -- ___ Python tracker

[issue9496] Unittests for Lib/rlcompleter.py

2010-08-03 Thread Mark Dickinson
Mark Dickinson added the comment: The new tests pass on OS X, using both GNU readline (v6.1) and the system libedit. -- nosy: +mark.dickinson ___ Python tracker ___

[issue1540529] cgi.py error on parsing/handling content-disposition

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 3.1.2, cgi.parse_header gives the same correct response as cgtest.parse_header, so I will assume that the same is true in 2.7 until demonstrated otherwise. -- nosy: +tjreedy resolution: -> fixed status: open -> closed __

[issue3467] sqlite3 path is hard coded in setup.py

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, should this be closed? fixed? won't fix? out-of-date? The link to Modules/Setup does not work for py3k branch. -- nosy: +tjreedy ___ Python tracker

[issue4956] Py_Initialize needs to be done before file load (on msys+wine)

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5202] wave.py cannot write wave files into a shell pipeline

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this still a problem with 2.7-3.2? GP, what state do you think either patch is in? -- nosy: +tjreedy stage: -> patch review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker

[issue3067] setlocale fails with unicode strings on Py2 and with byte strings on Py3

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The docs say that the locale arg should be None, tuple, or string, so I take that to mean that Unicode should be OK for 2.x, and that would help porting to 3.x. If bytes are rejected in 3.x, there should be TypeError raised, not ValueError, as is still the ca

[issue9497] test_ssl memory leak

2010-08-03 Thread Mark Dickinson
Mark Dickinson added the comment: The fix turned out to be as simple as adding a single X509_free call to _test_decode_cert. Fixed in revisions r83677 (py3k), r83679 (release31-maint), r83680 (release27-maint) and r83686 (release26-maint). [The last with Barry's approval.] -- assig

[issue3511] Incorrect charset range handling with ignore case flag?

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: EM and MB seemed to agree on closing this. -- nosy: +tjreedy resolution: -> wont fix status: open -> closed ___ Python tracker ___

[issue2200] find_executable fails to find .bat files on win32

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1978] Python(2.5.1) will be crashed when i use _ssl module in multi-threads environment in linux.

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue9458] xml.etree.ElementTree.ElementTree.write(): encoding handling problems

2010-08-03 Thread Uli Kunitz
Uli Kunitz added the comment: I believe handling of TextIOWrapper streams is broken in xml.etree.ElementTree.ElementTree.write(). First example: import sys from xml.etree import ElementTree element = ElementTree.fromstring("""foobar""") element_tree = ElementTree.ElementTree(element) assert

[issue5414] asciibin.a2b_uu returns unexpected values on non ascii data

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.1.2, a2b_uu() now raises TypeError: a2b_uu() takes exactly 1 argument (0 given) as it should. I assume the same of 2.7. The manual claims, in effect, that a2b_uu(b2a_uu(data))== data. The behavior of a2b_uu with any other input (not from b2a_uu) seems to be

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue3265] Python-2.5.2/Modules/_ctypes/malloc_closure.c:70: error: `MAP_ANONYMOUS' undeclared

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should this be closed as won't fix? outofdate? superseded by 5504? Does it even apply to 2.7 or 3.x? -- nosy: +tjreedy ___ Python tracker ___ __

[issue1598] unexpected response in imaplib

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___ ___

[issue3266] Python-2.5.2/Modules/mmapmodule.c:915: error: `O_RDWR' undeclared

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Still a problem with 2.7 or later? -- nosy: +tjreedy versions: +Python 2.7 -Python 2.5 ___ Python tracker ___ __

  1   2   3   >