[issue16125] open accepts arbitrary mode strings as long as they contain U

2012-10-04 Thread Robert Xiao
New submission from Robert Xiao: This issue affects Python 2.5 through 2.7, but not Python 3. open accepts basically anything for the second argument, so long as it either starts with r, w, or a, or contains U somewhere in the string. Therefore, the following are all legal in Python 2.7.3:

[issue16125] open accepts arbitrary mode strings as long as they contain U

2012-10-04 Thread Robert Xiao
Changes by Robert Xiao nneon...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16125 ___ ___ Python-bugs-list

[issue16125] open accepts arbitrary mode strings as long as they contain U

2012-10-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, pitrou stage: - needs patch versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16125 ___

[issue16126] PyErr_Format format mismatch in _testcapimodule.c

2012-10-04 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: PyErr_Format in Modules/_testcapimodule.c uses illegal format specifier (%s) for Py_ssize_t argument. It causes crash: import _testcapi _testcapi.parse_tuple_and_keywords( (), {}, b'', [42]) -- components: Extension Modules, Tests files:

[issue16127] Correct mentions of narrow build in documentation and comments

2012-10-04 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In some places in the documentation and in the comments still left incorrect mention of the narrow build. Suggested patch fixes this. -- assignee: docs@python components: Documentation, Unicode files: doc_narrow_build.patch keywords: patch

[issue16125] open accepts arbitrary mode strings as long as they contain U

2012-10-04 Thread Kushal Das
Kushal Das added the comment: I am working on patch for this. -- nosy: +kushaldas ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16125 ___ ___

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

2012-10-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Just so you know, in CPython the bisect version of nsmallest() isn't called at all. Instead, the C implementation is used and it employs the heap based algorithm rather than the bisect algorithm. Instead of mucking with code that call nsmallest(), I'll

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

2012-10-04 Thread Michele Orrù
Michele Orrù added the comment: Since AFAIK json.loads runs through every simil-str object, I think that a repr() is fine here. What do you think? -- nosy: +maker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16009

[issue16125] open accepts arbitrary mode strings as long as they contain U

2012-10-04 Thread Kushal Das
Kushal Das added the comment: Patch to update mode parsing of open call. All tests seem to be running ok. File changed: Objects/fileobject.c -- keywords: +patch Added file: http://bugs.python.org/file27411/open_mode2.patch ___ Python tracker

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Christian Heimes
Christian Heimes added the comment: Hello Björn, thanks for the information. Your package didn't turn up on Google when I started with my experiment. Perhaps it's too new? Your code and mine have lots of similarities. I was amused when I saw that you had the same issue with the block size

[issue8800] add threading.RWLock

2012-10-04 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Ok, here is a new patch. It takes into account various comments and suggestions: 1) The interface is java-like. a single RWLock instance only has attributes reader_lock and writer_lock. 2) Since the owning array needs only be process local, the same

[issue15488] Closed files keep their buffer alive

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4141c36954cd by Jesus Cea in branch 'default': Closes #15488: Closed files keep their buffer alive http://hg.python.org/cpython/rev/4141c36954cd -- nosy: +python-dev resolution: - fixed stage: patch review - committed/rejected status: open

[issue15488] Closed files keep their buffer alive

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- keywords: +patch Added file: http://bugs.python.org/file27413/53aa92a70127.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15488 ___

[issue15513] Correct __sizeof__ support for pickle

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15513 ___ ___ Python-bugs-list mailing list

[issue15475] Correct __sizeof__ support for itertools

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15475 ___ ___ Python-bugs-list mailing list

[issue15528] Better support for finalization with weakrefs

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15528 ___ ___ Python-bugs-list mailing list

[issue14574] SocketServer doesn't handle client disconnects properly

2012-10-04 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Clearly, the finish call is intended to be called, and I think the documentation is in error. However, the finish call should also be able to cope with the connection having been reset and handle such errors as may occur. --

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8912 ___ ___ Python-bugs-list mailing list

[issue15550] Trailing white spaces

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15550 ___ ___ Python-bugs-list mailing list

[issue15464] ssl: add set_msg_callback function

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15464 ___ ___ Python-bugs-list mailing list

[issue14574] SocketServer doesn't handle client disconnects properly

