[issue9624] 2755

2010-08-28 Thread Jay Ballard
Jay Ballard jay.ballar...@gmail.com added the comment: I'm trying to install Python -- title: failure to find drive error message when trying to install something unspecified - 2755 Added file: http://bugs.python.org/file18660/unnamed Added file:

[issue9694] argparse: Default Help Message Lists Required Args As Optional

2010-08-28 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: I think this is still really a feature request. We can't just change the text from optional - that would silently change a large number of help messages without any warning. So to fix this bug, we're going to have to add an API to

[issue9704] 3.2 - zlib.pc.in is missing in source tree

2010-08-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Ok, I have now added these files in r84332. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9704

[issue9696] xdrlib's pack_int generates DeprecationWarnings for negative in-range values

2010-08-28 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9696 ___ ___ Python-bugs-list

[issue9053] distutils compiles extensions so that Python.h cannot be found

2010-08-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9053 ___ ___

[issue5217] testExtractDir (test.test_zipfile.TestWithDirectory) fails when python built with srcdir != builddir

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

[issue9702] Python violates most users expectations via the modification differences of immutable and mutable objects in methods

2010-08-28 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This is not an appropriate discussion for the bug tracker. Please take it to the Python mailing list. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9702

[issue9702] Python violates most users expectations via the modification differences of immutable and mutable objects in methods

2010-08-28 Thread david
david db.pub.m...@gmail.com added the comment: On 28 August 2010 22:34, R. David Murray rep...@bugs.python.org wrote: R. David Murray rdmur...@bitdance.com added the comment: This is not an appropriate discussion for the bug tracker.  Please take it to the Python mailing list. Fair

[issue9702] Python violates most users expectations via the modification differences of immutable and mutable objects in methods

2010-08-28 Thread david
david db.pub.m...@gmail.com added the comment: On 28 August 2010 22:41, david rep...@bugs.python.org wrote: david db.pub.m...@gmail.com added the comment: On 28 August 2010 22:34, R. David Murray rep...@bugs.python.org wrote: R. David Murray rdmur...@bitdance.com added the comment: This

[issue2830] Copy cgi.escape() to html

2010-08-28 Thread Pablo Mouzo
Changes by Pablo Mouzo pablomo...@gmail.com: Removed file: http://bugs.python.org/file18636/issue2830.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2830 ___

[issue2830] Copy cgi.escape() to html

2010-08-28 Thread Pablo Mouzo
Pablo Mouzo pablomo...@gmail.com added the comment: I'm attaching a new patch without escaping the slash. -- Added file: http://bugs.python.org/file18667/issue2830.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2830

[issue1697175] winreg module for cygwin?

2010-08-28 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- status: open - languishing versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1697175 ___

[issue1111130] tkSimpleDialog broken on MacOS X (Aqua Tk)

2010-08-28 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I think we need a vendor problem resolution :) Closed as 'works for me' instead since that's effectively what Ned said. -- nosy: +r.david.murray resolution: - works for me status: open - closed

[issue1677] Ctrl-C will exit out of Python interpreter in Windows

2010-08-28 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I'm not able to reproduce this. Do you have anything installed like pyreadline? -- assignee: ronaldoussoren - nosy: +brian.curtin versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue2830] Copy cgi.escape() to html

2010-08-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The docs are still not updated for the quote. I wonder if we shouldn't make the second argument True by default, while we're at it (or ignore it altogether and always escape everything) -- it would make the escape() much safer to use. Also

[issue9705] limit dict.update() to a given list of keys

2010-08-28 Thread Ultrasick
New submission from Ultrasick pyt...@ontheserver.de: my_dict_1 = {'a' : 1, 'b' : 1} my_dict_2 = {'a' : 2, 'b' : 2, 'c' : 2} my_dict_1.update(my_dict_2, ['a', 'c']) should result for my_dict_1: {'a' : 2, 'b' : 1, 'c' : 2} -- components: Interpreter Core messages: 115157 nosy:

[issue1512791] module wave does no rounding

2010-08-28 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks, Neil. Committed to py3k in r84341. I'm a little reluctant to backport this to the maintenance branches, though, since it is a behaviour change, and it doesn't seem to me to be a critical bug fix. Any thoughts? --

[issue1512791] module wave does no rounding

2010-08-28 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I also meant to add that I left the int() call in, for slightly obscure reasons: round doesn't currently return an int for all numeric types---it does for ints, floats and Decimal instances, but not for Fraction instances (arguably a

[issue1512791] module wave does no rounding

