[issue16140] subprocess.Popen the os.close calls in _execute_child can raise an EBADF exception

2012-10-05 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- nosy: +rosslagerwall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2012-10-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: > IMHO either of these solutions would be fine. > > * have a PyOS_PutEnv() function, gettext has gettext_putenv() to > workaround this problem. This solution would help in many other cases as well, so adding such an API would certainly help more than specia

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-05 Thread STINNER Victor
STINNER Victor added the comment: 1.7 -with open(DEV_NULL) as dev_null: 1.8 -proc = subprocess.Popen(['file', '-b', '--', target], 1.9 -stdout=subprocess.PIPE, stderr=dev_null) 1.9 +proc = subprocess.Popen(['file', tar

[issue16140] subprocess.Popen the os.close calls in _execute_child can raise an EBADF exception

2012-10-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: What you've described makes sense. The file descriptors are indeed conditionally wrapped in file objects using io.open which could lead to a double close in the error case in a threaded application. yuck. 1) The code needs to check if the fd was wrapped be

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-05 Thread STINNER Victor
STINNER Victor added the comment: > You can use subprocess in platform for Python 2.7, but only if > it's available. Otherwise the module must fall back to the > portable popen() that comes with the platform module. Marc-Andre: I still don't understand why you want to run platform.py of Python 2

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-05 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Christian Fertig
Christian Fertig added the comment: ok, here's a run with debuglevel for the headers: python 2.7 on openSuSE 11.4: fertig@hornisse:/home/fertig > python Python 2.7 (r27:82500, Aug 07 2010, 16:54:59) [GCC] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> impor

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Christian Fertig
Christian Fertig added the comment: the IP is private and even for testing I can't put it in a public IP range, as the device is an IP Phone with a custom firmware (Siemens optiPoint 420). -- ___ Python tracker __

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Ned Deily
Ned Deily added the comment: A popup menu on every invocation of IDLE would be a very user-unfriendly thing to do. If it's possible that a print to stderr might not be visible to a user, another solution might be to use the approach in Lib/idlelib/macosxSupport.py tkVersionWarning which cause

[issue16136] Removal of VMS support

2012-10-05 Thread Charles-François Natali
Charles-François Natali added the comment: > After the blog post, Mathew, Sandeep from HP asked how to help: It was more than a year ago. Has something actually be done? -- nosy: +neologix ___ Python tracker _

[issue16139] Python 3.3 fails when starting from read-only FS

2012-10-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: This is more or less a duplicate of #15833 (although the errno mentioned there is EIO instead of the more sensible EROFS). -- nosy: +sbt ___ Python tracker __

[issue16116] Can not install C extension modules to inside a venv on Python 3.3.0 for Win32

2012-10-05 Thread Masami HIRATA
Masami HIRATA added the comment: I have tested the workaround and it works correctly. Please see attached log file. -- Added file: http://bugs.python.org/file27429/Python33_with_venv_2.txt ___ Python tracker __

[issue8800] add threading.RWLock

2012-10-05 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Thanks Richard. I wonder if the issues with the multiprocessing tests can be fixed by making use of Barriers? One of the reasons I introduced Barriers into the lib originally was my alarm at seeing the various springklings of different _wait() calls in

[issue8800] add threading.RWLock

2012-10-05 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: > although I'd prefer a BSD errno example, such as ECONNRESET, instead of a > winsock one Are you referring to the comment where I mention ECONNABORTED? That is a regular unix error (windows version is WSAECONNABORTED). This error occurs when the local

[issue16138] In the glossary there is a small typo about __len__() in the sequence definition

2012-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7cf0d8b2744b by Andrew Svetlov in branch '3.2': Issue #16138: fix typo. http://hg.python.org/cpython/rev/7cf0d8b2744b New changeset a093d39fdda4 by Andrew Svetlov in branch '3.3': Merge issue #16138: fix typo. http://hg.python.org/cpython/rev/a093d3

[issue16116] Can not install C extension modules to inside a venv on Python 3.3.0 for Win32

2012-10-05 Thread Masami HIRATA
Masami HIRATA added the comment: btw, it seems to me that "-IC:\Python33\include -IC:\Python33\include" should be "-IC:\Users\msmhrt\mypython\3.3.0\include -IC:\Python33\include". What do you think about it? -- ___ Python tracker

[issue16138] In the glossary there is a small typo about __len__() in the sequence definition

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks to py.user -- nosy: +asvetlov resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue4821] Patches for thread-support in built-in SHA modules

2012-10-05 Thread Christian Heimes
Christian Heimes added the comment: I'll integrate your patch once I'm done with my SHA-3 patch #16113. I'm using parts of your patch in my new sha3 code to release the GIL. I'll also check if I can share more code between the SHA family modules. -- assignee: -> christian.heimes compo

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Changes by Christian Heimes : Added file: http://bugs.python.org/file27431/49a949116245.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Christian Heimes added the comment: The hightlights of the next patch are * release the GIL * more test vectors * remove bgr_endian.h * move typedef UINT64 to sha3module * declare more globals as static -- ___ Python tracker

[issue8800] add threading.RWLock

2012-10-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: Kristjan: you seem to have attached socketserver.patch to the wrong issue. -- ___ Python tracker ___ ___

[issue14574] SocketServer doesn't handle client disconnects properly

2012-10-05 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: > although I'd prefer a BSD errno example, such as ECONNRESET, instead of a > winsock one Are you referring to the comment where I mention ECONNABORTED? That is a regular unix error (windows version is WSAECONNABORTED). This error occurs when the local

[issue8800] add threading.RWLock

2012-10-05 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : Removed file: http://bugs.python.org/file27430/socketserver.patch ___ Python tracker ___ ___ Python-bugs-li

[issue8800] add threading.RWLock

2012-10-05 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- Removed message: http://bugs.python.org/msg172065 ___ Python tracker ___ ___ Python-bugs-list ma

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2012-10-05 Thread Campbell Barton
Campbell Barton added the comment: Agree PyOS_PutEnv would be good since its not restricted to string encoding and resolves the problem of not being able to control env vars for an embedded interpreter in general. Having ways to change encoding is good too but a bit outside the scope of this

[issue8800] add threading.RWLock

2012-10-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le vendredi 05 octobre 2012 à 09:51 +, Kristján Valur Jónsson a écrit : > Then I started to wonder if it were appropriate to use a Barrier in > the Condition variable tests, particularly given that the former is > implemented by way of the latter :) Indeed,

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > BTW: It's probably better to discuss such patches on the tracker first, > before applying them to the code base. It becomes difficult discussing > patches that have already been partially applied to the code. Agreed with Marc-André. Jesus, please understand th