2012-10-04 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Please consider the attached patch and see if it solves the issue. -- keywords: +patch Added file: http://bugs.python.org/file27414/socketserver.patch ___ Python tracker rep...@bugs.python.org

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

2012-10-04 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: This is security risk, but I can't think about any platform.architecture() use that would use a untrusted parameter. Nevertheless os.popen() has been deprecated for ages. I take care of this. -- assignee: - jcea nosy: +jcea versions: -Python 2.6,

[issue16128] hashable documentation error

2012-10-04 Thread Max
New submission from Max: http://docs.python.org/dev/glossary.html?highlight=hashable says: Objects which are instances of user-defined classes are hashable by default; they all compare unequal, and their hash value is their id(). Since x == x returns True by default, so they all compare

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

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset c73b90b6dadd by Jesus Cea in branch '2.7': Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file http://hg.python.org/cpython/rev/c73b90b6dadd New changeset 6c830b657900 by Jesus Cea in branch '3.2': Closes

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

2012-10-04 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I have a bootstrap problem with python 2.7. Backout that patch, for now. -- resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16112

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

2012-10-04 Thread Campbell Barton
New submission from Campbell Barton: note, I was asked to report this issue, posted on the py dev mailing list: see - http://code.activestate.com/lists/python-dev/118015/ --- We've run into an issue recently with blender3d on ms-windows where we want to enforce the encoding is UTF-8 with the

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

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset d6d908dc11f2 by Jesus Cea in branch '2.7': Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Solve a 2.7 bootstrap issue http://hg.python.org/cpython/rev/d6d908dc11f2 -- resolution: - fixed status:

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

2012-10-04 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Thanks for bringing this up and for your patch. -- resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16112 ___

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

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: I did a similar commit two years ago, but I reverted it because I failed to find a solution for the bootstrap issue. changeset: 60673:7c90ac194e40 branch: legacy-trunk parent: 60664:d7d5c76545fb user:Victor Stinner

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

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16112 ___ ___

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

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: See also issue #15216. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16129 ___ ___

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

2012-10-04 Thread R. David Murray
R. David Murray added the comment: A repr of what? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16009 ___ ___ Python-bugs-list mailing list

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

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: See also issue #9560 and the following email from Marc-Andre Lemburg. http://mail.python.org/pipermail/python-checkins/2010-April/092099.html Viktor, before making such changes to platform.py, please coordinate with me, as I am the maintainer of that module.

[issue16125] open accepts arbitrary mode strings as long as they contain U

2012-10-04 Thread R. David Murray
R. David Murray added the comment: Unfortunately, this is a backward compatibility concern (currently working-even-if-buggy code could stop working), so I'm -1 on fixing it. Option [2] would be an enhancement/API change, and is thus also ruled out. A third alternative might be to add a

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

2012-10-04 Thread Ramchandra Apte
Ramchandra Apte added the comment: This is my first patch, so if I've done something wrong please let me know. The Python Development Guide helps you with all this and more: http://docs.python.org/devguide/ -- nosy: +ramchandra.apte ___ Python

[issue15158] Add support for multi-character delimiters in csv

2012-10-04 Thread Ramchandra Apte
Ramchandra Apte added the comment: I do not see the need to cater to something as foolish and rare as using a multichar delimiter that is also within fields. I need to generate tables for Google Code wikis. -- ___ Python tracker

[issue16123] IDLE - deprecate running without a subprocess

2012-10-04 Thread Ramchandra Apte
Ramchandra Apte added the comment: Make it pop up a dialog with the message too in the patch, please. -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16123 ___

[issue16126] PyErr_Format format mismatch in _testcapimodule.c

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0fc259ac8733 by Jesus Cea in branch '3.3': Closes #16126: PyErr_Format format mismatch in _testcapimodule.c http://hg.python.org/cpython/rev/0fc259ac8733 New changeset 366c19bb5ca2 by Jesus Cea in branch 'default': MERGE: Closes #16126:

[issue16130] Porting to Python 3.3 needs to be fixed in What's new In Python 3.4

2012-10-04 Thread Ramchandra Apte
New submission from Ramchandra Apte: Porting to Python 3.3 should be Porting to Python 3.4 in What's new In Python 3.4 [0] http://docs.python.org/dev/whatsnew/3.4.html#porting-to-python-3-3 -- assignee: docs@python components: Documentation messages: 171951 nosy: docs@python,

