[issue7245] better Ctrl-C support in pdb (program can be resumed) (issue216067)

2010-03-21 Thread Ilya Sandler
Ilya Sandler added the comment: I'm attaching a test for Ctrl-C behavior on Linux (the patch itself works on Windows too, but I am not sure how to send Ctrl-C on windows programatically and subprocess does not have this functionality either). The test_pdb2.py module is generic and can be exte

[issue6543] traceback presented in wrong encoding

2010-03-21 Thread Sean Reifschneider
Changes by Sean Reifschneider : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue6543] traceback presented in wrong encoding

2010-03-21 Thread Sean Reifschneider
Sean Reifschneider added the comment: >From a cursory glance, I don't see any problems with this patch. Though I >admit that I don't know the traceback code nearly as well as you, Amaury. The >tests pass on py3k trunk on my Linux box. If you want other review, perhaps ask on python-dev? --

[issue1700304] pydoc.help samples sys.stdout and sys.stdin at import time

2010-03-21 Thread François Granade
François Granade added the comment: issue8198 is related. Re. 1700304, it's easy to work around by writing from pydoc import help import sys help.output = sys.stdout help.input = sys.stdin -- nosy: +farialima ___ Python tracker

[issue8198] Importing pydoc and overwriting sys.stdout, causes one char to be sent to the console when calling help()

2010-03-21 Thread François Granade
New submission from François Granade : When the "pydoc" module is imported, and the sys.stdout is overwriten, a end-of-line is sent to the console (on sdtout) when the help() function is sent. to reproduce (this is on Python 2.5 but the same happens on Pythjon 3.1): bash-3.2$ python2.5 -c "imp

[issue8006] os.popen in Python 3.1

2010-03-21 Thread R. David Murray
R. David Murray added the comment: A short snipped of example code that works in python2 and fails in python3 would be helpful in deciding whether or not this is a bug that needs fixing in python3. Something that doesn't involve gnuplot, just python itself. -- __

[issue4282] profile doesn't support non-UTF8 source code

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: Fixed by r79271 (py3k), r79272 (3.1). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue4735] An error occurred during the installation of assembly

2010-03-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue8195] Crash in sqlite3.create_collation() with a string non encodable to utf8

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: My first sentence doesn't mean anything! I wanted to write: sqlite.connect(":memory:").create_collation, "\uDC80", collation_cb) crashs because _PyUnicode_AsString() returns NULL on error, and the result is not checked. -- __

[issue1745] Backport of PEP 3102 "keyword-only arguments" to 2.6

2010-03-21 Thread George Sakkis
George Sakkis added the comment: FWIW I updated the patch to r79264; it applies cleanly and passes the tests but other than that I can't tell if it's ready. It would be nice to have it in 2.7 though. -- Added file: http://bugs.python.org/file16618/backport-keyword-only-arguments-full

[issue8197] Fatal error on thread creation in low memory condition: local storage

2010-03-21 Thread STINNER Victor
Changes by STINNER Victor : -- priority: -> low title: Fatal error on thread creation in low memory condition (2) -> Fatal error on thread creation in low memory condition: local storage ___ Python tracker ___

[issue8197] Fatal error on thread creation in low memory condition (2)