[issue16140] subprocess.Popen the os.close calls in _execute_child can raise an EBADF exception

2012-10-05 Thread Benno Leslie
Changes by Benno Leslie : -- nosy: +bennoleslie ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue16140] subprocess.Popen the os.close calls in _execute_child can raise an EBADF exception

2012-10-05 Thread Benno Leslie
Benno Leslie added the comment: Regarding #2 my understanding is that the FDs are already always wrapped. E.g: at line http://hg.python.org/cpython/file/b9ac3c44a4eb/Lib/subprocess.py#l798 it shows these always being wrapped (assuming the file descriptor is not -1). For my test case on 3.2.3,

[issue16134] Add support for RTMP schemes to urlparse

2012-10-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue15528] Better support for finalization with weakrefs

2012-10-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: In: +except: +sys.excepthook(*sys.exc_info()) I would write "except Exception" instead. You don't want to trap e.g. KeyboardInterrupt. For clarity, I would also add "_dirty = False" at the finalize top-level. Otherw

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread R. David Murray
R. David Murray added the comment: It looks like the data input is the same in both cases. (Although why does your second example show ''? Does urllib2 really output that as part of the debug output?) It is hard to see what could be causing the divergence in response here. Is it possible fo

[issue15111] Wrong ImportError message with importlib

