[issue13290] get vars for object with __slots__

2012-10-06 Thread Michele Orrù
Michele Orrù added the comment: As a reference, linking the discussion on python-dev. http://mail.python.org/pipermail/python-dev/2012-October/122011.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13290

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

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

[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Mike Hoy
Mike Hoy added the comment: Here is a patch after talking with Ezio on irc tonight. The rules I (attempted) to follow are: Within a :file: you should have {X.Y} In a text/paragraph area you can use |version| Within anything else just leave it as X.Y As stated by Éric I ignored install and

[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file27446/issue11643-xy_v1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11643 ___

[issue1520818] fcntl.ioctl fails to copy back exactly-1024 buffer

2012-10-06 Thread G2P
G2P added the comment: The bug still exists in Python 2.6 (2.6.7-4ubuntu2). Python 2.7 (2.7.3-5ubuntu4) works correctly. I don't have Python 2.5 on hand to check. Here is a very simple test case: import array, fcntl buf = array.array('B', [0]*1024) fcntl.ioctl(0, termios.TIOCGPGRP, buf, 1)

[issue1520818] fcntl.ioctl fails to copy back exactly-1024 buffer

2012-10-06 Thread G2P
G2P added the comment: Also happens in 2.5.2-2ubuntu6 and 2.4.5-1ubuntu4.2, FWIW. -- versions: +Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1520818 ___

[issue15767] add ModuleNotFoundError

2012-10-06 Thread Michele Orrù
Changes by Michele Orrù maker...@gmail.com: -- nosy: +maker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15767 ___ ___ Python-bugs-list mailing

[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor
New submission from Alex Gaynor: The attached patch implements PEP 424. The implementation of this demonstrated a need for a few small modifications to the PEP, they will follow shortly. -- components: Interpreter Core files: length_hint.diff keywords: patch messages: 172176 nosy: alex

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

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c1df1ede882 by Andrew Svetlov in branch 'default': Issue #13896: Make shelf instances work with 'with' as context managers. http://hg.python.org/cpython/rev/3c1df1ede882 -- nosy: +python-dev ___ Python

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

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Thanks. Please fill Python Contributor Agreement: http://www.python.org/psf/contrib/ -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue15641] Clean up importlib for Python 3.4

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: What's about Finder? Do you want to remove it also? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15641 ___

[issue15631] Python 3.3/3.4 installation issue on OpenSUSE lib/lib64 folders

2012-10-06 Thread Matthias Klose
Matthias Klose added the comment: the proposed patch has still some issues: - it breaks the installation on 64bit platforms on Debian and Ubuntu. Please test the patch on one of these platforms too. - it hardcodes more platform information in the sys modules, which makes it difficult

[issue3636] Managing dual 2.x and 3.0 installations on Windows

2012-10-06 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3636 ___ ___ Python-bugs-list

[issue8416] python 2.6.5 documentation can't search

2012-10-06 Thread Georg Brandl
Georg Brandl added the comment: searchindex.js is now present in 2.6.5 too. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8416 ___

[issue8525] Display exception's subclasses in help()

2012-10-06 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8525 ___ ___ Python-bugs-list

[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Michele Orrù
New submission from Michele Orrù: Follows from the discussion on python-dev: http://mail.python.org/pipermail/python-dev/2012-September/121871.html -- assignee: docs@python components: Documentation messages: 172182 nosy: docs@python, maker, terry.reedy priority: normal severity: normal

[issue7336] traceback module not properly printing exceptions on interpreter shutdown

2012-10-06 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7336 ___ ___ Python-bugs-list

[issue3022] mailbox module, two small fixes

2012-10-06 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3022 ___ ___ Python-bugs-list

[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor
Alex Gaynor added the comment: patch updated fully with respect to the updates georg pushed to the PEP -- Added file: http://bugs.python.org/file27448/length_hint.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148

[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: Removed file: http://bugs.python.org/file27447/length_hint.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148 ___

[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor
Alex Gaynor added the comment: Updated version of the patch with fewer memory leaks. -- Added file: http://bugs.python.org/file27449/length_hint.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148

[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: Removed file: http://bugs.python.org/file27448/length_hint.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148 ___

[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor
Alex Gaynor added the comment: All memory leaks resolved, yay! -- Added file: http://bugs.python.org/file27450/length_hint.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148 ___

[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: Removed file: http://bugs.python.org/file27449/length_hint.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148 ___

[issue11710] Landing pages in docs for standard library packages

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1141648fa655 by Georg Brandl in branch '3.3': Closes #11710: create landing pages (/library/package.html) for those packages that have no documented content themselves, e.g. urllib or http. http://hg.python.org/cpython/rev/1141648fa655 --

[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee71d8023f1b by Georg Brandl in branch '3.3': Closes #16149: remove now-false statement about the inability to compare Decimal and float objects. http://hg.python.org/cpython/rev/ee71d8023f1b -- nosy: +python-dev resolution: - fixed

[issue1598083] Top-level exception handler writes to stdout unsafely

2012-10-06 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1598083 ___ ___

[issue8401] Strange behavior of bytearray slice assignment

2012-10-06 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8401 ___ ___

[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor
Alex Gaynor added the comment: Added documentation. -- Added file: http://bugs.python.org/file27451/length_hint.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148 ___

[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: Removed file: http://bugs.python.org/file27450/length_hint.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148 ___

[issue16148] Implement PEP 424

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset a7ec0a1b0f7c by Armin Ronacher in branch 'default': Issue #16148: implemented PEP 424 http://hg.python.org/cpython/rev/a7ec0a1b0f7c -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue16148] Implement PEP 424

2012-10-06 Thread Armin Ronacher
Armin Ronacher added the comment: Reviewed and applied. Looks good. -- nosy: +aronacher ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148 ___

[issue16148] Implement PEP 424

2012-10-06 Thread Armin Ronacher
Changes by Armin Ronacher armin.ronac...@active-4.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148 ___ ___

[issue15631] Python 3.3/3.4 installation issue on OpenSUSE lib/lib64 folders

2012-10-06 Thread Skip Montanaro
Skip Montanaro added the comment: the proposed patch has still some issues: - it breaks the installation on 64bit platforms on Debian and Ubuntu. Please test the patch on one of these platforms too. - it hardcodes more platform information in the sys modules, which makes it

[issue8478] tokenize.untokenize first token missing failure case

2012-10-06 Thread Georg Brandl
Georg Brandl added the comment: Attaching patch. Actually both versions of untokenize() were broken; the version used for full input (5-tuples) had a flipped inequality sign in an assert. Other changes in the patch: * Docs fixed to describe both modes * Tests fixed to exercise both modes

[issue16110] Provide logging.config.configParserConfig

2012-10-06 Thread Thomas Bach
Thomas Bach added the comment: Yeah, the change you suggest sounds reasonable. Thanks for reconsidering the case! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16110 ___

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

2012-10-06 Thread Kushal Das
Kushal Das added the comment: On Saturday, October 6, 2012, Andrew Svetlov wrote: Andrew Svetlov added the comment: Committed. Thank you, Kushal Das. BTW, please fill http://www.python.org/psf/contrib/ as contributor of Python project. We would to get that agreement from everybody who

[issue8109] Server-side support for TLS Server Name Indication extension

2012-10-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Daniel, I'll take a look. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8109 ___ ___ Python-bugs-list mailing

[issue15422] Get rid of PyCFunction_New macro

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Attached patch for the issue. BTW PyCFunction_New/PyCFunction_NewEx are part of Stable ABI but never mentioned in the documentation. -- keywords: +patch Added file: http://bugs.python.org/file27453/issue15422.diff

[issue15422] Get rid of PyCFunction_New macro

2012-10-06 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15422 ___

[issue16120] Use |yield from| in stdlib

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7d8868c13b95 by Andrew Svetlov in branch 'default': Issue #16120: Use |yield from| in stdlib. http://hg.python.org/cpython/rev/7d8868c13b95 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue16120] Use |yield from| in stdlib

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Berker. -- assignee: - nobody nosy: +asvetlov, nobody resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16120

[issue16113] Add SHA-3 (Keccak) support

2012-10-06 Thread Michele Orrù
Changes by Michele Orrù maker...@gmail.com: -- nosy: +maker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16113 ___ ___ Python-bugs-list mailing

[issue16145] Abort in _csv module

2012-10-06 Thread Stefan Krah
Stefan Krah added the comment: Here's a patch. Victor, I guess I have a feature request for fusil: It would be nice if fusil also generated legacy strings (or does it already do so?). -- keywords: +patch Added file: http://bugs.python.org/file27454/issue16145.diff

[issue16145] Abort in _csv module

2012-10-06 Thread Stefan Krah
Stefan Krah added the comment: The PEPs and doc said the C API would remain backwards compatible. Roger: Yes, you don't need to change anything. I was misled by the PyUnicode_AsUnicode() docs, thinking that the responsibility to call PyUnicode_READY() also applies if the generated Unicode

[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think the fix should be applied to 2.7 and 3.2 too. See issue2531 which allowed comparing decimals and floats. -- nosy: +mark.dickinson, serhiy.storchaka status: closed - open versions: +Python 2.7, Python 3.2

[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +needs review versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16025 ___

[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Georg Brandl
Georg Brandl added the comment: Ah, sorry, I thought this was a 3.3 thing. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16149 ___

[issue16148] Implement PEP 424

2012-10-06 Thread Stefan Krah
Stefan Krah added the comment: a7ec0a1b0f7c broke the Windows buildbots: In Visual Studio variables can only be declared at the top of a block. -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148

[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread pyos
New submission from pyos: Since yield from made it into Python 3.3, I think it would be useful to chain multiple generators and still get a generator, not an iterator. That is, the following code: def f(): yield from itertools.chain(A, B, C) should be (at least roughly) equivalent to

[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +ncoghlan stage: - patch review type: - enhancement versions: -Python 3.3, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16150

[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread pyos
Changes by pyos pyos100...@gmail.com: -- versions: +Python 3.3, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16150 ___ ___

[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread pyos
Changes by pyos pyos100...@gmail.com: -- versions: -Python 3.3, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16150 ___ ___

[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread pyos
Changes by pyos pyos100...@gmail.com: Added file: http://bugs.python.org/file27456/itertools-chain-doc.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16150 ___

[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2012-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1470548 ___ ___ Python-bugs-list mailing list

[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c398a78dba8 by Andrew Svetlov in branch '2.7': Issue #16025: Minor corrections to the zipfile documentation. http://hg.python.org/cpython/rev/2c398a78dba8 New changeset 3d54d17a637b by Andrew Svetlov in branch '3.2': Issue #16025: Minor

[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Please close the issue if all work done. Thanks. -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16025 ___

[issue5815] locale.getdefaultlocale() missing corner case

2012-10-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5815 ___ ___

[issue16148] Implement PEP 424

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: I've taken care of the issue in f56a49e74178 and 895f9fddb8e3. -- nosy: +christian.heimes resolution: - fixed stage: - committed/rejected ___ Python tracker rep...@bugs.python.org

[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Éric Araujo
Éric Araujo added the comment: After reviewing the patch I think that this change would not actually improve things. What do you think? (Thanks for the patch nonetheless :)* -- ___ Python tracker rep...@bugs.python.org

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Update patch conforming to current _tkinter code. -- Added file: http://bugs.python.org/file27457/_tkinter_pep3121-384_v1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15721

[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Andrew, please revert the test_subprocess changes. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16025 ___

[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Done in 674fa8d211f2, 5665806908c4 and c9695a0b0923. Sorry. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16025 ___

[issue3022] mailbox module, two small fixes

2012-10-06 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email nosy: +barry, petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3022 ___

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: I would to have all module state inside _tkinterstate structure. static variables like tcl_lock, tcl_state, quitMainLoop, errorInCmd etc should be moved into _tkinterstate also. -- ___ Python tracker

[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you, Andrew. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16025 ___

[issue16025] Minor corrections to the zipfile documentation

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

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Mark Dickinson
Mark Dickinson added the comment: It's maybe safer (and simpler) to not touch such code in Python older than 3.4. So far, I've been fixing these overflow bugs only in the development branches, unless they can be shown to cause actual bugs. That said, I think it's probably okay to apply

[issue12986] Using getrandbits() in uuid.uuid4() is faster and more readable

2012-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I suggest to reject this proposal because of a deterioration in security. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12986 ___

[issue15186] Support os.walk(dir_fd=)

2012-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Should this issue be closed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15186 ___ ___ Python-bugs-list

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: especially since the 3.3 patch is smaller than the others. It's becouse 3.3 already contains some fixes which was not be backported to older versions. -- ___ Python tracker rep...@bugs.python.org

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Mark Dickinson
Mark Dickinson added the comment: It's becouse 3.3 already contains some fixes which was not be backported to older versions. Yes, exactly! That's what I meant when I said: So far, I've been fixing these overflow bugs only in the development branches There were lots of integer overflow

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: unless they can be shown to cause actual bugs. See issue14700. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16096 ___

[issue16106] antigravity tests

2012-10-06 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16106 ___ ___ Python-bugs-list

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Mark Dickinson
Mark Dickinson added the comment: Serhiy, I don't understand what you're getting at. Can you explain? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16096 ___

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Robin Schreiber
Robin Schreiber added the comment: Before I submitted this patch, I used to have these variables inside the modulestate, which caused severe problems. I do not know the exact reason, but my guess is that these variables have to be globally available for every thread (tcl variables are used

[issue16150] Implement generator interface in itertools.chain.

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

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 152d85b2da3a by Mark Dickinson in branch '3.3': Issue #16096: Fix several occurrences of potential signed integer overflow. Thanks Serhiy Storchaka. http://hg.python.org/cpython/rev/152d85b2da3a New changeset faae99459b43 by Mark Dickinson in

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Mark Dickinson
Mark Dickinson added the comment: Applied the 3.3 patch to 3.3 and default, with some minor changes: - revert the Objects/longobject.c changes, since they don't depend on signed overflow - fix the second change in Objects/tupleobject.c so that the overflow check happens before the

[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1dc66e654806 by Georg Brandl in branch '3.2': Closes #16149: remove now-false statement about the inability to compare Decimal and float objects. http://hg.python.org/cpython/rev/1dc66e654806 -- status: open - closed

[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Georg Brandl
Georg Brandl added the comment: Planted to 3.2 in 1dc66e654806. Turns out the offending paragraph wasn't in 2.7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16149 ___

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Mark Dickinson
Mark Dickinson added the comment: Whoops. I take it back about the Objects/longobject.c bit. Fixing ... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16096 ___

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 906ae6485cb8 by Mark Dickinson in branch '3.3': Issue #16096: Fix signed overflow in Objects/longobject.c. Thanks Serhiy Storchaka. http://hg.python.org/cpython/rev/906ae6485cb8 New changeset b728aac3bdb3 by Mark Dickinson in branch 'default':

[issue16113] Add SHA-3 (Keccak) support

2012-10-06 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/issue16113 ___

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In issue14700 were fixed two actual bugs. The fix was not be backported to older versions (and this changes included in patches for this issue). I think it is better to reopen issue14700 for backporting fixes to 2.7 and 3.2? --

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm trying to make patch following myself recommendations. Looks good but not finished yet. Will publish it after all work done. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15721

[issue8478] tokenize.untokenize first token missing failure case

2012-10-06 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/issue8478 ___

[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16149 ___ ___

[issue16145] Abort in _csv module

2012-10-06 Thread Roger Binns
Roger Binns added the comment: Roughly how long will it be before Python 3.3.1 comes out? This issue means my users will get garbage or crashes, so I'll need to work around it if it will be quite a while till 3.3.1. -- ___ Python tracker

[issue16145] Abort in _csv module

2012-10-06 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- components: +Extension Modules priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16145

[issue14174] argparse.REMAINDER fails to parse remainder correctly

2012-10-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: I also ran into this problem. I put together this script to reproduce the issue: import argparse parser = argparse.ArgumentParser() parser.add_argument('app') parser.add_argument('--config') parser.add_argument('app_args', nargs=argparse.REMAINDER) args =

[issue16145] Abort in _csv module

2012-10-06 Thread Georg Brandl
Georg Brandl added the comment: 3.3.1 will not be too long: maybe 4 weeks from now. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16145 ___

[issue15837] Added test to test_random.py testing Random.shuffle

2012-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am not sure that None as default should be documented. It's implementation details (as third int argument) and can be silently changed in future versions. -- ___ Python tracker rep...@bugs.python.org

[issue14668] Document the path option in the Windows installer

2012-10-06 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14668 ___

[issue14174] argparse.REMAINDER fails to parse remainder correctly

2012-10-06 Thread Idan Kamara
Idan Kamara added the comment: Unfortunately parse_known_args is buggy too: http://bugs.python.org/issue16142 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14174 ___

[issue10968] threading.Timer should be a class so that it can be derived

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 98499371ca53 by R David Murray in branch '3.3': #10968: commit threading doc changes and corresponding whatsnew entry. http://hg.python.org/cpython/rev/98499371ca53 New changeset ad435964fc9c by R David Murray in branch 'default': merge #10968:

[issue10968] threading.Timer should be a class so that it can be derived

2012-10-06 Thread R. David Murray
R. David Murray added the comment: I have now committed (a revised version of) the doc changes. Like I said in the commit message, it is unfortunate that the underscore names were not kept as aliases and that RLock wasn't also converted to a class, but it is too late to fix that in 3.3. If

[issue16144] misleading sentence in reference/import

2012-10-06 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16144 ___ ___ Python-bugs-list

[issue16151] Deferred KeyboardInterrupt in interactive mode

2012-10-06 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here are some strange behavior I see (on Linux). Run Python in interactive mode. Press TabTab. Message Display all XXX possibilities? (y or n) showed. Press Ctrl-C, then n. Prompt showed. Enter any text (or none) and press Enter. KeyboardInterrupt

[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor
Alex Gaynor added the comment: Ah, thank you very much, sorry about that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16148 ___ ___

  1   2   >