2010-03-21 Thread STINNER Victor
New submission from STINNER Victor : I wrote a patch to preallocate Python thread state before creating the thread to avoid a fatal error: issue7544 (it's now closed). This patch is not enough to avoid fatal errors in low memory condition. Just after the creation of the thread, _PyGILState_Not

[issue8074] Fail-fast behavior for unittest

2010-03-21 Thread Michael Foord
Michael Foord added the comment: Failfast option added, committed revision 79265. Still needs documentation. Ctrl-C handling not yet done. Slightly more complex as it needs to play well with tests that test SIGINT handling. -- resolution: -> accepted

[issue7774] sys.executable: wrong location if zeroth command argument is modified.

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: The initial problem (test_subprocess failures) is solved thanks to different fixes. I consider that we can close this issue. Use non portable tricks to get the real program name if argv[0] is invalid doesn't sound like something importat. If someone changes a

[issue7815] Regression in unittest traceback formating extensibility

2010-03-21 Thread Michael Foord
Michael Foord added the comment: Committed revision 79263. As external modules are already using __unittest it would be backwards incompatible not to restore the functionality. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___

[issue8196] sqlit3.paramstyle reported as 'qmark'

2010-03-21 Thread Santiago Gala
New submission from Santiago Gala : >>> import sqlite3 >>> sqlite3.paramstyle 'qmark' The documentation claims that sqlite3 accepts 'named' paramstyle, and :PEP:`249` says in footnote 2: Module implementors should prefer 'numeric', 'named' or 'pyformat' over the other formats b

[issue8195] Crash in sqlite3.create_collation() with a string non encodable to utf8

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: (oops, my patch included tabulations!) -- Added file: http://bugs.python.org/file16617/sqlite_collation-py3k.patch ___ Python tracker ___ __

[issue8195] Crash in sqlite3.create_collation() with a string non encodable to utf8

2010-03-21 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file16616/sqlite_collation-py3k.patch ___ Python tracker ___ ___ Python-bugs-l

[issue8195] Crash in sqlite3.create_collation() with a string non encodable to utf8

2010-03-21 Thread STINNER Victor
New submission from STINNER Victor : sqlite.connect(":memory:").create_collation, "\uDC80", collation_cb) because _PyUnicode_AsString() returns NULL and error, and the result is not checked. Attached patch fixes the crash. I didn't checked if the problem does also concern Python 2.x.

[issue8006] os.popen in Python 3.1

2010-03-21 Thread Bob Buckley
Bob Buckley added the comment: I could not get it to open a write pipe. I am trying to drive GNUplot from Python. It worked OK in Python 2.x but does not work well in 3.x. I have it partially working now ... I am calling subprocess.Popen but I cannot get a text mode pipe which is disappointing

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: >> Backported to py3k as r78872 > And backported to 3.1 as r79247. I reverted the change on initsite(): as for Python 2.6, I don't want to change import site error handler between minor releases. -- ___ Python trac

[issue6716] Windows install error when choosing to compile .py files

2010-03-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: Merged as r79248 and r79250. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue1124861] subprocess fails on GetStdHandle in interactive GUI