2012-10-05 Thread Yury Selivanov
Yury Selivanov added the comment: I don't know why, but it seems that the bug reappeared in 3.3. Examples: 1. --- (python 3.4 from repo) yury@sxair ~/dev/py/python (master) $ ./python.exe Python 3.4.0a0 (default, Oct 5 2012, 15:08:35) [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: By using "openssl s_client -connect 172.23.6.222:443" you can open a telnet-like session (but using SSL) to your server, and try to type/paste an HTTP request there. That would help check whether it's a Python problem, or something else due to OpenSSL changes.

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Christian Fertig
Christian Fertig added the comment: python3 example, not working on both machines (3.2.1 on openSuSE 12.1 and 3.1.3 on openSuSE 11.4) fertig@wespe:/home/fertig > python3 Error in sitecustomize; set PYTHONVERBOSE for traceback: SyntaxError: invalid syntax (sitecustomize.py, line 89) Python 3.2.1

[issue16140] subprocess.Popen the os.close calls in _execute_child can raise an EBADF exception

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Christian Fertig
Christian Fertig added the comment: ok actually it isn't working either with curl or wget. So probably this is not a python problem, it seems more something in the underlying libs: Output from curl on the machine, where python 2.7 is working: fertig@hornisse:/home/fertig > curl --insecure 'htt

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Christian Fertig
Christian Fertig added the comment: for completeness: the openssl output from the machine, where python 2.7 is working: fertig@hornisse:/home/fertig > openssl s_client -connect 172.23.6.222:443 CONNECTED(0003) depth=1 C = DE, L = Munich, O = Siemens AG, OU = Com Enterprise Systems, CN = Si

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, closing then. Thanks for the debugging, and good luck :) -- resolution: -> invalid status: open -> closed ___ Python tracker ___ __

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-05 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Antoine, I agree. I beg your pardon. This patch was suppose to be quite trivial, and "test_platform" passes just fine on my Linux and Solaris computers. And the four buildbots I was monitoring, the testsuite passed. The suggestion of Marc-Andre of simply addi

[issue16009] Json error messages could provide more information about the error

2012-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated. Tests added. One discrepancy between Python an C versions fixed. In fact, we can get rid of StopIteration and directly raise ValueError. I don't know what are the functions of StopIteration here, so preserve it. Perhaps the author could explai

[issue16141] Possible simplification for logging.StreamHandler exception handling

2012-10-05 Thread Guido van Rossum
New submission from Guido van Rossum: I just noticed that StreamHandler contains the following fragment in its emit() method: try: except (KeyboardInterrupt, SystemExit): #pragma: no cover raise except: self.handleError(record) Couldn't this be simplified to

[issue16142] ArgumentParser inconsistent with parse_known_args

2012-10-05 Thread Idan Kamara
New submission from Idan Kamara: When known and unknown options are given together in the same option string (e.g. -xy) then ArgumentParser behaves in a strange way: - if the known option is given first (so -k is known and the parser is fed with ['-ku']) then the parsing aborts with "error: ar

[issue16142] ArgumentParser inconsistent with parse_known_args

2012-10-05 Thread R. David Murray
R. David Murray added the comment: Looks like parse_known_args needs to be taught to not treat unknown text following an option as an argument if the option does not take an argument. That would be in keeping with its mission, I think :) There will still probably be ambiguous cases that will

[issue8492] Addition to readline module to get dictionary of keystrokes and commands

2012-10-05 Thread Steven D'Aprano
Steven D'Aprano added the comment: A question came up on Python-ideas about readline apparently missing a standard function. See: http://mail.python.org/pipermail/python-ideas/2012-October/016329.html For debugging issues with readline, it would be be very useful to be able to query the curre

[issue15111] Wrong ImportError message with importlib