2010-08-28 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1512791 ___ ___

[issue9705] limit dict.update() to a given list of keys

2010-08-28 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Please post to python-ideas first, and note a moratorium on builtin changes is inplace. -- nosy: +benjamin.peterson resolution: - rejected status: open - closed ___ Python tracker

[issue9574] complex does not parse strings containing decimals

2010-08-28 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Unassigning myself from this one, though I'll review a patch if anyone wants to write one. After thinking about it a bit, I'm -0 on allowing the extra whitespace. The main issue for me is that it opens up a can of worms about what should

[issue1512791] module wave does no rounding

2010-08-28 Thread Neil Tallim
Neil Tallim red.hamst...@gmail.com added the comment: I use the wave module a fair bit and never once encountered this issue, so, yeah, it's probably a pretty low priority for backporting. It's definitely an edge-case sort of thing, the likes of which anyone affected has already handled in

[issue9574] complex does not parse strings containing decimals

2010-08-28 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: If someone does want to produce a patch, here's the grammar that I suggest, in pseudo BNF form. This would be reasonably simple to implement, and is also simple to describe. whitespace = ' ' | '\t' | '\n' | '\v' | '\f'# include other

[issue1512791] module wave does no rounding

2010-08-28 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for the feedback. I'm going to make an executive decision not to backport. Closing. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1512791

[issue1868] threading.local doesn't free attrs when assigning thread exits

2010-08-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thank you Gregory. I've committed the patch in r84344 (py3k), r84345 (3.1) and r84346 (2.7). -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker

[issue9706] ssl errors checking

2010-08-28 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' g.rod...@gmail.com: There are various errors I think ssl module should check. In the examples below I'll always refer to ssl.wrap_socket() function but I expect that ssl.SSLContext suffers the exact same issues. === server side mode === When server_side

[issue9706] ssl errors checking

2010-08-28 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9706 ___ ___ Python-bugs-list

[issue9705] limit dict.update() to a given list of keys

2010-08-28 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: FWIW, the usual way to spell this in Python is: my_dict_1.update((k, my_dict_2[k]) for k in ['a', 'c']) We try to keep filtering operations separate from map/fold operations for orthognality. -- nosy: +rhettinger

[issue9703] default param values

2010-08-28 Thread vladimir
vladimir golubovic.vladimir...@gmail.com added the comment: On Sat, Aug 28, 2010 at 12:34 AM, Georg Brandl rep...@bugs.python.orgwrote: changes parameter value. It' would be understandable, as exmple in documentation with acumulating value of L, that changing parameter in side class affect

[issue9703] default param values

2010-08-28 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Rest assured: it's expected behavior. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9703 ___

[issue9707] Reworked threading.local reference implementation

2010-08-28 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: This is a reworked reference implementation of _threading_local without the __del__ quirks. The _patch() ugliness is unfortunately still needed because of a doctest checking that derived __slots__ attributes aren't actually thread-local.

[issue9574] allow whitespace around central '+' in complex constructor

2010-08-28 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- title: complex does not parse strings containing decimals - allow whitespace around central '+' in complex constructor ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9574

[issue4835] SIZEOF_SOCKET_T not defined

2010-08-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r84347 (py3k) and r84348 (3.1). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org

[issue9706] ssl errors checking

2010-08-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: SSLError: _ssl.c:296: Both the key certificate files must be specified for server-side operation I would change this behavior in SSLSocket constructor and raise ValueError if server_side is True and certfile is None. Good idea. Also, the

[issue9708] cElementTree iterparse does not support parser argument

2010-08-28 Thread Adrian Nye
New submission from Adrian Nye adrian_...@yahoo.com: The (python) ElementTree library began in 2.7 to support the parser argument, but cElementTree does not support it. Either cElementTree should support it, or the documentation should mention that it does not. -- components: XML

[issue9708] cElementTree iterparse does not support parser argument

2010-08-28 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9708 ___ ___ Python-bugs-list

[issue9574] allow whitespace around central '+' in complex constructor

2010-08-28 Thread Jervis Whitley
Jervis Whitley jervi...@gmail.com added the comment: I can write a documentation patch for this: http://docs.python.org/library/functions.html?highlight=complex#complex to highlight the expected format of the string argument. As others have pointed out here, there are a number of other

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

2010-08-28 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: Adjusted patch per R. David's comment. I obviously think it should be a full red warning box (that's how it is in my patch), but my opinion clearly isn't an outside one. Also, Ping/Bump on finally getting this applied. -- Added