[issue16126] PyErr_Format format mismatch in _testcapimodule.c

2012-10-04 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Thanks!. -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16126 ___ ___ Python-bugs-list mailing

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

2012-10-04 Thread Will Haldean Brown
Will Haldean Brown added the comment: Thanks for the clarification Raymond! -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16098 ___

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

2012-10-04 Thread Vinay Sajip
Vinay Sajip added the comment: Comparing the link command which works: C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:c:\python33\Libs /LIBPATH:C:\temp\venv2\libs /LIBPATH:C:\temp\venv2\PCbuild /EXPORT:PyInit__regex

[issue16120] Use |yield from| in stdlib

2012-10-04 Thread Brett Cannon
Brett Cannon added the comment: How are people finding these uses? Grepping around for yield and seeing if it is in a 'for' loop? Or are people doing something more detailed like an AST walk of every module in the stdlib looking for some pattern? -- nosy: +brett.cannon

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

2012-10-04 Thread Michele Orrù
Michele Orrù added the comment: A repr of what? Of the variable s in Lib/json/decoder.py#l358 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16009 ___

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

2012-10-04 Thread Michele Orrù
Changes by Michele Orrù maker...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file27415/issue16009.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16009 ___

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

2012-10-04 Thread R. David Murray
R. David Murray added the comment: So you would see a copy of the string being decoded in the error message? That string might be very long, and would be of doubtful utility. What I had in mind was at least printing the character position of the parse failure. That may also be of limited

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

2012-10-04 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Thanks for the heads-up, Victor. I have added Marc-Andre Lemburg to the nosy list, so he can know about this issue and can provide feedback (or request a backout for 2.7). Marc-Andre?. -- nosy: +lemburg ___

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