2012-10-05 Thread Brett Cannon
Changes by Brett Cannon : -- keywords: +3.2regression resolution: fixed -> status: closed -> open versions: +Python 3.4 ___ Python tracker ___ __

[issue16142] ArgumentParser inconsistent with parse_known_args

2012-10-05 Thread Idan Kamara
Idan Kamara added the comment: Yes that'd fix the known option before unknown but not the other way around. -- ___ Python tracker ___

[issue16142] ArgumentParser inconsistent with parse_known_args

2012-10-05 Thread R. David Murray
R. David Murray added the comment: Right. I didn't read what you wrote carefully enough. Clearly parse_known_args is buggy here. -- ___ Python tracker ___

[issue5845] rlcompleter should be enabled automatically

2012-10-05 Thread Steven D'Aprano
Changes by Steven D'Aprano : -- nosy: +stevenjd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue15111] Wrong ImportError message with importlib

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: > I don't know why, but it seems that the bug reappeared in 3.3. Part of it could be that the original fix added no tests. -- ___ Python tracker __

[issue16116] Can not install C extension modules to inside a venv on Python 3.3.0 for Win32

2012-10-05 Thread Vinay Sajip
Vinay Sajip added the comment: > I have tested the workaround and it works correctly. > Please see attached log file. Thanks for the update. > btw, it seems to me that "-IC:\Python33\include -IC:\Python33\include" > should be "-IC:\Users\msmhrt\mypython\3.3.0\include -IC:\Python33\include". Co

[issue16116] Can not install C extension modules to inside a venv on Python 3.3.0 for Win32

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue15111] Wrong ImportError message with importlib

2012-10-05 Thread Brett Cannon
Brett Cannon added the comment: http://hg.python.org/cpython/rev/dc18a2a66d16 did add a test, just not the right one. -- ___ Python tracker ___ _

[issue15111] Wrong ImportError message with importlib

2012-10-05 Thread Brett Cannon
Brett Cannon added the comment: Actually, I take it back, it removed a test without adding a new one. Obviously that's my bad. -- ___ Python tracker ___

[issue16143] Building with configure option "--without-doc-strings" crashes first time through PyUnicode_DecodeUTF8Stateful

2012-10-05 Thread Gregory Andersen
New submission from Gregory Andersen: Seems unicode_empty is still NULL at this point. A gdb backtrace from an x86_64 build. Reproduced on i686 and mips build as well. Program received signal SIGSEGV, Segmentation fault. 0x0044f61e in PyUnicode_DecodeUTF8Stateful (s=0x59a767 "", size=

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-05 Thread Mark Lawrence
Mark Lawrence added the comment: I can reproduce this on Windows Vista running 2.7.3. With 3.3.0 I get >>> faulty_time = time.asctime(initial_struct_time) Traceback (most recent call last): File "", line 1, in TypeError: Tuple or struct_time argument required >>> -- nosy: +BreamoreBo

[issue812369] module shutdown procedure based on GC

2012-10-05 Thread Stefan Friesel
Stefan Friesel added the comment: What is the status of this? Does the patch need more reviewing? -- nosy: +Stefan.Friesel ___ Python tracker ___ ___

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Christian Heimes added the comment: I've documented the optimization options of Keccak. The block also contains a summarization of my modifications of the reference code. http://hg.python.org/sandbox/cheimes/file/57948df78dbd/Modules/_sha3/sha3module.c#l22 -- _

[issue16143] Building with configure option "--without-doc-strings" crashes first time through PyUnicode_DecodeUTF8Stateful

2012-10-05 Thread Stefan Krah
Stefan Krah added the comment: This seems related to #9242: _Py_InitializeEx_Private() calls _Py_ReadyTypes(), which uses the Unicode API, well before actually calling _PyUnicode_Init(). -- nosy: +georg.brandl, skrah priority: normal -> release blocker stage: -> needs patch ___

[issue16143] Building with configure option "--without-doc-strings" crashes first time through PyUnicode_DecodeUTF8Stateful

2012-10-05 Thread Stefan Krah
Stefan Krah added the comment: Sorry, wrong issue number: Related to #10156. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue10156] Initialization of globals in unicodeobject.c

2012-10-05 Thread Stefan Krah
Stefan Krah added the comment: See also #16143. -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list maili

[issue16141] Possible simplification for logging.StreamHandler exception handling

2012-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Couldn't this be simplified to the following? I think this is idiomatic now (since 2.5). There are some places where similar outdated code used. See the attached patch. There are more dubious places in Lib/multiprocessing/managers.py and Lib/asyncore.py.

[issue16144] misleading sentence in reference/import

2012-10-05 Thread Manuel Pégourié-Gonnard
New submission from Manuel Pégourié-Gonnard: I find the following sentences, from import.rst, section "Finders and loaders", misleading: "Python includes a number of default finders and importers. One knows how to locate frozen modules, and another knows how to locate built-in modules." in tha

[issue16141] Possible simplification for logging.StreamHandler exception handling

2012-10-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +vinay.sajip stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue812369] module shutdown procedure based on GC

