[issue15873] "datetime" cannot parse ISO 8601 dates and times

2012-10-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16378] venv.EnvBuilder docstring inconsistencies

2012-10-31 Thread Éric Araujo
Éric Araujo added the comment: Tagging for the bug day. -- keywords: +easy nosy: +eric.araujo, vinay.sajip ___ Python tracker ___ ___

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, did you mean to send that to another issue? -- ___ Python tracker ___ ___ Python-bugs-list

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: The text is now correct and matches the spec: http://speleotrove.com/decimal/daops.html#refremnear The doctests should be expanded to show all of the examples listed in that document: remainder-near(’2.1’, ’3’)==> ’-0.9’ remainder-near(’10’, ’6’)

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm going to close this one. It *really* would need a PEP before going forward. There are many issues to consider: being able to google for an exception message, doctest issues, maintainability issues, etc. -- nosy: +rhettinger resolution: -> re

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

2012-10-31 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: stutzbach -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

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

2012-10-31 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14803] Add feature to allow code execution prior to __main__ invocation

2012-10-31 Thread Bradley Froehle
Changes by Bradley Froehle : -- nosy: +bfroehle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue16378] venv.EnvBuilder docstring inconsistencies

2012-10-31 Thread Bradley Froehle
New submission from Bradley Froehle: Consider the docstring for venv.EnvBuilder:: By default, the builder makes the system (global) site-packages dir available to the created environment. By default, the creation process uses symlinks wherever possible. It seems to suggest that the