2010-03-21 Thread bairam
bairam added the comment: shell vs subprocess The problem is the default option "Shell" is "False" , you you write commands you should turn on the shell. for example try this to show the content of directory " C:\Python26 ": >>>import subprocess >>> p = subprocess.Popen("dir", shell=True,stdout

[issue8177] Incoherent error with keyword argument follow by unpacking argument lists

2010-03-21 Thread Ghislain Hivon
Ghislain Hivon added the comment: The reverse, f(*(1, 2, 3), foo=4), is consistent with f(1,2,3, foo=4) who also gave TypeError: f() got multiple values for keyword argument 'foo' Which is consistent with the tutorial http://docs.python.org/tutorial/controlflow.html#keyword-arguments def par

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: > Backported to py3k as r78872 And backported to 3.1 as r79247. > But py3k will require extra work: there are some PyErr_Clear() somewhere, > eating the errors. Leave this issue open until #8124 is fixed. -- ___

[issue5671] Speed up pickling of lists in cPickle

2010-03-21 Thread Sean Reifschneider
Sean Reifschneider added the comment: pickle_batch_list_exact_py3k.diff applies cleanly on current py3k trunk and passes tests. cpickle_list.patch applies cleanly against 2.x trunk and passes "make test". I don't see any objections brought up about this set of patches, so we can get these a

[issue8177] Incoherent error with keyword argument follow by unpacking argument lists

2010-03-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: It's a weird error even it reverse order: >>> def f(foo, *args): ... pass ... >>> f(*(1, 2, 3), foo=4) Traceback (most recent call last): File "", line 1, in TypeError: f() got multiple values for keyword argument 'foo' -- __

[issue8176] Interpreter crash with "double free or corruption" message

2010-03-21 Thread Carlos Ribeiro
Carlos Ribeiro added the comment: Thanks for investigating! I'll keep watching. I'm currently developing a small Django app, and the crash happened during one of the automatic reloads that the development server do whenever a source code file changes. The problem is that I probably ran through

[issue6697] Check that _PyUnicode_AsString() result is not NULL

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: > I commited unicode_fromformat_U.patch as r78875. > object_pyunicode_asstring-py3k.patch commited as r78876. Backported as r79240 and r79241 to 3.1. -- ___ Python tracker ___

[issue7661] compiling ctypes fails with non-ascii path

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: Now paths with spaces are explicitly rejected, after the upgrade to libffi 3.0.9. (Issue #8142) -- nosy: +doko resolution: -> out of date stage: patch review -> committed/rejected status: open -> closed ___ Python

[issue1059244] distutil bdist hardcodes the python location

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

[issue1059244] distutil bdist hardcodes the python location

2010-03-21 Thread anatoly techtonik
anatoly techtonik added the comment: I am creating packages for PyPI and they all are created wrong. If the module is pure Python - 'bdist' should be equal to 'sdist'. -- nosy: +techtonik ___ Python tracker ___

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2010-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: The intuitive explanation seems to be: - there are some bytes available for reading on the *TCP socket*, therefore asyncore calls the read handler - however, there are not enough bytes for OpenSSL to actually decrypt any data, which is why we get SSL_ERROR_WAN

[issue1059244] distutil bdist hardcodes the python location

2010-03-21 Thread anatoly techtonik
Changes by anatoly techtonik : -- versions: +Python 2.6, Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue6474] Inconsistent TypeError message on function calls with wrong number of arguments

2010-03-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r79235. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue1124861] subprocess fails on GetStdHandle in interactive GUI

2010-03-21 Thread Daniel Serodio
Daniel Serodio added the comment: Still doesn't work for me with Python 2.6.5 on Windows 7 64-bit, but apparently for a different reason. When I type p.communicate() as in bairam's example, it blocks with no output. -- ___ Python tracker

[issue3119] pickle.py is limited by python's call stack

2010-03-21 Thread Sean Reifschneider
Sean Reifschneider added the comment: Ugh, I forgot to check the output of my test run before submitting the last reply. With the patch applied, "make test" fails with: test_pickle Fatal Python error: Cannot recover from stack overflow. Fatal Python error: Cannot recover from stack overflow.

[issue3119] pickle.py is limited by python's call stack

2010-03-21 Thread Sean Reifschneider
Sean Reifschneider added the comment: Sorry for the delay in getting to this patch. I've reviewed this patch and it seems fine to me. The only thing I see outstanding is the recommendation made by Alexandre about changing the C module to also implement this. Aaron: You may want to take your

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2010-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: (using SSL_MODE_AUTO_RETRY doesn't fix the test_ftplib issue) -- ___ Python tracker ___ ___ Python-b

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2010-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I committed the patch to trunk (r79226), only to discover that it caused occasional failures in test_ftplib: $ ./python -m test.regrtest -F test_ftplib test_ftplib test_ftplib Exception in thread Thread-116: Traceback (most recent call last): File "/home/ant

[issue8176] Interpreter crash with "double free or corruption" message

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Clearly not enough information, but I have a few observations: 1. Clearly the crash occurs on exit (in Py_Finalize) during a module cleanup. (Unfortunately it looks like a non-debug build of Python was used so figuring out which module is involved may

[issue1628484] Python 2.5 64 bit compile fails on Solaris 10/gcc 4.1.1

2010-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r79218 (trunk), r79220 (2.6), r79221 (py3k), r79222 (3.1). Thanks! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue8194] broken API in xmlrpclib.Transport

2010-03-21 Thread Defert
New submission from Defert : In the Transport class of the xmlrpclib module, the parse_response method expects a File object but handles HTTPResponse's. The regression was introduced in r73638. A fix is attached. -- components: Library (Lib) files: xmlrpclib.patch keywords: patch messag

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8191] Make arg0 required argument in os.execl* functions