2012-10-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: At the moment, it's like that the status of the patch needs to be reestablished. Does it apply? Does it work? Does the test suite still pass? -- ___ Python tracker _

[issue16144] misleading sentence in reference/import

2012-10-05 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +brett.cannon, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue16098] Bisect optimization in heapq.nsmallest is never used

2012-10-05 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: I've to say that I also ran into that by following coverage numbers and as a newbie is not so easy to see what Raymond told. IMHO that information could be put as a comment. Regards francis -- nosy: +francismb __

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2012-10-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Viktor, what happen when a large positive number (>=100) used as tm_hour? -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Roger Serwy
Roger Serwy added the comment: I agree that a message within the shell would be more informative to the user. The _rev1 patch also adds a message to the shell. -- Added file: http://bugs.python.org/file27437/idle_deprecate_rev1.patch ___ Python track

[issue16145] Abort in _csv module

2012-10-05 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: Commit f2adbb1065eb introduced abort in _csv module in debug builds in Python 3.3, when using APSW shell. (You need to have SQLite >=3.7.14 installed.) $ cd /tmp $ wget http://apsw.googlecode.com/files/apsw-3.7.14-r2.zip $ unzip apsw-3.7

[issue16124] fcntl_ioctl still not 100% sane with unsigned longs

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Is it affected for 3.3 and 3.4 also? -- nosy: +asvetlov versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue16128] hashable documentation error

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Please write what exact text you want to see in documentation. -- nosy: +asvetlov ___ Python tracker ___ ___

[issue16058] ConfigParser no longer deepcopy compatible in 2.7

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: ConfigParser is not intended to be deep copy-able, at least documentation says nothing about it. -- nosy: +asvetlov, lukasz.langa ___ Python tracker __

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Changes by Christian Heimes : Added file: http://bugs.python.org/file27438/622009fb6192.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue16145] Abort in _csv module

2012-10-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, can you try to enable core dumps and get a complete stack trace? -- ___ Python tracker ___ ___

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Looks good for me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue14574] SocketServer doesn't handle client disconnects properly

2012-10-05 Thread Charles-François Natali
Charles-François Natali added the comment: > Are you referring to the comment where I mention ECONNABORTED? That is a > regular unix error (windows version is WSAECONNABORTED). > This error occurs when the local stack decides to kill the connection, as > opposed to ECONNRESET which occurs on a

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0430986a8c03 by Andrew Svetlov in branch 'default': Issue #16123: IDLE - deprecate running without a subprocess. http://hg.python.org/cpython/rev/0430986a8c03 -- nosy: +python-dev ___ Python tracker

[issue16139] Python 3.3 fails when starting from read-only FS

