[issue10379] locale.format() input regression

2010-11-11 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: On Nov 12, 2010, at 12:15 AM, R. David Murray wrote: Now, from the perspective of a *user* of the locale module, I fail to see the point in having both 'format' and 'format_string' exposed. If you want to format a single % specifier, just

[issue10387] ConfigParser's getboolean method is broken

2010-11-11 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: This is unfortunately a backwards compatibility concern. Originally it wasn't made so that set() converts to string or accepts only strings and when the developers realized this mistake, it was too late (there were programs using this

[issue7950] subprocess.Popen documentation should contain a good warning about the security implications when using shell=True

2010-11-11 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Committed (as a warning) in r86419. Thanks, Chris. -- stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7950

[issue644744] bdist_rpm fails when installing man pages

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thomas, sorry if my message was short and unclear. The freeze policy means that distutils does not get new features, only bug fixes. The goal is to free time so that the developers (especially Tarek) can work on distutils2, the next

[issue9006] xml-rpc Server object does not propagate the encoding to Unmarshaller

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Could you reupload your fix as a diff instead of a whole file? See http://www.python.org/dev/patches/ for some help. -- nosy: +loewis type: crash - behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

[issue3243] Support iterable bodies in httplib

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The patch needs to be ported to the py3k branch. -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3243 ___

[issue9322] Don’t fail silently if ext_modules us e absolute paths

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: tarek - eric.araujo components: +Distutils2 stage: - needs patch title: bdist_rpm ext_modules absolute source path fail - Don’t fail silently if ext_modules use absolute paths versions: +3rd party, Python 3.1, Python 3.2

[issue9520] Add Patricia Trie high performance container

2010-11-11 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9520 ___ ___ Python-bugs-list

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-11 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Fred, while you're at it have a look at your message here: http://bugs.python.org/issue9421#msg115558 (also documentation remarks on an otherwise closed issue). -- ___ Python tracker

[issue10387] ConfigParser's getboolean method is broken

2010-11-11 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10387 ___ ___ Python-bugs-list

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

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Is this obsoleted by #9451? -- nosy: +eric.araujo versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7186 ___

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-11-11 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9421 ___ ___ Python-bugs-list

[issue6226] Inconsistent 'file' vs 'stream' kwarg in pprint, other stdlibs

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’m afraid backward compatibility binds us here. For new code however, it would be nice to use one name consistently. My preference goes to “file”, because I really like the print function, but I suspect this could turn into bikeshedding

[issue1109602] Need some setup.py sanity

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1109602 ___ ___ Python-bugs-list mailing

[issue9523] Improve dbm modules

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo title: Improve dbm module - Improve dbm modules ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9523 ___

[issue8634] get method for dbm interface

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The other bug report adds the get method as part of MutableMapping compliance, so I’m closing this as a obsoleted. -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Improve dbm modules

[issue9523] Improve dbm modules

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +Kain94, georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9523 ___ ___

[issue962772] when both maintainer and author provided, author discarded

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: From PEP 345: “Note that this field is intended for use when a project is being maintained by someone other than the original author: it should be omitted if it is identical to Author.” It’s therefore logical that maintainer wins over author:

[issue4972] context managerment support in imaplib, smtplib, ftplib

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: - needs patch title: let's equip ftplib.FTP with __enter__ and __exit__ - context managerment support in imaplib, smtplib, ftplib ___ Python tracker rep...@bugs.python.org

[issue6320] Standard string encodings should include GSM0.38

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6320 ___ ___ Python-bugs-list mailing

[issue7976] warnings should provide a public API for accessing its option parsing code

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: unit test needed - needs patch versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7976 ___

[issue5616] Distutils 2to3 support doesn't have the doctest_only flag.

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils2 -2to3 (2.x to 3.0 conversion tool) stage: - unit test needed versions: +3rd party, Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5616

[issue5616] Distutils 2to3 support doesn't have the doctest_only flag.

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: tarek - eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5616 ___ ___

[issue10149] Data truncation in expat parser

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the patch. There are a few typos (pices, recive) and markup glitches, which you can fix if you’d like to learn more about the markup, or else leave to someone else. Those glitches are: bad indentation, missing blank line to make a

[issue10149] Data truncation in expat parser

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Also, s/receive few calls/receive more than one call/ (clearer IMO). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10149 ___

[issue1051216] make distutils.core.run_setup re-entrant

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hi Bob, thanks for the report and patch. Could you add a test for this behavior? (This is irrelevant for distutils2, where run_setup is gone.) -- assignee: - eric.araujo nosy: +eric.araujo type: feature request - behavior versions:

[issue1051216] make distutils.core.run_setup re-entrant

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: To clarify my position: This does not look like a sane use case, but if the code does not behave as documented it’s a bug that should be fixed. Do you remember how you discovered the bug? On second thought, I wonder if it’s useful to fix this.