2012-10-04 Thread R. David Murray
R. David Murray added the comment: Raymond said he would make a code change relevant to this at some point, so we should probably leave this issue open until he does. (Or if he doesn't want the issue open, we can let him close it). -- nosy: +r.david.murray resolution: invalid -

[issue16131] Pylauncher is being installed in Windows system folder

2012-10-04 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: Pylauncher in Python 3.3 is being installed in Windows system folder instead of Program Files folder. That's against platform rules. It should be installed in the same folder Python is installed or in its own folder under Program Files folder. In the

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

2012-10-04 Thread Vinay Sajip
Vinay Sajip added the comment: A little more investigation suggests that the disparity is due to some code in virtualenv's version of distutils.__init__.py, which adds the \Libs entry which allows the virtualenv version to work. Adding Carl Meyer as nosy, as I'd like his advice on what the

[issue16131] Pylauncher is being installed in Windows system folder

2012-10-04 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16131 ___ ___ Python-bugs-list

[issue16131] Pylauncher is being installed in Windows system folder

2012-10-04 Thread Jeremy Kloth
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com: -- nosy: +jkloth ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16131 ___ ___

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

2012-10-04 Thread Carl Meyer
Carl Meyer added the comment: On cursory inspection, I agree that this is precisely what the if win32 block in `virtualenv_embedded/distutils-init.py` is intended to fix, and it seems to me the correct fix is likely to just make the equivalent fix directly in distutils: change the

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

2012-10-04 Thread Carl Meyer
Carl Meyer added the comment: (Actually, to match virtualenv's fix it should add the paths based on both exec_prefix and base_exec_prefix, if they are different.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16116

[issue13405] Add DTrace probes

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- hgrepos: +151 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16113 ___ ___ Python-bugs-list mailing

[issue13405] Add DTrace probes

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file27416/775eeaf1a707.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Christian Heimes
Christian Heimes added the comment: Release 0.1 of pysha3 [1] is out. I've tweaked the C module to make it compatible with Python 2.6 to 3.4. The module and its tests run successfully under Linux and Windows. So far I've tested Linux X84_64 (2.7, 3.2, 3.3, 3.4), Windows X86 (2.6, 2.7, 3.2,

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Please review Modules/sha3module.c Can't you post a patch here? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16113 ___

[issue16132] ctypes incorrectly encodes .format attribute of memory views

2012-10-04 Thread David Beazley
New submission from David Beazley: This is somewhat related to an earlier bug report concerning memory views, but as far as I can tell, ctypes is not encoding the '.format' attribute correctly in most cases. Consider this example: First, create a ctypes array: a = (ctypes.c_double *

[issue13405] Add DTrace probes

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file27417/9030a207c5d6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue16131] Pylauncher is being installed in Windows system folder

2012-10-04 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +stoneleaf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16131 ___ ___ Python-bugs-list

[issue16130] Porting to Python 3.3 needs to be fixed in What's new In Python 3.4

2012-10-04 Thread Kushal Das
Kushal Das added the comment: Documentation patch to show correct Python version. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file27418/issue_16130.patch ___ Python tracker rep...@bugs.python.org

[issue16133] asyncore.dispatcher.recv doesn't handle EAGAIN / EWOULDBLOCK

2012-10-04 Thread Nidan
New submission from Nidan: I recently had lots of the following exception: error: uncaptured python exception, closing channel servercore_persistent.ConnectionHandler connected 127.0.0.1:53609 at 0x8d27eec (class 'socket.error':[Errno 11] Resource temporarily unavailable

[issue16131] Pylauncher is being installed in Windows system folder

2012-10-04 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16131 ___ ___ Python-bugs-list

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Christian Heimes
Christian Heimes added the comment: How about a sandbox repos? -- hgrepos: +152 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16113 ___ ___

[issue16131] Pylauncher is being installed in Windows system folder

2012-10-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is not a bug, but by design. See PEP 397 for details. -- nosy: +loewis resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16131

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- keywords: +patch Added file: http://bugs.python.org/file27419/4509ef9b28a0.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16113 ___

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

2012-10-04 Thread Vinay Sajip
Vinay Sajip added the comment: Since I expect it may be some time before the next Python release is out, ISTM a temporary workaround would be to add a line following line 192 of Lib\distutils\command\build_ext.py, which reads self.library_dirs.append(os.path.join(sys.exec_prefix,

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Good, you can click the create patch button when it's ready :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16113 ___

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

2012-10-04 Thread Vinay Sajip
Vinay Sajip added the comment: If you like, you can make the added line conditional on if sys.base_exec_prefix != sys.prefix, which is the form the actual fix is likely to take. Thus: if sys.base_exec_prefix != sys.prefix:

[issue13477] tarfile module should have a command line

2012-10-04 Thread Kyle Shannon
Changes by Kyle Shannon k...@pobox.com: -- nosy: +kyle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13477 ___ ___ Python-bugs-list mailing list

[issue16130] Porting to Python 3.3 needs to be fixed in What's new In Python 3.4

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset b21288c1ec68 by Benjamin Peterson in branch 'default': 3.3 - 3.4 (closes #16130) http://hg.python.org/cpython/rev/b21288c1ec68 -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed

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

2012-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch that makes error message more informative. I also changed message Expecting object to Expecting value as more conformed to JSON terminology. -- nosy: +storchaka Added file: http://bugs.python.org/file27420/json_errmsg.patch

[issue8800] add threading.RWLock

2012-10-04 Thread Richard Oudkerk
Richard Oudkerk added the comment: Attached is a new version of Kristjan's patch with support for managers. (A threading._RWLockCore object is proxied and wrapped in a local instance of a subclass of threading.RWLock.) Also I made multiprocessing.RWLock.__init__() use

[issue16120] Use |yield from| in stdlib

2012-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Personally I ran the following command: find -type f -name '*.py' -exec egrep -n -A1 '\bfor\b.*\bin\b' '{}' + | egrep -v 'yield +from' | egrep -B1 'yield +\w+(, *\w+)* *(#|$)' I deliberately missed tests and lib2to3, because that's where the changes

[issue16131] Pylauncher is being installed in Windows system folder

2012-10-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: I read this pep. It doesn't tell why installing in Program Files and adding install folder to PATH wasn't chosen. Please take a look at the link I gave -- ___ Python tracker rep...@bugs.python.org

[issue15513] Correct __sizeof__ support for pickle

2012-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patches will be more complex and will depend on functions added in the patches for issue15490. So I'm waiting for the final adoption of the patches for issue15490. -- ___ Python tracker

[issue8800] add threading.RWLock

2012-10-04 Thread Richard Oudkerk
Richard Oudkerk added the comment: Fixed patch because I didn't test on Unix... -- Added file: http://bugs.python.org/file27422/rwlock-sbt.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8800

[issue8800] add threading.RWLock

2012-10-04 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: Removed file: http://bugs.python.org/file27421/rwlock-sbt.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8800 ___

[issue16131] Pylauncher is being installed in Windows system folder

2012-10-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: I read the discussion, but couldn't see anything relevant in it. Please be explicit. As for the reading the PEP, consider this paragraph in particular: It may be surprising that the launcher is installed into the Windows directory, and not the

[issue16133] asyncore.dispatcher.recv doesn't handle EAGAIN / EWOULDBLOCK

2012-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +giampaolo.rodola, josiahcarlson, stutzbach versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16133 ___

[issue16089] _elementtree.TreeBuilder broken with a non-C-deriving element_factory

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7bd9626d8b4f by Antoine Pitrou in branch '3.3': Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL). http://hg.python.org/cpython/rev/7bd9626d8b4f New changeset

[issue16089] _elementtree.TreeBuilder broken with a non-C-deriving element_factory

2012-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16089 ___

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: Removed file: http://bugs.python.org/file27419/4509ef9b28a0.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16113 ___

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

2012-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: This change broke test_platform for me: == ERROR: test_architecture (test.test_platform.PlatformTest) -- Traceback (most

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Christian Heimes
Christian Heimes added the comment: Antoine pointed out that the code contains C++ comments and exports a lot of functions. The latest patch has all // comments replaced, marks all functions and globals as static and #includes the C files directly. --

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: Added file: http://bugs.python.org/file27423/79e3fb1838ce.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16113 ___

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

2012-10-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file27420/json_errmsg.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16009 ___

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

2012-10-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file27424/json_errmsg.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16009 ___

[issue16134] Add support for RTMP schemes to urlparse

2012-10-04 Thread Jorge Gomes
New submission from Jorge Gomes: Please add support in urlparse for the family of RTMP schemes: rtmp rtmpe rtmps rtmpt I believe these schemes should be added to the following module variables: uses_relative uses_netloc uses_params uses_query [essentially, the one where rtsp already is] The

[issue16134] Add support for RTMP schemes to urlparse

2012-10-04 Thread Eric V. Smith
Eric V. Smith added the comment: As this is a feature request, it can only be applied to 3.4. I've modified the versions. -- components: +Library (Lib) nosy: +eric.smith versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.5

[issue15417] Add support for csh and fish in venv activation scripts

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset c519b490f4e4 by Andrew Svetlov in branch 'default': Issue #15417: Add support for csh and fish in venv activation scripts. http://hg.python.org/cpython/rev/c519b490f4e4 -- nosy: +python-dev ___ Python

[issue15417] Add support for csh and fish in venv activation scripts

2012-10-04 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- assignee: - asvetlov resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15417

[issue14446] Remove deprecated tkinter functions

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83da5729e362 by Andrew Svetlov in branch 'default': Issue #14446: Remove deprecated tkinter functions http://hg.python.org/cpython/rev/83da5729e362 -- nosy: +python-dev ___ Python tracker

[issue14446] Remove deprecated tkinter functions

2012-10-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks to Michael Driscoll. BTW you have forgotten to remove C functions from module definition in your patch. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker

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

2012-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated. Conformed other error messages. Now expected exceptions raised for all of the following strings: '' '[' '[42' '[42,' '{' '{' '{spam' '{spam' '{spam:' '{spam:42' '{spam:42,' -- Added file:

[issue14997] IDLE tries to run shell window if line is completed with F5 rather than Enter

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset f6aaac839d83 by Andrew Svetlov in branch '3.2': Issue #14997: disable F5 in idle shell window. http://hg.python.org/cpython/rev/f6aaac839d83 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue14997] IDLE tries to run shell window if line is completed with F5 rather than Enter

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52ef53398096 by Andrew Svetlov in branch '3.3': Merge: Issue #14997: disable F5 in idle shell window. http://hg.python.org/cpython/rev/52ef53398096 New changeset a40981be184d by Andrew Svetlov in branch 'default': Merge: Issue #14997: disable F5 in

[issue14997] IDLE tries to run shell window if line is completed with F5 rather than Enter

2012-10-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks to Roger Serwy. -- nosy: +asvetlov resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14997

  1   2   >