[issue10516] Add list.clear() and list.copy()

2010-12-04 Thread Éric Araujo
Éric Araujo added the comment: Eli, I learned this trick recently: :meth:`!copy`. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue10557] Malformed error message from float()

2010-12-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Sat, Dec 4, 2010 at 3:11 PM, Mark Dickinson wrote: > > Mark Dickinson added the comment: >.. One issue is that we'd still need the char* -> double operations, partly >because > PyOS_string_to_double is part of the public API, and partly to continue t

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > As a consequence, extensions built for the official > binaries would crash in the MingW build, and vice versa IMO this is a use case for the new "soabi" tag... -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > Sure - it actually builds a python.exe which is fully working for me. > If you need a proof, please let me know, I have no problem uploading > it somewhere... This is useless, of course. The build must be reproducible. Here is what I did so far: - Ope

[issue10515] csv sniffer does not recognize quotes at the end of line

2010-12-04 Thread Martin Budaj
Martin Budaj added the comment: I'm not sure about what the intended behavior for testAl should be, however I think that the file should be recognized as having one column of data and no delimiter (there is a test for this case in csv.py) and not raise an exception. I attach patch for test_cs

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: > IMO this is a use case for the new "soabi" tag... Unfortunately not: these tags are not supported on Windows. -- ___ Python tracker ___ ___

[issue7213] Popen.subprocess change close_fds default to True

2010-12-04 Thread Paul Moore
Paul Moore added the comment: This bug appears to be Unix-only. On Windows: >>> from subprocess import * >>> p1 = Popen(['cat'], stdin=PIPE, stdout=PIPE) >>> p2 = Popen(['grep', 'a'], stdin=p1.stdout, stdout=PIPE) >>> p1.stdin.write("\n") >>> p1.stdin.close() >>> p2.stdout.read(

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > > IMO this is a use case for the new "soabi" tag... > Unfortunately not: these tags are not supported on Windows. So it's a argument for adding (optional?) soabi tags on Windows! -- ___ Python tracker

[issue10197] subprocess.getoutput fails on win32

2010-12-04 Thread Éric Araujo
Éric Araujo added the comment: > The question that remains is, does removing the {} change the output > obtained from a command sequence in any way? {} are used to group output from the commands into one stream. I believe the stdout and stderr arguments to Popen allow us to get compatible beha

[issue10516] Add list.clear() and list.copy()

2010-12-04 Thread Eli Bendersky
Eli Bendersky added the comment: Éric - thanks, it works [attaching updated patch]. However, don't you think the core problem is a Sphinx bug we should report? Raymond - this happens after final 3.2 release (on Feb 05 2011 if it's on schedule), right? -- Added file: http://bugs.pytho

[issue10516] Add list.clear() and list.copy()

2010-12-04 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file19943/issue10516.3.patch ___ Python tracker ___ ___ Python-bugs-list maili

<    1   2