[issue6226] Inconsistent 'file' vs 'stream' kwarg in pprint, other stdlibs

2010-11-11 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yes, simply saying make it consistent is a won't fix, because of backward compatibility issues. Specific proposals for specific functions in a way that deals with the backward compatibility issues should be opened as new issues.

[issue8561] Install .exes generated with distutils to not do a CRC check

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the report. I think this is not specific to .exe installers, but an issue that may happen with any kind of download. PyPI publishes MD5 checksums of distributions, which should be checked by tools that download distributions.

[issue8561] Install .exes generated with distutils to not do a CRC check

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: tarek - eric.araujo status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8561 ___

[issue9312] Fix usage of :option: markup in stdlib ReST docs

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I hope the patch is not outdated. Terry, Georg, are you okay with it? -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9312

[issue9312] Fix usage of :option: markup in stdlib ReST docs

2010-11-11 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9312 ___ ___

[issue6226] Inconsistent 'file' vs 'stream' kwarg in pprint, other stdlibs

2010-11-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6226 ___ ___ Python-bugs-list

[issue9338] argparse optionals with nargs='+' can't be followed by positionals

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Looks good to me. Do you want to propose a code patch too, and/or more tests for non-simple cases? -- versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue1553375] Add traceback.print_full_exception()

2010-11-11 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Vinay, your example with communicate only works because you removed the [:-1]. If you run your version against a debug build, the tests will fail. I'm updating the patch with a version that works with both a non-debug and a debug

[issue9312] Fix usage of :option: markup in stdlib ReST docs

2010-11-11 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Ok with me also to commit and backport for next releases. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9312 ___

[issue10008] Two links point to same place

2010-11-11 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Georg, do you have any idea what the source of the index glitch is? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10008 ___

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2010-11-11 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Amaury, thanks for your valuable feedback. 1. I forgot about the python implementation. I am not familiar with the new IO framework. Implemented now. 3. These new SEEK modes should not be used in text mode. In my new patch the modes are

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2010-11-11 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- assignee: pitrou - amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10142 ___ ___

[issue10304] error in tutorial triple-string example

2010-11-11 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: 1. I decided to add '\' since this is what I normally do and also add one sentence explanation. 2. I changed ending from ' ' to ','. Uploaded patch committed in rev86422, rev86423 -- keywords: +patch resolution: - fixed stage: needs

[issue1733259] ZipFile CallBack Needed...

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - rejected status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1733259 ___

[issue1777134] minidom pretty xml output improvement

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1777134 ___ ___ Python-bugs-list

[issue3720] segfault in for loop with evil iterator

2010-11-11 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Too late for 2.6.6 ;-) -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3720 ___

[issue4015] Make installed scripts executable on windows

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -terry.reedy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4015 ___

[issue4037] doctest.py should include method descriptors when looking inside a class __dict__

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4037 ___ ___ Python-bugs-list

[issue5578] unqualified exec in class body

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5578 ___ ___

[issue10392] GZipFile crash when fileobj.mode is None

2010-11-11 Thread Brad Greenlee
New submission from Brad Greenlee b...@footle.org: If GZipFile.__init_ is passed a fileobj that has a mode attribute set to None, it will crash with a 'NoneType' object is unsubscriptable error when it tries to read the first character of the mode. I ran across this when trying to pass

[issue9312] Fix usage of :option: markup in stdlib ReST docs

2010-11-11 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: On Fri, Nov 12, 2010 at 05:05, Terry J. Reedy rep...@bugs.python.orgwrote: Please let me know if there are problems applying it and with which versions, I will fix it up to bring it up to date. It's a tricky patch (affects many files in many

[issue6216] Raise Unicode KEEPALIVE_SIZE_LIMIT from 9 to 32?

2010-11-11 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Two weeks left for 3.2 ;-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6216 ___ ___

[issue6335] Add support for mingw

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6335 ___ ___

[issue9312] Fix usage of :option: markup in stdlib ReST docs

2010-11-11 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: Removed file: http://bugs.python.org/file19577/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9312 ___

[issue6942] email.generator.Generator memory consumption

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6942 ___ ___ Python-bugs-list

[issue9312] Fix usage of :option: markup in stdlib ReST docs

2010-11-11 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Yes, please apply. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9312 ___ ___ Python-bugs-list

[issue10008] Two links point to same place

2010-11-11 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: It is indeed what Hirokazu suggested: there were two .. class:: ZipFile entries in the docs. I've added :noindex: now to one of them in r86425. -- resolution: - fixed status: open - closed ___

[issue1625576] add ability to specify name to os.fdopen

2010-11-11 Thread Collin Winter
Collin Winter coll...@gmail.com added the comment: Christian: yes, that sounds fine. -- assignee: collinwinter - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1625576 ___

[issue1625576] add ability to specify name to os.fdopen

2010-11-11 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Collin: I doubt Christian will do much about this anymore :) -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1625576 ___

<    1   2