2010-03-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-21 Thread Arkadiusz Miskiewicz Arkadiusz Miskiewicz
New submission from Arkadiusz Miskiewicz Arkadiusz Miskiewicz : Starting with zlib 1.2.4 zlib test suite fails with: test test_zlib failed -- Traceback (most recent call last): File "/home/users/arekm/rpm/BUILD/Python-2.6.5/Lib/test/test_zlib.py", line 84, in t

[issue8191] Make arg0 required argument in os.execl* functions

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Sun, Mar 21, 2010 at 2:52 PM, Matthias Klose wrote: .. > os.execlp('true') does raise ValueError on released 3.x versions. sorry if I > do misunderstand something. My bad. I thought it was a more recent change. However as far as I can tell it was n

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79207 (2.x) and r79209 (3.x). Thank you Michael for testing it. -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue8191] Make arg0 required argument in os.execl* functions

2010-03-21 Thread Matthias Klose
Matthias Klose added the comment: > However since issue1039 change has not been released yet os.execlp('true') does raise ValueError on released 3.x versions. sorry if I do misunderstand something. -- nosy: +doko ___ Python tracker

[issue1039] Asssertion in Windows debug build

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This issue was misclassified as an interpreter crash while in fact it was a bug in the underlying OS utility. Please see discussion in issue8154. Since the fix changes behavior, it should be documented and a NEWS entry added. -- type: crash -> f

[issue8192] SQLite3 PRAGMA table_info doesn't respect database on Win32

2010-03-21 Thread Christoph Burgmer
New submission from Christoph Burgmer : 'PRAGMA database.table_info("SOME_TABLE_NAME")' will report table metadata for the given database. The main database called 'main', can be extended by attaching further databases via 'ATTACH DATABASE'. The above PRAGMA should respect the chosen database,

[issue1039] Asssertion in Windows debug build

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Link to revision: r57731 -- nosy: +Alexander.Belopolsky ___ Python tracker ___ ___ Python-bugs

[issue3783] dbm.sqlite proof of concept

2010-03-21 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Please see related issue8191. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue8191] Make arg0 required argument in os.execl* functions

2010-03-21 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Since issue1039 made it illegal to pass empty argument list to execv*, I suggest to change signature of os.execl* functions and make arg0 a required positional argument. This is not a backward compatible change because os.execlp('true'), for example

[issue3783] dbm.sqlite proof of concept

2010-03-21 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: -gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-21 Thread Matthias Klose
Matthias Klose added the comment: reverted in r79190 on the 2.6 branch -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1745] Backport of PEP 3102 "keyword-only arguments" to 2.6

2010-03-21 Thread George Sakkis
George Sakkis added the comment: Is there any update on this for 2.7 ? -- nosy: +gsakkis ___ Python tracker ___ ___ Python-bugs-list m

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-21 Thread Éric Araujo
Éric Araujo added the comment: Hello Could you please write the revision number when you speak about a commit? Text like “fixed in r4253” will become an helpful link. Thanks -- nosy: +merwok ___ Python tracker _

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: New patch, fixing test_listdir on OS X (hopefully). -- Added file: http://bugs.python.org/file16612/issue8180_pep277_additions_v3.diff ___ Python tracker _

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16611/issue8180_pep277_additions_v2.diff ___ Python tracker ___ ___ Pyth

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-21 Thread Matthias Klose
Matthias Klose added the comment: > this change in its current form needs to be backed out of 2.6 done. I'll check for uses of execlp and execlpe. how should the divergency of execlp (raises ValueError), and execlpe (raises IndexError) be handled? -- ___

[issue8088] assertSameElements fails with sequences that contain unorderable types

2010-03-21 Thread Michael Foord
Michael Foord added the comment: Fixed as part of #7832. -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: pending -> closed ___ Python tracker _

[issue7718] Build shared libpythonX.Y.so on IRIX