2012-10-05 Thread Charles-François Natali
Charles-François Natali added the comment: > This is more or less a duplicate of #15833 Indeed, closing as duplicate. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> most failures to write byte-compiled file no longer suppressed type: cr

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Change priority to deferred blocker for reminding to remove no-subprocess mode in 3.5. Thanks, Roger. -- priority: normal -> deferred blocker ___ Python tracker _

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-05 Thread Charles-François Natali
Charles-François Natali added the comment: We should probably catch all OSErrors, and log a warning in verbose mode, as suggested by Antoine. Catching individual errnos is tedious and error-prone. -- nosy: +neologix ___ Python tracker

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-05 Thread STINNER Victor
STINNER Victor added the comment: Issue #16139 has been marked as a duplicate of this issue. -- nosy: +haypo ___ Python tracker ___ __

[issue13896] Make shelf instances work with 'with' as context managers

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Filip, please describe why you prevent closing if writeback attribute is not present. I see comment for __del__ related to #1339007, but at __exit__ call __enter__ has called already and __init__ has finished definitely with success. Also I would to see referen

[issue13896] Make shelf instances work with 'with' as context managers

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- assignee: -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0df5aeab229f by Andrew Svetlov in branch '3.3': Issue #16115: Add test for check that executable arg to Popen() takes precedence over args[0] arg\n\n Patch by Kushal Das http://hg.python.org/cp

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Thank you, Kushal Das. BTW, please fill http://www.python.org/psf/contrib/ as contributor of Python project. We would to get that agreement from everybody who has pushed any patch. Thanks again. -- ___ Pyt

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue16114] incorrect path in subprocess.Popen() FileNotFoundError message

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Maybe better to fix Windows behavior for unifying FileNotFoundError? -- ___ Python tracker ___ ___ P

[issue16146] MIMEApplication cannot access

2012-10-05 Thread yinian1992
New submission from yinian1992: I have a python 2.7.3 installation both on Debian 6 and Windows 7. And under both environment email.mime.application cannot access. >>> email.mime.application Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribu

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: Actually, I was still working on this. I had assigned it to myself. +p = subprocess.Popen(["nonexistent","-c",'import sys; sys.exit(42)'], +executable=sys.executable, cwd=python_dir) The test for the executable argument shou

[issue16114] incorrect path in subprocess.Popen() FileNotFoundError message

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: I will be opening a separate issue to have the same behavior in a future version after this issue is closed. For existing releases, we don't want to break working code that could be relying on the difference. -- __

[issue16114] incorrect path in subprocess.Popen() FileNotFoundError message

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: Sorry, I was confusing this issue with issue 15533. Yes, I support adding the file path to the error message in the Windows implementation, though my preference would be for that to be addressed as part of a separate issue. -- ___

[issue16145] Abort in _csv module

2012-10-05 Thread Roger Binns
Roger Binns added the comment: I'm the APSW author. You do not need SQLite installed - APSW's setup can fetch the current SQLite and use it privately not affecting the rest of the system. An easier way of testing is: python3 setup.py fetch --sqlite --version 3.7.14 build_ext --inplace --for

[issue16146] MIMEApplication cannot access

2012-10-05 Thread R. David Murray
R. David Murray added the comment: This is by design. If you want to load the application module, you have to do so explicitly: import email.mime.application This is similar to the way many other packages are organized. An __init__ file importing a submodule is the (relatively) exceptiona

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: ok, it will be better. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Andrew. I'm hoping to finish preparing the patch sometime this weekend. -- ___ Python tracker ___ _

[issue16145] Abort in _csv module

2012-10-05 Thread Stefan Krah
Stefan Krah added the comment: In general APSW does not look ready for the Python 3.3 Unicode implementation. Example: src/statementcache.c:217 Py_UNICODE *out; PyObject *res=PyUnicode_FromUnicode(NULL, size); Python 3.3 docs: "If the buffer is NULL, PyUnicode_READY() must be called o

[issue16119] Python 2.7 _socket DLL import error on Windows Vista

2012-10-05 Thread Spiros K.
Changes by Spiros K. : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

  1   2   >