[issue1124861] subprocess fails on GetStdHandle in interactive GUI

2010-03-21 Thread bairam
bairam bkom...@yahoo.com 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',

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

2010-03-21 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8177 ___

[issue8188] Unified hash for numeric types.

2010-03-21 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

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

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: other py3k warnings silenced with r79187 r79188 r79189 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7092 ___

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

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed with r79195 and r79196. -- resolution: accepted - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Backported in r79197 (2.6). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7820

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: thread fix commited: r78610 (trunk) curses panel fix commited: r78635 (trunk) Backport done in r79198 (2.6). -- ___ Python tracker rep...@bugs.python.org

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited: r78638 (trunk) Backport done: r79199 (2.6). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7544

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed by r78641 (trunk) Backport done: r79200 (2.6). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7494

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited: r78646 (trunk) Backport done: r79201 (2.6). -- resolution: remind - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1054943

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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. --

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

2010-03-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8063 ___

[issue7783] test_normalization fails when NormalizationTest.txt is outdated

2010-03-21 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7783 ___ ___ Python-bugs-list

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-03-21 Thread Fredrik Lundh
Fredrik Lundh fred...@effbot.org 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

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

2010-03-21 Thread Fabian Groffen
Fabian Groffen grob...@gentoo.org 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

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

2010-03-21 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16600/issue8180_pep277_additions.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8180 ___

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

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com 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

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

2010-03-21 Thread Brian Curtin
Brian Curtin cur...@acm.org 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

[issue8088] assertSameElements fails with sequences that contain unorderable types

2010-03-21 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Fixed as part of #7832. -- resolution: accepted - fixed stage: patch review - committed/rejected status: pending - closed ___ Python tracker rep...@bugs.python.org

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

2010-03-21 Thread Matthias Klose
Matthias Klose d...@debian.org 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? --

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

2010-03-21 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16611/issue8180_pep277_additions_v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8180 ___

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

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com 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 rep...@bugs.python.org

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

2010-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2010-03-21 Thread George Sakkis
George Sakkis george.sak...@gmail.com added the comment: Is there any update on this for 2.7 ? -- nosy: +gsakkis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1745 ___

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

2010-03-21 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: reverted in r79190 on the 2.6 branch -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8154 ___

[issue3783] dbm.sqlite proof of concept

2010-03-21 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: -gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3783 ___ ___

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

2010-03-21 Thread Alexander Belopolsky
New submission from Alexander Belopolsky alexander.belopol...@gmail.com: 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

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

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Please see related issue8191. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8154 ___

[issue3783] dbm.sqlite proof of concept

2010-03-21 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3783 ___ ___ Python-bugs-list

[issue1039] Asssertion in Windows debug build

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Link to revision: r57731 -- nosy: +Alexander.Belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1039 ___

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

2010-03-21 Thread Christoph Burgmer
New submission from Christoph Burgmer cburg...@ira.uka.de: '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

[issue1039] Asssertion in Windows debug build

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com 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

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

2010-03-21 Thread Matthias Klose
Matthias Klose d...@debian.org 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

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

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com 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 Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: On Sun, Mar 21, 2010 at 2:52 PM, Matthias Klose rep...@bugs.python.org 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

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-21 Thread Arkadiusz Miskiewicz Arkadiusz Miskiewicz
New submission from Arkadiusz Miskiewicz Arkadiusz Miskiewicz ar...@maven.pl: 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,

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

2010-03-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8191 ___

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193 ___

[issue8194] broken API in xmlrpclib.Transport

2010-03-21 Thread Defert
New submission from Defert laurent_def...@yahoo.fr: 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:

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

2010-03-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

[issue8176] Interpreter crash with double free or corruption message

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com 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

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

2010-03-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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):

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

2010-03-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: (using SSL_MODE_AUTO_RETRY doesn't fix the test_ftplib issue) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3890 ___

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

2010-03-21 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com 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

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

2010-03-21 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com 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

[issue1124861] subprocess fails on GetStdHandle in interactive GUI

2010-03-21 Thread Daniel Serodio
Daniel Serodio dsero...@gmail.com 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

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

2010-03-21 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r79235. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6474

[issue1059244] distutil bdist hardcodes the python location

2010-03-21 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- versions: +Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1059244 ___

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

2010-03-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue1059244] distutil bdist hardcodes the python location

2010-03-21 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org

[issue1059244] distutil bdist hardcodes the python location

2010-03-21 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1059244 ___ ___ Python-bugs-list mailing

[issue7661] compiling ctypes fails with non-ascii path

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com 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

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue8176] Interpreter crash with double free or corruption message

2010-03-21 Thread Carlos Ribeiro
Carlos Ribeiro carribe...@gmail.com 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

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

2010-03-21 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org 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 stdin, line 1, in module TypeError: f() got multiple values for keyword argument 'foo'

[issue5671] Speed up pickling of lists in cPickle

2010-03-21 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com 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

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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. --

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

2010-03-21 Thread Ghislain Hivon
Ghislain Hivon jahe...@hotmail.com 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

[issue1124861] subprocess fails on GetStdHandle in interactive GUI

2010-03-21 Thread bairam
bairam bkom...@yahoo.com 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,

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

2010-03-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Merged as r79248 and r79250. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6716 ___

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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. --

[issue8006] os.popen in Python 3.1

2010-03-21 Thread Bob Buckley
Bob Buckley b...@buckley.id.au 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

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

2010-03-21 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: 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

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

2010-03-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file16616/sqlite_collation-py3k.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8195 ___

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

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

[issue8196] sqlit3.paramstyle reported as 'qmark'

2010-03-21 Thread Santiago Gala
New submission from Santiago Gala sg...@apache.org: 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

[issue7815] Regression in unittest traceback formating extensibility

2010-03-21 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk 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 -

[issue8074] Fail-fast behavior for unittest

2010-03-21 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk 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

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

2010-03-21 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: 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

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

2010-03-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- 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

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

2010-03-21 Thread George Sakkis
George Sakkis george.sak...@gmail.com 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:

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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. --

[issue4735] An error occurred during the installation of assembly

2010-03-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: -haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4735 ___ ___

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

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed by r79271 (py3k), r79272 (3.1). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4282

[issue8006] os.popen in Python 3.1

2010-03-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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. --

[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 franc...@granade.com: 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):

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

2010-03-21 Thread François Granade
François Granade franc...@granade.com 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

[issue6543] traceback presented in wrong encoding

2010-03-21 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com 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

[issue6543] traceback presented in wrong encoding

2010-03-21 Thread Sean Reifschneider
Changes by Sean Reifschneider j...@tummy.com: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6543 ___ ___ Python-bugs-list

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

2010-03-21 Thread Ilya Sandler
Ilya Sandler ilya.sand...@gmail.com 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