[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset fbfaef0a9c00 by Benjamin Peterson in branch 'default': point errors related to nonlocals and globals to the statement declaring them (closes #10189) http://hg.python.org/cpython/rev/fbfaef0a9c00 -- nosy: +python-dev resolution: -> fixed st

[issue16366] _handleError not very informative

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7b868cdd9bb by Vinay Sajip in branch 'default': Closes #16366: Improve diagnostics from handleError(). Thanks to Antoine Pitrou for the suggestion. http://hg.python.org/cpython/rev/d7b868cdd9bb -- nosy: +python-dev resolution: -> fixed st

[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread Berker Peksag
Berker Peksag added the comment: > Cannot reproduce that with Ubuntu 12.04. +1. Attached a reproducer. -- nosy: +berker.peksag Added file: http://bugs.python.org/file27819/reproducer.py ___ Python tracker ___

[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread Michael Grünewald
Michael Grünewald added the comment: Cannot reproduce that with Ubuntu 12.04. Python 2.7 returned ";" under both Windows 7 and Ubuntu 12.04. Can you verify that there was no space before the semicolon? Otherwise the semicolon gets treated as the beginning of an inline comment. -- nosy

[issue16335] Integer overflow in unicode-escape decoder

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > MemoryError It's because you need >4GB for source bytes + at least >8GB (>12GB on Windows) for temporary UCS2 string. -- ___ Python tracker __

[issue9742] Python 2.7: math module fails to build on Solaris 9

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: Reopening because I think I may have an easy solution. Is there anyone who can reproduce the problem who could test the attached patch (against 2.7) to see if it solves the issue? -- assignee: -> mark.dickinson resolution: out of date -> status: clo

[issue16335] Integer overflow in unicode-escape decoder

2012-10-31 Thread STINNER Victor
STINNER Victor added the comment: I have 12 GB of RAM. Let's test. $ ./python Python 3.4.0a0 (default:8573a86c11b5+, Oct 31 2012, 22:17:00) [GCC 4.6.3 20120306 (Red Hat 4.6.3-2)] on linux >>> x=(b'\\N{WHITE SMILING FACE' + b'x' * 2**32 + b'}') >>> len(x) 4294967318 >>> y=x.decode('unicode-esca

[issue15441] test_posixpath fails on Japanese edition of Windows

2012-10-31 Thread STINNER Victor
STINNER Victor added the comment: > If a file name was invalid byte character, > os.chdir() raises UnicodeDecodeError() instead of WindowsError. I believe this case is not handled correctly in Python 3.4 (version under development) thanks to my work on issue #15478. Thanks for the report Atsuo

[issue15441] test_posixpath fails on Japanese edition of Windows

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3434c1ae503 by Victor Stinner in branch 'default': Issue #15441, #15478: Reenable test_nonascii_abspath() on Windows http://hg.python.org/cpython/rev/b3434c1ae503 -- ___ Python tracker

[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3434c1ae503 by Victor Stinner in branch 'default': Issue #15441, #15478: Reenable test_nonascii_abspath() on Windows http://hg.python.org/cpython/rev/b3434c1ae503 -- ___ Python tracker

[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

2012-10-31 Thread STINNER Victor
STINNER Victor added the comment: All issues should now be fixed. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue14894] distutils.LooseVersion fails to compare number and a word

2012-10-31 Thread Dwayne Litzenberger
Dwayne Litzenberger added the comment: As far as a real-world example is concerned, if you're using git-describe to generate your version numbers, you can pretty easily end up with something like "ab25c6fe95ee92fac3187dcd90e0560ccacb084a". -- nosy: +DLitz _

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

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

[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6903f5214e99 by Victor Stinner in branch 'default': Issue #15478: Use source filename in OSError, not destination filename http://hg.python.org/cpython/rev/6903f5214e99 -- ___ Python tracker

[issue9742] Python 2.7: math module fails to build on Solaris 9

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: Looking back at the discussion, I think I got this bit wrong: "the round function is needed, and used, in Objects/floatobject.c (that is, if PY_NO_SHORT_FLOAT_REPR is *not* defined;" In fact, the round function is used if PY_NO_SHORT_FLOAT_REPR *is* defined, a

[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 13ebaa36d87d by Victor Stinner in branch 'default': Issue #15478: Use path_error() in more posix functions, especially in Windows http://hg.python.org/cpython/rev/13ebaa36d87d New changeset 9f696742dbda by Victor Stinner in branch 'default': Issue #

[issue13659] Add a help() viewer for IDLE's Shell.

2012-10-31 Thread Roger Serwy
Roger Serwy added the comment: The attached patch ("issue13659.patch") adds a configuration option for selecting the output of help() as being in the shell or in the pager. It is an enhancement against 3.4. Another possibility involves adding a checkable menu item under "Options" or "Help" to

[issue16377] Fix bisect unittest

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Mark. I've missed it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue16377] Fix bisect unittest

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: (also in 2.7 :-) -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue16377] Fix bisect unittest

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8296b686c6de by Mark Dickinson in branch '2.7': Issue #16377: fix missed test due to incorrect indentation in test_bisect. Thanks Yury Selivanov. http://hg.python.org/cpython/rev/8296b686c6de -- ___ Pyt

[issue16377] Fix bisect unittest

2012-10-31 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue16377] Fix bisect unittest

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks, Yury. -- components: +Library (Lib) nosy: +asvetlov resolution: -> fixed status: open -> closed type: -> enhancement versions: +Python 3.2, Python 3.4 ___ Python tracker

[issue16377] Fix bisect unittest

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 838e2b19489e by Andrew Svetlov in branch '3.2': Issue #16377: Fix bisect unittest. http://hg.python.org/cpython/rev/838e2b19489e New changeset f3dd84feeb58 by Andrew Svetlov in branch '3.3': Merge issue #16377: Fix bisect unittest. http://hg.python.

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: Is this also an issue for Python 3.x? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue16377] Fix bisect unittest

2012-10-31 Thread Yury Selivanov
New submission from Yury Selivanov: TestInsort.test_vsBuiltinSort is a bit broken, as it doesn't test insorting `list` objects. Patch attached. -- files: test_bisect.patch keywords: patch messages: 174365 nosy: christian.heimes, georg.brandl, rhettinger, yselivanov priority: normal sev

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: An additional reason to keep English error messages always is that they are not just printed. They are part of the args tuple attribute of exception objects. Code that processes exception messages could break if the English version is replaced. Doctests are on

[issue14900] cProfile does not take its result headers as sort arguments

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. For future improvements please open new issue. Thanks. -- components: +Documentation resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement versions: +Python 3.3, Python 3.4 __

[issue14900] cProfile does not take its result headers as sort arguments

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset f263a84871de by Andrew Svetlov in branch '2.7': Issue #14900: document added sort keys for profile stats. http://hg.python.org/cpython/rev/f263a84871de New changeset 52d6974fa05b by Andrew Svetlov in branch '3.2': Issue #14900: document added sort k

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: What Ezio suggested, plus maybe the error name -- but people must learn those to write exception statements, and a translation of the exceptions section of the lib manual is really needed to understand them. The boilerplate lines "Traceback (most recent call l

[issue16367] io.FileIO.readall() is not 64-bit safe on Windows

2012-10-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks ok to me. Perhaps we could add a bigmem test for that (in test_fileio)? -- ___ Python tracker ___

[issue15795] Zipfile.extractall does not preserve file permissions

2012-10-31 Thread R. David Murray
R. David Murray added the comment: OK, so this is an enhancement to specifically allow preservation of "unsafe" permissions? Adding the nosy list from issue 3394. -- nosy: +cbrannon, pitrou, swarren type: behavior -> enhancement versions: -Python 2.7 _

[issue16348] Decimal.remainder_near documentation incorrect.

2012-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for reviewing, Andrew. -- assignee: docs@python -> mark.dickinson resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue16348] Decimal.remainder_near documentation incorrect.

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1122f5bfc957 by Mark Dickinson in branch '2.7': Issue #16348: Fix incorrect documentation for Decimal.remainder_near. http://hg.python.org/cpython/rev/1122f5bfc957 New changeset 8570943ad5a2 by Mark Dickinson in branch '3.2': Issue #16348: Fix incor

[issue15795] Zipfile.extractall does not preserve file permissions

2012-10-31 Thread Aaron Train
Aaron Train added the comment: Thanks for the patch. Is this going to be resolved soon? -- nosy: +Aaron.Train ___ Python tracker ___ _

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread R. David Murray
R. David Murray added the comment: Ezio: ah. I guess I don't read the Description column of attachments, only the filename :) -- ___ Python tracker ___

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread R. David Murray
R. David Murray added the comment: I didn't look at the patch...I assumed we were only talking about the message. There seems little point in translating any other part of the traceback, other than maybe the boilerplate between traceback sections. My thought was that the translation text for

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Ezio Melotti
Ezio Melotti added the comment: If only the error gets translated it might look more or less like: Traceback (most recent call last): File "form.py", line 78, in f = Form("factura.csv") File "form.py", line 12, in __init__ for linea in open(infile).readlines(): IOError: [Errno 2] No

[issue16345] dict.fromkeys() assumes 'self' is empty

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset a965eac352ec by Benjamin Peterson in branch '3.2': only fast-path fromkeys() when the constructor returns a empty dict (closes #16345) http://hg.python.org/cpython/rev/a965eac352ec New changeset b68da8f2ed95 by Benjamin Peterson in branch '3.3': me

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Georg Brandl
Georg Brandl added the comment: How do you propose to output both versions? It will make tracebacks twice as long. -- ___ Python tracker ___ ___

[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread R. David Murray
R. David Murray added the comment: It seems to me that if as Terry suggests both the English and the translation are output then most of Ezio's concerns would be addressed. Maybe we could even start a new trend in error message internationalization :) An important question that needs to be ad

[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 m

[issue16375] Warning in Parser/grammar1.c

2012-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16375] Warning in Parser/grammar1.c

2012-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: needs patch -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[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 __

[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 ___

[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 so

[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 snakebite.or

[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 usi

[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 ___ ___ Python-bu

[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 ___ ___ Python-bugs-list mailing l

[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

[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 im

[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 ___ _

[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 s

[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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://

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

2012-10-31 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +barry versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[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 ___ ___

[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; }}} http://msdn.microsoft.com/en-us/library/windows/desk

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

2012-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- 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 __

[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 ___ ___

[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 ___

[issue16372] Initialization strange behavior

2012-10-31 Thread Wojciech Danilo
Wojciech Danilo added the comment: Thank you! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[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

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

2012-10-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[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 : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[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 ___ ___ Pytho

[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 ___

[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: On 31 October 2012 22:04, Mark Dickinson 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. Better still, get a

[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 ___ ___

[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

[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 tra

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

2012-10-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[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. -- __

[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

[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 ___ ___ Python-bugs-list mailing l

[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 ___ ___ Python-bugs-list mailing list Unsubscrib

[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. --

[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 __

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: Ignore earlier message. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue16268] dir(closure) does not find __dir__

2012-10-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[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 ___ ___ Python-bugs-li

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

2012-10-31 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> wont fix stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[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 date:Mon Apr 23 11:24:50 2012 -0400 summary: Implement PEP 412: Key-sharing diction

[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 #16369

[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 h

[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 ___ ___ Pyth

  1   2   >