2010-03-21 Thread Brian Curtin
Brian Curtin added the comment: I'll reopen this for now, no need for duplicate issues. http://www.python.org/psf/contrib/ has the relevant contributor agreement that should be signed. -- resolution: rejected -> status: closed -> open ___ Python t

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: New patch: removed the offending codepoint '\ufad1'. Please try again on OS X, and windows. -- Added file: http://bugs.python.org/file16611/issue8180_pep277_additions_v2.diff ___ Python tracker

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16600/issue8180_pep277_additions.diff ___ Python tracker ___ ___ Python-b

[issue7718] Build shared libpythonX.Y.so on IRIX

2010-03-21 Thread Fabian Groffen
Fabian Groffen added the comment: Is it necessary to file a new bug for the same issue, or can we reopen from here? With Stuart in the loop it looks to me the raised issues are dealt with? -- ___ Python tracker _

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-03-21 Thread Fredrik Lundh
Fredrik Lundh added the comment: Hmm. I'm not entirely sure about giving False a meaning when None has traditionally had a different (and documented) meaning. And sleeping on it hasn't convinced me in either direction :-( (well, I'd say no, but the compatibility argument is somewhat temptin

[issue7783] test_normalization fails when NormalizationTest.txt is outdated

2010-03-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8063] Call _PyGILState_Init() earlier in Py_InitializeEx()

2010-03-21 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: > Commited to trunk: r78826 + r78827 Partial backport to 2.6 as r79204: leave import site error handler unchanged (print the error and continue). I don't want to change Python behaviour between minor releases. --

[issue7774] sys.executable: wrong location if zeroth command argument is modified.

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: > r78835 (trunk) fixes getpath Backport done: r79202 (2.6). -- ___ Python tracker ___ ___ Python-bu

[issue1054943] Python may contain NFC/NFKC bug per Unicode PRI #29

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: > Commited: r78646 (trunk) Backport done: r79201 (2.6). -- resolution: remind -> fixed status: open -> closed ___ Python tracker ___ ___

[issue7494] _lsprof (cProfile): Profiler.clear() keeps references to detroyed nodes

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: > Fixed by r78641 (trunk) Backport done: r79200 (2.6). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue7544] Fatal error on thread creation in low memory condition

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: > Commited: r78638 (trunk) Backport done: r79199 (2.6). -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue3299] Direct calls to PyObject_Del/PyObject_DEL are broken for --with-pydebug

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: > thread fix commited: r78610 (trunk) > curses panel fix commited: r78635 (trunk) Backport done in r79198 (2.6). -- ___ Python tracker ___

[issue7820] parser: restores all bytes in the right order if check_bom() fails

2010-03-21 Thread STINNER Victor
STINNER Victor added the comment: Backported in r79197 (2.6). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue8179] Test failure in test_macpath.py test_realpath (Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79195 and r79196. -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

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

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: other py3k warnings silenced with r79187 r79188 r79189 -- ___ Python tracker ___ ___ Python-bugs-li

[issue8188] Unified hash for numeric types.

2010-03-21 Thread Mark Dickinson
Mark Dickinson added the comment: Updated patch: - put hash parameters into pyport.h, to avoid repetition; make them available to Python code via a private attribute sys._hash_info. - use a modulus of 2**61-1 on systems where SIZEOF_LONG >= 8, and a modulus of 2**31 - 1 otherwise. -

[issue8177] Incoherent error with keyword argument follow by unpacking argument lists

2010-03-21 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list maili

[issue1124861] subprocess fails on GetStdHandle in interactive GUI

2010-03-21 Thread bairam
bairam added the comment: I have tested this form in Python26 ,It works >>> import subprocess >>> p = subprocess.Popen("cmd.exe dir", stdout=subprocess.PIPE) >>> p.communicate() ('Microsoft Windows XP [Version 5.1.2600]\r\n(C) Copyright 1985-2001 Microsoft Corp.\r\n\r\nC:\\Python26>', None) --