[issue16365] IDLE for Windows 8

2012-10-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: Unfortunately, there is not much to check now that you got it working. Doing what Roger first asked for might have given insights, but we can now not determine the issue anymore. So closing this as works for me. -- nosy: +loewis resolution: - works

[issue16362] _LegalCharsPatt in cookies.py includes illegal characters

2012-10-31 Thread Simon Blanchard
Simon Blanchard added the comment: 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)', It's the Baidu spider according to the user agent string. (Baidu is the biggest search engine in China.) The serving app is Django + mod_wsgi + Apache -

[issue7317] Display full tracebacks when an error occurs asynchronously

2012-10-31 Thread alon horev
alon horev added the comment: Hi Antoine, can you please have a look at the patch? It's been over a year since it's submitted. (-: thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7317

[issue16370] Regarding embedding Python in Another Application

2012-10-31 Thread Andrew Svetlov
New submission from Andrew Svetlov: On Fri, Oct 26, 2012 at 12:02 AM, Tom Epperly epper...@llnl.gov wrote: Regarding this section, http://docs.python.org/extending/embedding.html#very-high-level-embedding, according to http://docs.python.org/c-api/init.html Py_SetProgramName() should be

[issue16370] Regarding embedding Python in Another Application

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Patch for 2.7 applied, the same text should be for 3.2+ Chris, please check my wording as native English speaker. -- keywords: +patch nosy: +chris.jerdonek Added file: http://bugs.python.org/file27805/issue16370.diff

[issue13598] string.Formatter doesn't support empty curly braces {}

2012-10-31 Thread Phil Elson
Changes by Phil Elson pelson@gmail.com: -- nosy: +pelson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13598 ___ ___ Python-bugs-list mailing

[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Not sure consolidating is good idea, ok with other changes. -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16197 ___

[issue13598] string.Formatter doesn't support empty curly braces {}

2012-10-31 Thread Phil Elson
Phil Elson added the comment: The current patch fails to catch the fact that auto vs manual numbering has been used in following corner case: from string import Formatter print(Formatter().format({0:{}}, 'foo', 5)) To fix this, without adding state to the formatter instance, some more

[issue6829] Frendly error message when inheriting from function

2012-10-31 Thread Yongzhi Pan
Changes by Yongzhi Pan fossi...@users.sourceforge.net: -- nosy: +fossilet ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6829 ___ ___

[issue16311] Use _PyUnicodeWriter API in text decoders

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I updated the patch to resolve the conflict with issue14625. -- Added file: http://bugs.python.org/file27806/codecs_writer_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16311

[issue16311] Use _PyUnicodeWriter API in text decoders

2012-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file27807/codecs_writer_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16311 ___

[issue16311] Use _PyUnicodeWriter API in text decoders

2012-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file27806/codecs_writer_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16311 ___

[issue16311] Use _PyUnicodeWriter API in text decoders

2012-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file27808/decodebench.res ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16311 ___

[issue16370] Regarding embedding Python in Another Application

2012-10-31 Thread Matt Jones
Matt Jones added the comment: Andrew, below is a revision of your comment with a few corrections made by a native english speaker. Function :c:func:`Py_SetProgramName` should be called before :c:func:`Py_Initialize` to inform the interpreter about paths to Python

[issue16311] Use _PyUnicodeWriter API in text decoders

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: With the patch UTF-8 decoder 20% slower for some data. UTF-16 decoder 20% faster for some data and 20% slower for other data. UTF-32 decoder slower for many data (even after some optimization, naive code was up to 50% slower). Standard charmap decoder 10%

[issue16371] typo in ctypes

2012-10-31 Thread George Yoshida
New submission from George Yoshida: In the following sentence: http://docs.python.org/3.3/library/ctypes.html 16.17.1.19. Surprises There are some edges in ctypes where you may be expect something else than what actually happens. you may be expect should read you may expect --

[issue16370] Regarding embedding Python in Another Application

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e24eb832fb2 by Andrew Svetlov in branch '2.7': Issue #16370: Mention Py_SetProgramName in example for very high level embedding. http://hg.python.org/cpython/rev/6e24eb832fb2 New changeset 4c35f5ec6acf by Andrew Svetlov in branch '3.2': Issue

[issue16370] Mention Py_SetProgramName in example for very high level embedding

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Matt! -- resolution: - fixed stage: - committed/rejected status: open - closed title: Regarding embedding Python in Another Application - Mention Py_SetProgramName in example for very high level embedding type: - enhancement

[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Zachary Ware
Zachary Ware added the comment: The thought on consolidating is to match Doc/library/msvcrt.rst which does the same thing. Also, when I started reading this page shortly before opening this issue, I was reading most of the page at once and was frankly pretty annoyed by seeing the same notice

[issue16372] Initialization strange behavior

2012-10-31 Thread Wojciech Danilo
New submission from Wojciech Danilo: Hi! I'm using Python for several years and now I'm writing in Python 3 for the first time. I think I found a strange bug in it. Lets concider the code in the attachement. In the 33 line there is construction of new instance of class Result:

[issue16371] typo in ctypes

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee13dc0793df by Andrew Svetlov in branch '3.2': Issue #16371: fix typo in ctypes documentation. http://hg.python.org/cpython/rev/ee13dc0793df New changeset 8badb59fd35e by Andrew Svetlov in branch '3.3': Merge issue #16371: fix typo in ctypes

[issue13598] string.Formatter doesn't support empty curly braces {}

2012-10-31 Thread Phil Elson
Phil Elson added the comment: Ramchandra's fix looks fairly good, although there is at least one remaining issue (see my last comment). I have attached a patch which addresses (and tests) this. I'd be happy to pick this up if there are any remaining issues that need to be addressed,

[issue16372] Initialization strange behavior

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: This is a feature, not a bug. :-) See http://docs.python.org/2/faq/design.html#why-are-default-values-shared-between-objects for more information. -- nosy: +mark.dickinson resolution: - invalid status: open - closed

[issue16372] Initialization strange behavior

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: Actually, since you're using Python 3, I should have linked to the Python 3 documentation. Try this one: http://docs.python.org/3/faq/design.html#why-are-default-values-shared-between-objects -- ___ Python tracker

[issue16371] typo in ctypes

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, George. -- nosy: +asvetlov resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement versions: +Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue16373] Recursion error comparing set() and MutableMapping.keys()

2012-10-31 Thread Nick Coghlan
New submission from Nick Coghlan: Try these in 3.3 (or Python 3.2 for the latter): set() collections.ChainMap().keys() set() collections.UserDict().keys() Both fail with max recursion depth exceeded. Given that both exhibit this behaviour, the core of the problem is quite possibly

[issue16371] typo in ctypes

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset f0b22e314975 by R David Murray in branch '3.2': #16371: fix up the English a bit more. http://hg.python.org/cpython/rev/f0b22e314975 New changeset 85504242d0ce by R David Murray in branch '3.3': merge #16371: fix up the English a bit more.

[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread Daniel Gordon
New submission from Daniel Gordon: I have a configuration file containing a key and value: delimiter=; Using ConfigParser, the resulting value of the key delimiter is empty. Expected behavior should be a semicolon as the value. This behavior occurred on Linux (Ubuntu 12.04) but not on Windows

[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: What's about compromise from attached file? -- Added file: http://bugs.python.org/file27811/winreg_3.3+v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16197

[issue16371] typo in ctypes

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, David. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16371 ___ ___ Python-bugs-list mailing list

[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Zachary Ware
Zachary Ware added the comment: Not bad, but with that scheme we could even go as far as cutting out the 'WindowsError is OSError' bit and make it just ..versionchanged:: 3.3 See :ref:`above exception-changed`. -- ___ Python tracker

[issue16375] Warning in Parser/grammar1.c

2012-10-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The changeset 7e0e15d9957f causes annoying GCC warning in Parser/grammar1.c. Possible solutions: 1. Revert this changes back. 2. Prohibit this type of warnings by the compiler flags. 3. Explicitly cast _PyParser_TokenNames to char * in

[issue16311] Use _PyUnicodeWriter API in text decoders

2012-10-31 Thread STINNER Victor
STINNER Victor added the comment: I ran decodebench.py and bench-diff.py scripts from #14624, I just replaced repeat=10 with repeat=100 to get more reliable numbers. I only see some performance regressions between -5% and -1%, but there are some speedup on UTF-8 and UTF-32 (between +11% and

[issue16373] Recursion error comparing set() and MutableMapping.keys()

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Also: {}.keys() collections.UserDict().keys() {}.items() collections.UserDict().keys() {}.items() collections.UserDict().items() ... -- components: +Library (Lib) nosy: +serhiy.storchaka type: - behavior

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 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/issue16369 ___ ___ Python-bugs-list mailing list

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: Bmp --- sent by an 11-year old -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13701 ___ ___

[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: buump. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14675 ___ ___ Python-bugs-list mailing list

[issue16373] Recursion error comparing set() and MutableMapping.keys()

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The core of the problem is in Set. import collections.abc class S(collections.abc.Set): def __contains__(self, key): return False def __iter__(self): return iter(()) def __len__(self): return 0 S() set() is False. set() S() fails. --

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Ezio Melotti
Ezio Melotti added the comment: Teach the users English may be an altruist goal in the long term, but for many teachers (like my case) it a barrier right now that can tip the balance to other more friendly languages Students are not required to learn English and English grammar before

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: It is possible with this bug to make a sudo IDLE edit a root-file. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16248 ___

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: oops ignore last msg -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16248 ___ ___ Python-bugs-list mailing

[issue16373] Recursion error comparing set() and MutableMapping.keys()

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Related (if not superseder) issue is issue8743. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16373 ___ ___

[issue8743] set() operators don't work with collections.Set instances

2012-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8743 ___

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ezio Melotti
Ezio Melotti added the comment: Can you provide a patch? -- nosy: +ezio.melotti stage: - needs patch type: - enhancement versions: +Python 3.4 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13701

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: I'll give one now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13701 ___ ___ Python-bugs-list mailing list

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: Do you think this should be fixed - the comments say This module is currently Py2.3 compatible and should be kept that way unless a major compelling advantage arises. IOW, 2.3 compatibility is strongly preferred, but not guaranteed. --

[issue16136] Removal of VMS support

2012-10-31 Thread Sandeep Mathew
Sandeep Mathew added the comment: I have asked HP for access to a VMS box so that I restart my work. I initially checked with the university to see if I can get hold of an Itanium box. @Trent : If you have HP - UX already running, you may make use of Hyper-V to get vms running without

[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16374 ___ ___

[issue16259] Replace exec() in test.regrtest with __import__

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: Bump. -- type: - behavior versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16259 ___ ___

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: It seems fine to me to change it for 3.4, assuming that the diff isn't huge. Spec updates don't seem likely, and even if they did occur I'd expect them to be small tweaks rather than major additions. +0 from me. --

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ezio Melotti
Ezio Melotti added the comment: That might be true for 2.7, but for 3.4 it can probably be changed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13701 ___

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: BTW, in an earlier comment you said: now threading imports dummy_threading when threading is not available. Do you mean that 'import threading' will always succeed, even on platforms built without thread support? Is this documented somewhere? The docs at

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset abe8a2908f08 by Jesus Cea in branch '2.7': Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT! http://hg.python.org/cpython/rev/abe8a2908f08 New changeset e9ea7f6a7107 by Jesus Cea in branch '3.2': Closes

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Benjamin, 3.3/3.4 PyDictDummy_Type initialization is missing too. That code was introduced in changeset: 76485:6e5855854a2e user:Benjamin Peterson benja...@python.org date:Mon Apr 23 11:24:50 2012 -0400 summary: Implement PEP 412:

[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-10-31 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - wont fix stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14675 ___

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: Is there an equivalent of _dummy_thread for threading? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13701 ___

[issue16268] dir(closure) does not find __dir__

2012-10-31 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/issue16268 ___ ___ Python-bugs-list mailing list

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: Ignore earlier message. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13701 ___ ___ Python-bugs-list mailing

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: @Mark BTW, in an earlier comment you said: now threading imports dummy_threading when threading is not available. My comment only applies to _thread. -- ___ Python tracker rep...@bugs.python.org

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-31 Thread Guilherme Polo
Guilherme Polo added the comment: I can ignore it, but let us be honest. If you got sudo privilege already, why are you bothering to break (or whatever else) the system using IDLE ? The issue here did not give you the sudo privilege. If it did, then we have an actual security bug. --

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Any option of having a test? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16369 ___ ___ Python-bugs-list

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: Sorry it doesn't apply to anything at all. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13701 ___ ___

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: Odd.. I download decimal.py from http://hg.python.org/cpython/file/fa959dc5c61d/Lib/decimal.py but it uses 1L (isn't py3k compliant) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13701

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: I think this is a legitimate security bug. the malicious program needs to create a file with a certain name in the home dir. If a user runs say IDLE (or another tk app) with root priveleges using sudo, the file will be run with root priveleges. --

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16369 ___

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: Revision fa959dc5c61d comes from the 2.7 maintenance branch. Try: http://hg.python.org/cpython/file/e5f39546989f/Lib/decimal.py instead. Better still, get a clone of the Python repository. :-) -- ___ Python

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Zachary Ware
Zachary Ware added the comment: Odd.. I download decimal.py from http://hg.python.org/cpython/file/fa959dc5c61d/Lib/decimal.py but it uses 1L (isn't py3k compliant) Try http://hg.python.org/cpython/file/default/Lib/decimal.py Clicking 'browse' from http://hg.python.org/cpython/ shows the

[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: I have updated patch. -- Added file: http://bugs.python.org/file27812/winreg_3.3+v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16197 ___

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: On 31 October 2012 22:04, Mark Dickinson rep...@bugs.python.org wrote: Mark Dickinson added the comment: Revision fa959dc5c61d comes from the 2.7 maintenance branch. Try: http://hg.python.org/cpython/file/e5f39546989f/Lib/decimal.py instead.

[issue16372] Initialization strange behavior

2012-10-31 Thread Wojciech Danilo
Wojciech Danilo added the comment: Wow, I was using Python so long and I didn't know about it. Is there any paper discussing why this feature is better than storing cache as global variable / as class private parameter? -- ___ Python tracker

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: Attached is a patch. I haven't tested it. -- keywords: +patch Added file: http://bugs.python.org/file27813/decimal.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13701

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: I'm not sure whether the patch fixes everything. Gone to sleep. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13701 ___

[issue8743] set() operators don't work with collections.Set instances

2012-10-31 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/issue8743 ___ ___ Python-bugs-list mailing list

[issue16373] Recursion error comparing set() and MutableMapping.keys()

2012-10-31 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/issue16373 ___ ___ Python-bugs-list mailing list

[issue16372] Initialization strange behavior

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: There's plenty of discussion of this feature of Python around the web, but this isn't the place to rehash it. :-) Google for python mutable default argument. -- ___ Python tracker rep...@bugs.python.org

[issue16372] Initialization strange behavior

2012-10-31 Thread Wojciech Danilo
Wojciech Danilo added the comment: Thank you! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16372 ___ ___ Python-bugs-list mailing list

[issue16373] Recursion error comparing set() and MutableMapping.keys()

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which fixes this particular issue. Now recursion avoided. The specified operations raises TypeError. Fixing this error (if it should be fixed) is the problem of issue8743. -- stage: - patch review

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: It doesn't need to be initialized. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16369 ___

[issue16373] Recursion error comparing set() and collections.Set instances

2012-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +patch title: Recursion error comparing set() and MutableMapping.keys() - Recursion error comparing set() and collections.Set instances Added file: http://bugs.python.org/file27814/abc_set_issuperset_recursion.patch

[issue16376] wrong type for wintypes.BYTE

2012-10-31 Thread anatoly techtonik
New submission from anatoly techtonik: Windows BYTE type is unsigned char, but ctypes defines it as signed. {{{ BYTE A byte (8 bits). This type is declared in WinDef.h as follows: typedef unsigned char BYTE; typedef unsigned char BYTE; }}}

[issue16373] Recursion error comparing set() and collections.Set instances

2012-10-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Serhiy Storchaka, I was wondering if you could provide a test for the testsuite too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16373 ___

[issue8743] set() operators don't work with collections.Set instances

2012-10-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Heads up, Issue #16373. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8743 ___ ___ Python-bugs-list mailing

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Even if not needed to be initialize, we might do it for regularity (no special cases are special enough :-). Or, if left alone, at least document it in the code. -- ___ Python tracker rep...@bugs.python.org

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2012-10-31 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +barry versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12782 ___

[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Zachary Ware
Zachary Ware added the comment: v3 looks fine to me! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16197 ___ ___ Python-bugs-list mailing list

[issue16373] Recursion error comparing set() and collections.Set instances

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: issue15246 should add a place for such test. I'm not sure that possible wrong behavior (which can be changed in issue8743) should be perpetuated in the tests. -- ___ Python tracker rep...@bugs.python.org

[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2e7da832219d by Andrew Svetlov in branch '3.3': Issue #16197: Fix several small errors in winreg documentation. http://hg.python.org/cpython/rev/2e7da832219d New changeset f1310219c702 by Andrew Svetlov in branch 'default': Merge issue #16197: Fix

[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Thanks, Zachary! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16197 ___

[issue15873] datetime cannot parse ISO 8601 dates and times

2012-10-31 Thread flying sheep
flying sheep added the comment: there is a module that parses those strings pretty nicely, it’s called pyiso8601: http://code.google.com/p/pyiso8601/ in the context of writing a better plistlib, i also needed the capability to parse those strings, and decided not to use the sucky incomplete

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset e87d617cef23 by Benjamin Peterson in branch 'default': make PyGrammar_LabelRepr return a const char * (closes #16369) http://hg.python.org/cpython/rev/e87d617cef23 -- ___ Python tracker

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: Oops, that was supposed to go to #16375. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16369 ___ ___

[issue16375] Warning in Parser/grammar1.c

2012-10-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: e87d617cef23 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16375 ___

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Those that continues working on programming will surely be exposed sooner or later to formal technical English course at University or similar. The sooner they get exposed to English the better it is. The best way to learn a language is by using it,

[issue16136] Removal of VMS support

2012-10-31 Thread Trent Nelson
Trent Nelson added the comment: Ah, I forgot about the VOE stuff. That will work a lot better. I'll still need to acquire VMS media though. You're not a committer are you? I can sort you out with access to Snakebite anyway -- email me your ssh key if you're interested (trent at

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Ezio Melotti
Ezio Melotti added the comment: This sounds like wishful thinking to me. Regardless of whether it's *better* for a fledgling programmer to learn and improve their English, we can still improve Python right now for those who don't master English. True, but my point is that while this has some

[issue16373] Recursion error comparing set() and collections.Set instances

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated with test which does not rely on set behaviour. -- Added file: http://bugs.python.org/file27815/abc_set_issuperset_recursion_2.patch ___ Python tracker rep...@bugs.python.org

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7ada0faded9b by Mark Dickinson in branch 'default': Issue #13701: Fix decorator avoidance (due to desire for Python 2.3 compatibility) in decimal module. http://hg.python.org/cpython/rev/7ada0faded9b -- nosy: +python-dev

[issue16375] Warning in Parser/grammar1.c

2012-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: needs patch - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16375 ___

[issue16375] Warning in Parser/grammar1.c

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16375 ___ ___ Python-bugs-list mailing list

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed the unuse of decorator syntax. I think the dummy_threading changes should be considered a separate issue. With regards to the patch: I assume you mean import dummy_threading as threading rather than just import dummy_threading. Also, it looks to me

  1   2   >