[issue1124861] subprocess fails on GetStdHandle in interactive GUI
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', None) -- nosy: +bairam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1124861 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8177] Incoherent error with keyword argument follow by unpacking argument lists
Changes by Georg Brandl ge...@python.org: -- assignee: - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8177 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8188] Unified hash for numeric types.
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 - 1 otherwise. - remove _invmod from fractions module. It's faster (and easier) to use 3-argument pow to compute inverses modulo a prime. - add a few more tests. -- Added file: http://bugs.python.org/file16610/numeric_hash3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8188 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8179] Test failure in test_macpath.py test_realpath (Mac OS X)
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 http://bugs.python.org/issue8179 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7820] parser: restores all bytes in the right order if check_bom() fails
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3299] Direct calls to PyObject_Del/PyObject_DEL are broken for --with-pydebug
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 http://bugs.python.org/issue3299 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7544] Fatal error on thread creation in low memory condition
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7494] _lsprof (cProfile): Profiler.clear() keeps references to detroyed nodes
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1054943] Python may contain NFC/NFKC bug per Unicode PRI #29
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8063] Call _PyGILState_Init() earlier in Py_InitializeEx()
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8063 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7783] test_normalization fails when NormalizationTest.txt is outdated
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 mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8047] Serialiser in ElementTree returns unicode strings in Py3k
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 is somewhat tempting) I'm not that concerned by changing the default for write -- 3.x users with utf-8 as the default output encoding will get different output, but still perfectly valid XML. 3.x users with non-utf-8 default encodings will get valid XML also in cases where it didn't work before. tostring() is more problematic, but I'm leaning towards Guido's torpedoes approach there -- changing the default output to bytestrings is more likely to cause code to blow up than cause bad output, and you can trivially make your program backwards compatible by adding an extra check/decode after the call. Supporting unicode for lxml.etree compatibility is fine with me, but I think it might make sense to support the string unicode as well (as a pseudo-encoding -- it's pretty clear to me that nobody will ever define a real character encoding with that name :-). Have you posted/can you post the patch to riedveld, btw? I have some questions about the code that are independent of the encoding decision. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8047 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7718] Build shared libpythonX.Y.so on IRIX
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 rep...@bugs.python.org http://bugs.python.org/issue7718 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)
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 tracker rep...@bugs.python.org http://bugs.python.org/issue8180 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7718] Build shared libpythonX.Y.so on IRIX
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7718 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8088] assertSameElements fails with sequences that contain unorderable types
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 http://bugs.python.org/issue8088 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8154] os.execlp('true') crashes the interpreter on 2.x
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? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8154 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)
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 http://bugs.python.org/issue8180 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8154] os.execlp('true') crashes the interpreter on 2.x
É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 rep...@bugs.python.org http://bugs.python.org/issue8154 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1745] Backport of PEP 3102 keyword-only arguments to 2.6
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8154] os.execlp('true') crashes the interpreter on 2.x
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3783] dbm.sqlite proof of concept
Changes by Gregory P. Smith g...@krypto.org: -- nosy: -gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3783 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8191] Make arg0 required argument in os.execl* functions
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 os.execlp('true'), for example will now raise TypeError instead of ValueError. However since issue1039 change has not been released yet, I think this can be done. -- components: Library (Lib) files: execl.diff keywords: patch messages: 101437 nosy: Alexander.Belopolsky severity: normal status: open title: Make arg0 required argument in os.execl* functions type: feature request versions: Python 3.3 Added file: http://bugs.python.org/file16613/execl.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8191 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8154] os.execlp('true') crashes the interpreter on 2.x
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Please see related issue8191. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8154 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3783] dbm.sqlite proof of concept
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3783 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1039] Asssertion in Windows debug build
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8192] SQLite3 PRAGMA table_info doesn't respect database on Win32
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 the chosen database, but fails to do so on Win32 (tested on Wine) while it does on Linux. How to reproduce: FILE 'first.db' has table: CREATE TABLE First ( Test INTEGER NOT NULL ); FILE 'second.db' has table: CREATE TABLE Second ( Test INTEGER NOT NULL ); The final result of the following code shoule be empty, but returns table data from second.db instead. Y:\python Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. import sqlite3 conn = sqlite3.connect('first.db') c = conn.cursor() c.execute(ATTACH DATABASE 'second.db' AS 'second') sqlite3.Cursor object at 0x0071FB00 for row in c: ... print repr(row) ... c.execute(PRAGMA 'main'.table_info('Second')) sqlite3.Cursor object at 0x0071FB00 for row in c: ... print repr(row) ... (0, u'Test', u'INTEGER', 99, None, 0) In contrast sqlite3.exe respects the value for the same command: Y:\sqlite3.exe first.db SQLite version 3.6.23 Enter .help for instructions Enter SQL statements terminated with a ; sqlite .tables First sqlite ATTACH DATABASE 'second.db' AS 'second'; sqlite .tables First sqlite PRAGMA main.table_info('Second'); sqlite PRAGMA second.table_info('Second'); 0|Test|INTEGER|1||0 sqlite Advice on further debugging possibilities is requested. I do not have a Windows system available though, nor can I currently compile for Win32. -- components: Library (Lib) messages: 101440 nosy: christoph severity: normal status: open title: SQLite3 PRAGMA table_info doesn't respect database on Win32 versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8192 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1039] Asssertion in Windows debug build
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 added. -- type: crash - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1039 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8191] Make arg0 required argument in os.execl* functions
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 rep...@bugs.python.org http://bugs.python.org/issue8191 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)
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 rep...@bugs.python.org http://bugs.python.org/issue8180 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8191] Make arg0 required argument in os.execl* functions
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 recent change. However as far as I can tell it was never documented or announced in the NEWS or What's new in files, so it is unlikely that there is code in the wild that would rely on it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8191 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8193] test_zlib fails with zlib 1.2.4
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, line 84, in test_baddecompressobj self.assertRaises(ValueError, zlib.decompressobj, 0) AssertionError: ValueError not raised -- components: Library (Lib) messages: 101445 nosy: arekm severity: normal status: open title: test_zlib fails with zlib 1.2.4 type: behavior versions: Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8191] Make arg0 required argument in os.execl* functions
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8191 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8193] test_zlib fails with zlib 1.2.4
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8194] broken API in xmlrpclib.Transport
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: xmlrpclib.patch keywords: patch messages: 101446 nosy: lids severity: normal status: open title: broken API in xmlrpclib.Transport type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file16614/xmlrpclib.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8194 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1628484] Python 2.5 64 bit compile fails on Solaris 10/gcc 4.1.1
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 http://bugs.python.org/issue1628484 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8176] Interpreter crash with double free or corruption message
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 out which module is involved may be hard. 2. Memory map suggests that the crash is very late in python finalization. Note that only two python modules are still mapped: mxDateTime and _hashlib. However the memmap seems incomplete. Try to reproduce the crash with a debug build of python (configure --with-pydebug). The debug build may also crash sooner and more reliably. -- nosy: +Alexander.Belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8176 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets
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): File /home/antoine/cpython/__svn__/Lib/threading.py, line 530, in __bootstrap_inner self.run() File /home/antoine/cpython/__svn__/Lib/test/test_ftplib.py, line 223, in run asyncore.loop(timeout=0.1, count=1) File /home/antoine/cpython/__svn__/Lib/asyncore.py, line 211, in loop poll_fun(timeout, map) File /home/antoine/cpython/__svn__/Lib/asyncore.py, line 148, in poll read(obj) File /home/antoine/cpython/__svn__/Lib/asyncore.py, line 80, in read obj.handle_error() File /home/antoine/cpython/__svn__/Lib/asyncore.py, line 76, in read obj.handle_read_event() File /home/antoine/cpython/__svn__/Lib/test/test_ftplib.py, line 284, in handle_read_event super(SSLConnection, self).handle_read_event() File /home/antoine/cpython/__svn__/Lib/asyncore.py, line 421, in handle_read_event self.handle_read() File /home/antoine/cpython/__svn__/Lib/test/test_ftplib.py, line 39, in handle_read self.baseclass.last_received_data += self.recv(1024) File /home/antoine/cpython/__svn__/Lib/test/test_ftplib.py, line 302, in recv return super(SSLConnection, self).recv(buffer_size) File /home/antoine/cpython/__svn__/Lib/asyncore.py, line 370, in recv data = self.socket.recv(buffer_size) File /home/antoine/cpython/__svn__/Lib/ssl.py, line 96, in lambda self.recv = lambda buflen=1024, flags=0: SSLSocket.recv(self, buflen, flags) File /home/antoine/cpython/__svn__/Lib/ssl.py, line 215, in recv return self.read(buflen) File /home/antoine/cpython/__svn__/Lib/ssl.py, line 136, in read return self._sslobj.read(len) SSLError: [Errno 2] _ssl.c:1335: The operation did not complete (read) test test_ftplib failed -- Traceback (most recent call last): File /home/antoine/cpython/__svn__/Lib/test/test_ftplib.py, line 491, in test_storlines self.client.storlines('stor', f) File /home/antoine/cpython/__svn__/Lib/ftplib.py, line 749, in storlines return self.voidresp() File /home/antoine/cpython/__svn__/Lib/ftplib.py, line 224, in voidresp resp = self.getresp() File /home/antoine/cpython/__svn__/Lib/ftplib.py, line 210, in getresp resp = self.getmultiline() File /home/antoine/cpython/__svn__/Lib/ftplib.py, line 196, in getmultiline line = self.getline() File /home/antoine/cpython/__svn__/Lib/ftplib.py, line 183, in getline line = self.file.readline() File /home/antoine/cpython/__svn__/Lib/socket.py, line 445, in readline data = self._sock.recv(self._rbufsize) File /home/antoine/cpython/__svn__/Lib/ssl.py, line 96, in lambda self.recv = lambda buflen=1024, flags=0: SSLSocket.recv(self, buflen, flags) File /home/antoine/cpython/__svn__/Lib/ssl.py, line 215, in recv return self.read(buflen) File /home/antoine/cpython/__svn__/Lib/ssl.py, line 136, in read return self._sslobj.read(len) SSLError: The read operation timed out Giampaolo, do you think the test is flaky? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3890 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3119] pickle.py is limited by python's call stack
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 want to take your question on the implementation to the python-dev mailing list: Whether it is necessary to implement it in the C module, and if so suggestions on how or help on doing it. Is that something you can do, Aaron? -- nosy: +jafo priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3119 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3119] pickle.py is limited by python's call stack
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 stack overflow. make: *** [test] Aborted (core dumped) This is on Python 3 trunk, with the pickle3.patch applied (which applied cleanly). For the Misc/NEWS I propose (in the Library section): - Issue #3119: pickle.py can now handle deeply-nested data-structures without reaching the Python call stack limit. NOTE: the pickle save() method is now a generator, though sub-classes of Pickler shouldn't override save(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3119 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1124861] subprocess fails on GetStdHandle in interactive GUI
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 tracker rep...@bugs.python.org http://bugs.python.org/issue1124861 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6474] Inconsistent TypeError message on function calls with wrong number of arguments
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1059244] distutil bdist hardcodes the python location
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets
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 get SSL_ERROR_WANT_READ when trying to read from the *SSL socket* The following patch seems to fix test_ftplib; any thoughts? Index: Lib/test/test_ftplib.py === --- Lib/test/test_ftplib.py (révision 79224) +++ Lib/test/test_ftplib.py (copie de travail) @@ -293,7 +293,9 @@ try: return super(SSLConnection, self).send(data) except ssl.SSLError, err: -if err.args[0] in (ssl.SSL_ERROR_EOF, ssl.SSL_ERROR_ZERO_RETURN): +if err.args[0] in (ssl.SSL_ERROR_EOF, ssl.SSL_ERROR_ZERO_RETURN, + ssl.SSL_ERROR_WANT_READ, + ssl.SSL_ERROR_WANT_WRITE): return 0 raise @@ -301,6 +303,9 @@ try: return super(SSLConnection, self).recv(buffer_size) except ssl.SSLError, err: +if err.args[0] in (ssl.SSL_ERROR_WANT_READ, + ssl.SSL_ERROR_WANT_WRITE): +return '' if err.args[0] in (ssl.SSL_ERROR_EOF, ssl.SSL_ERROR_ZERO_RETURN): self.handle_close() return '' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3890 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1059244] distutil bdist hardcodes the python location
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 http://bugs.python.org/issue1059244 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1059244] distutil bdist hardcodes the python location
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1059244 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7661] compiling ctypes fails with non-ascii path
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7661 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6697] Check that _PyUnicode_AsString() result is not NULL
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 rep...@bugs.python.org http://bugs.python.org/issue6697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8176] Interpreter crash with double free or corruption message
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 probably ran through the same procedure several hundred times over the past few weeks, but the bug happened only *once*. Seems like a nasty bug. I *suspect* it may be thread related, a racing condition or something like it. (and yes, I'm using a regular build, not a debug build). Also note that I use Python since 1998 and never, in the past 12 years, I had a dump like this. As for this ticket, it seems like a nasty and elusive bug; I _feel_ that we may never see the same bug again, _but_ other people may encounter similar situations, and we can then try to correlate them to find the cause. If I don't manage to reproduce it over the next few days we may close it but keep it in the tracker, until someone else hits it again. Best regards, Carlos Ribeiro On Sun, Mar 21, 2010 at 16:29, Alexander Belopolsky rep...@bugs.python.orgwrote: 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 out which module is involved may be hard. 2. Memory map suggests that the crash is very late in python finalization. Note that only two python modules are still mapped: mxDateTime and _hashlib. However the memmap seems incomplete. Try to reproduce the crash with a debug build of python (configure --with-pydebug). The debug build may also crash sooner and more reliably. -- nosy: +Alexander.Belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8176 ___ -- Added file: http://bugs.python.org/file16615/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8176 ___Thanks for investigating!brbrI#39;ll keep watching. I#39;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 the same procedure several hundred times over the past few weeks, but the bug happened only *once*. Seems like a nasty bug. I *suspect* it may be thread related, a racing condition or something like it. (and yes, I#39;m using a regular build, not a debug build).br brAlso note that I use Python since 1998 and never, in the past 12 years, I had a dump like this.brbrAs for this ticket, it seems like a nasty and elusive bug; I _feel_ that we may never see the same bug again, _but_ other people may encounter similar situations, and we can then try to correlate them to find the cause. If I don#39;t manage to reproduce it over the next few days we may close it but keep it in the tracker, until someone else hits it again.br brBest regards,brbrCarlos Ribeirobrbrbrdiv class=gmail_quoteOn Sun, Mar 21, 2010 at 16:29, Alexander Belopolsky span dir=ltrlt;a href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;/span wrote:br blockquote class=gmail_quote style=margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;br Alexander Belopolsky lt;a href=mailto:alexander.belopol...@gmail.com;alexander.belopol...@gmail.com/agt; added the comment:br br Clearly not enough information, but I have a few observations:br br 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 be hard.br br 2. Memory map suggests that the crash is very late in python finalization. Â Note that only two python modules are still mapped: mxDateTime and _hashlib. Â However the memmap seems incomplete.br br Try to reproduce the crash with a debug build of python (configure --with-pydebug). Â The debug build may also crash sooner and more reliably.br br --br nosy: +Alexander.Belopolskybr divdiv/divdiv class=h5br ___br Python tracker lt;a href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;br lt;a href=http://bugs.python.org/issue8176; target=_blankhttp://bugs.python.org/issue8176/agt;br ___br /div/div/blockquote/divbrbr clear=allbr-- brCarlos RibeirobrConsultoria em Projetosbrtwitter: a href=http://twitter.com/carribeiro;http://twitter.com/carribeiro/abrblog: a href=http://rascunhosrotos.blogspot.com;http://rascunhosrotos.blogspot.com/abr mail: a
[issue8177] Incoherent error with keyword argument follow by unpacking argument lists
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' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8177 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5671] Speed up pickling of lists in cPickle
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 get these applied? -- assignee: - alexandre.vassalotti nosy: +jafo priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5671 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8177] Incoherent error with keyword argument follow by unpacking argument lists
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 http://docs.python.org/tutorial/controlflow.html#keyword-arguments def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'): ... but the following calls would all be invalid: parrot(voltage=5.0, 'dead') # non-keyword argument following keyword parrot(110, voltage=220) # duplicate value for argument -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8177 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1124861] subprocess fails on GetStdHandle in interactive GUI
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, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout,stderr=p.communicate() print stderr # if errors doe not occur ,it is empty! print stdout -- versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1124861 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6716] Windows install error when choosing to compile .py files
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8006] os.popen in Python 3.1
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 which is disappointing. I have not yet got my head around Python 3's byte vs string stuff. regards Bob Buckley On 21/03/2010 8:02 AM, R. David Murray wrote: R. David Murrayrdmur...@bitdance.com added the comment: Well, actually os.popen in Python3 is implemented by calling subprocess.Popen. So, Bob, how does it fail? -- nosy: +r.david.murray priority: - normal stage: - test needed ___ Python trackerrep...@bugs.python.org http://bugs.python.org/issue8006 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8006 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8195] Crash in sqlite3.create_collation() with a string non encodable to utf8
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 concern Python 2.x. -- components: Library (Lib) files: sqlite_collation-py3k.patch keywords: patch messages: 101468 nosy: haypo severity: normal status: open title: Crash in sqlite3.create_collation() with a string non encodable to utf8 type: crash versions: Python 3.1, Python 3.2 Added file: http://bugs.python.org/file16616/sqlite_collation-py3k.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8195 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8195] Crash in sqlite3.create_collation() with a string non encodable to utf8
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8195] Crash in sqlite3.create_collation() with a string non encodable to utf8
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 http://bugs.python.org/issue8195 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8196] sqlit3.paramstyle reported as 'qmark'
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 other formats because these offer more clarity and flexibility. I think the module should report 'named', as it is preferred, and leave to the documentation the fact that 'qmark' is also supported. -- components: Extension Modules messages: 101470 nosy: sgala severity: normal status: open title: sqlit3.paramstyle reported as 'qmark' versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8196 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7815] Regression in unittest traceback formating extensibility
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 - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7815 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8074] Fail-fast behavior for unittest
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8074 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8197] Fatal error on thread creation in low memory condition (2)
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 of the thread, _PyGILState_NoteThreadState() is called. This function can fail with a fatal error (Couldn't create autoTLSkey mapping) in low memory condition if a memory allocation fails in find_key(), called by PyThread_set_key_value(). PyThread_set_key_value() fills a global single linked list of type 'struct key', the head is 'keyhead'. This list contains values and uses an index composed of (long thread id, int key). Only one key is used: autoTLSkey (0). The list is used to get the thread state (eg. in PyGILState_Ensure). Note: This issue is very unlikely, but it does exist :-) -- messages: 101474 nosy: haypo severity: normal status: open title: Fatal error on thread creation in low memory condition (2) type: crash versions: Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8197 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8197] Fatal error on thread creation in low memory condition: local storage
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 rep...@bugs.python.org http://bugs.python.org/issue8197 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1745] Backport of PEP 3102 keyword-only arguments to 2.6
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: http://bugs.python.org/file16618/backport-keyword-only-arguments-full-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1745 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8195] Crash in sqlite3.create_collation() with a string non encodable to utf8
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8195 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4735] An error occurred during the installation of assembly
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: -haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4735 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4282] profile doesn't support non-UTF8 source code
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8006] os.popen in Python 3.1
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8006 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8198] Importing pydoc and overwriting sys.stdout, causes one char to be sent to the console when calling help()
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): bash-3.2$ python2.5 -c import pydoc; import sys; from StringIO import StringIO; sys.stdout = StringIO(); help(sys) bash-3.2$ (note the one empty line) whereas: bash-3.2$ python2.5 -c import sys; from StringIO import StringIO; sys.stdout = StringIO(); help(sys) bash-3.2$ (no empty line) The funny thing is that the difference only occurs if sys.stdout is redirected; if it is not, importing pydoc doesn't change anything to the output: bash-3.2$ python2.5 -c import pydoc; import sys; help(sys) | wc 2561298 10690 bash-3.2$ python2.5 -c import sys; help(sys) | wc 2561298 10690 bash-3.2$ Note that this is related to 1700304, but is actually *one specific case* since *only one character* is not redirected - I would expect them all or none -- components: Library (Lib) messages: 101479 nosy: farialima severity: normal status: open title: Importing pydoc and overwriting sys.stdout, causes one char to be sent to the console when calling help() versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8198 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1700304] pydoc.help samples sys.stdout and sys.stdin at import time
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 rep...@bugs.python.org http://bugs.python.org/issue1700304 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6543] traceback presented in wrong encoding
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 python-dev? -- nosy: +jafo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6543 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6543] traceback presented in wrong encoding
Changes by Sean Reifschneider j...@tummy.com: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6543 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7245] better Ctrl-C support in pdb (program can be resumed) (issue216067)
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 generic and can be extended to test other functionality. But, as discussed earlier, it cannot be easily (if at all) integrated into existing test_pdb.py. Note that the test module will NOT work with existing pdb (as it doesnot have expected Ctrl-C) behavior, but on can specify alternative pdb location from command line: env DEBUG_PDB=./pdb.py ./test_pdb2.py -- Added file: http://bugs.python.org/file16619/test_pdb2.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7245 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com