[issue16150] Implement generator interface in itertools.chain.

2012-10-07 Thread pyos
pyos added the comment: Updated the patch. Thanks Serhiy Storchaka for comments on the previous one. -- Added file: http://bugs.python.org/file27468/itertools-chain-send-throw-and-close-2.diff ___ Python tracker rep...@bugs.python.org

[issue16150] Implement generator interface in itertools.chain.

2012-10-07 Thread pyos
Changes by pyos pyos100...@gmail.com: Removed file: http://bugs.python.org/file27455/itertools-chain-send-throw-and-close.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16150 ___

[issue16148] Implement PEP 424

2012-10-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset b9dedf845a0f by Armin Ronacher in branch 'default': Issue #16148: Small improvements and cleanup. Added version information http://hg.python.org/cpython/rev/b9dedf845a0f -- ___ Python tracker

[issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

2012-10-07 Thread Hynek Schlawack
Hynek Schlawack added the comment: Let's get this rolling again. First let's fix the docs for 3.2+ first. My current suggestion would be the following: ~~~ .. function:: makedirs(path, mode=0o777, exist_ok=False) .. index:: single: directory; creating single: UNC paths; and

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-07 Thread Mark Dickinson
Mark Dickinson added the comment: Yes, reopening issue 14700 sounds good to me. I'm not against fixing these issues in the bugfix branches, but we need to do it carefully (which unfortunately probably also means slowly). I think that for the bugfix branches, each fix should be accompanied by

[issue14700] Integer overflow in classic string formatting

2012-10-07 Thread Mark Dickinson
Mark Dickinson added the comment: Re-opening: this should probably also be fixed in 2.7 and 3.2. See issue 16096 for discussion. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14700 ___

[issue14700] Integer overflow in classic string formatting

2012-10-07 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- resolution: fixed - status: closed - open versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14700 ___

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

2012-10-07 Thread Charles-François Natali
Charles-François Natali added the comment: Here's a patch. -- Added file: http://bugs.python.org/file27469/import_error.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833 ___

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

2012-10-07 Thread Charles-François Natali
Charles-François Natali added the comment: Roumen, are you sure you submitted your patch to the right issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833 ___

[issue16153] PyUnicode_FromFormatV() must fail if the format string is invalid

2012-10-07 Thread Stefan Krah
Stefan Krah added the comment: I don't know the reason for the previous behavior, but it's documented: http://docs.python.org/dev/c-api/unicode.html?highlight=pyunicode_fromformatv#PyUnicode_FromFormat An unrecognized format character causes all the rest of the format string to be copied

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

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: The patch for current default branch. -- Added file: http://bugs.python.org/file27470/_tkinter_pep3121-384_v7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15721

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

2012-10-07 Thread Roumen Petrov
Roumen Petrov added the comment: Yes . Charles, lest assume that all other issues with build system, are resolved and source tree is ready for use. So in this situation I could run python , I could build all and I could run tests with an additional patch TEMPDIR is relative to build tree

[issue1492704] distinct error type if shutil.copyfile() fails because of src and dst are the same file

2012-10-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset e11642068f85 by Hynek Schlawack in branch 'default': Closes #1492704: Make shutil.copyfile() raise a distinct SameFileError http://hg.python.org/cpython/rev/e11642068f85 -- resolution: - fixed stage: - committed/rejected status: open -

[issue16040] nntplib: unlimited readline() from connection

2012-10-07 Thread Hynek Schlawack
Hynek Schlawack added the comment: Any suggestions on the value for _MAXLINE or just steal the 64k from httplib? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16040 ___

[issue13837] test_shutil fails with symlinks enabled under Windows

2012-10-07 Thread Hynek Schlawack
Hynek Schlawack added the comment: Pong? I understand we have to close #15411 #9949 first? Can't help here out due to lack of Windows. -- dependencies: +os.chmod() does not follow symlinks on Windows, os.path.realpath on Windows does not follow symbolic links

[issue15411] os.chmod() does not follow symlinks on Windows

2012-10-07 Thread Hynek Schlawack
Changes by Hynek Schlawack h...@ox.cx: -- nosy: +brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15411 ___ ___

[issue14700] Integer overflow in classic string formatting

2012-10-07 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch for 2.7. -- Added file: http://bugs.python.org/file27471/formatting-overflow-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14700

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-07 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- versions: -Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16096 ___ ___

[issue14700] Integer overflow in classic string formatting

2012-10-07 Thread Mark Dickinson
Mark Dickinson added the comment: And for 3.2 -- Added file: http://bugs.python.org/file27472/formatting-overflow-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14700 ___

[issue14700] Integer overflow in classic string formatting

2012-10-07 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: Added file: http://bugs.python.org/file27473/formatting-overflow-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14700 ___

[issue14700] Integer overflow in classic string formatting

2012-10-07 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: Removed file: http://bugs.python.org/file27472/formatting-overflow-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14700 ___

[issue8489] Support UTF8SMTP as part of RFC 5336 in smptlib

2012-10-07 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- components: -Unicode, email title: Support UTF8SMTP as part of RFC 5336 in smtlib - Support UTF8SMTP as part of RFC 5336 in smptlib ___ Python tracker rep...@bugs.python.org

[issue16136] Removal of VMS support

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16136 ___ ___

[issue6322] Pdb breakpoints don't work on lines without bytecode

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6322 ___ ___ Python-bugs-list

[issue16050] ctypes: callback from C++ to Python fails with Illegal Instruction call

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16050 ___ ___

[issue16155] Some minor doc fixes in Doc/faq

2012-10-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: it does not seem to pick the whitespace in the docs and does not match - Doc/faq/general.rst Can you provide a link to the line (or one of the lines) in question so it's easier to see what you are referring to? os.path.isdir returns True or False, not 0

[issue16154] Some minor doc fixes in Doc/library

2012-10-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: fsum will pass if 'from math import fsum' is done before it, but I've left such issues for now since there seems to be a debate about how to go about that For now, you can at least use the testsetup directive which will simultaneously allow the doctests

[issue16076] xml.etree.ElementTree.Element is no longer pickleable

2012-10-07 Thread Eli Bendersky
Eli Bendersky added the comment: Will look into it, thanks for the report. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16076 ___ ___

[issue12322] ElementPath 1.3 expressions documentation

2012-10-07 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks for the report, Patrick. Yes, documenting this limitation would make sense. Have you tested to see how it behaves? Anyhow, a patch would be welcome ;-) -- stage: - needs patch ___ Python tracker

[issue16082] xml.etree.ElementTree.tostringlist does not conform to its documentation

2012-10-07 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks for the report. I'll take a look. Patches always welcome :) -- stage: - patch review title: xml.etree.ElementTree.tostringlist does conform to it's documentation - xml.etree.ElementTree.tostringlist does not conform to its documentation

[issue15888] ipaddress doctest examples have some errors

2012-10-07 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks, Chris. I'll take a look -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15888 ___ ___ Python-bugs-list

[issue3871] cross and native build of python for mingw* hosts

2012-10-07 Thread Roumen Petrov
Roumen Petrov added the comment: Extract of 2012-10-04 is after patch set py3k-20121004-CROSS.tgz from issue #3754 . -- title: cross and native build of python for mingw32 with packaging - cross and native build of python for mingw* hosts Added file:

[issue9216] FIPS support for hashlib

2012-10-07 Thread Roumen Petrov
Roumen Petrov added the comment: Everything in this issue posted until now has to be managed as vendor patch. -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9216 ___

[issue15888] ipaddress doctest examples have some errors

2012-10-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 81ad910d75a9 by Eli Bendersky in branch '3.3': Issue #15888: fixing problems in ipaddress doctests. Patch by Chris Jerdonek http://hg.python.org/cpython/rev/81ad910d75a9 -- nosy: +python-dev ___ Python

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

2012-10-07 Thread Roumen Petrov
Roumen Petrov added the comment: Skip, You mix two technologies one is --libdir that could be specified at configure time and another one is sub-directory name for libraries as path suffix to some prefixes. You could just adjust python to use user specified path (--libdir) and this is more

[issue15888] ipaddress doctest examples have some errors

2012-10-07 Thread Eli Bendersky
Eli Bendersky added the comment: Pushed to 3.3 and 3.4 Thanks for the report and patch -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15888

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

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: The patch is huge, then I like to apply it in two steps: first implement pep 384 than 3121. Attached first patch. -- Added file: http://bugs.python.org/file27475/_tkinter_pep384_v1.patch ___ Python tracker

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

2012-10-07 Thread Roumen Petrov
Roumen Petrov added the comment: Also I could not understand why is opened new issue. Just search for libdir and one is Issue 1294959 - 7 years old with the same idea. Later mean that solution is not acceptable. -- ___ Python tracker

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

2012-10-07 Thread Skip Montanaro
Skip Montanaro added the comment: Before this goes any farther, let me make this clear - I *did not* develop this patch. It was developed by the OpenSUSE folks. I had trouble installing Python from source on the OpenSUSE system under my desk at work. I asked about the problem on

[issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

2012-10-07 Thread R. David Murray
R. David Murray added the comment: Looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13498 ___ ___ Python-bugs-list mailing list

[issue8489] Support UTF8SMTP as part of RFC 5336 in smptlib

2012-10-07 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8489 ___ ___

[issue15650] PEP 3121, 384 refactoring applied to dbm module

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Robin, why do you increment refcounter for type object on every construction of dbm instance? Also I would to see macros in uppercase if possible. -- ___ Python tracker rep...@bugs.python.org

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

2012-10-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc3e27b7da41 by Andrew Svetlov in branch '2.7': Issue #14900: Distuguish call count and primitive call count in pstat output. http://hg.python.org/cpython/rev/cc3e27b7da41 New changeset 410e92589164 by Andrew Svetlov in branch '3.2': Issue #14900:

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

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: I definitely agree with renaming call count to primitive call count. Thank you for patch. BTW please fill Python Contributor Agreement: http://www.python.org/psf/contrib/ -- assignee: - asvetlov ___ Python tracker

[issue16113] Add SHA-3 (Keccak) support

2012-10-07 Thread Richard Oudkerk
Richard Oudkerk added the comment: _sha3 is not being built on Windows, so importing hashlib fails import hashlib ERROR:root:code for hash sha3_224 was not found. Traceback (most recent call last): File C:\Repos\cpython-dirty\lib\hashlib.py, line 109, in __get_openssl_constructor f =

[issue16113] Add SHA-3 (Keccak) support

2012-10-07 Thread Christian Heimes
Christian Heimes added the comment: I've pushed a fix about 5 minutes ago. The module wasn't compiled in debug builds due to an error in the project file. Please update your copy and try again. -- ___ Python tracker rep...@bugs.python.org

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

2012-10-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 69b310f7acfa by Andrew Svetlov in branch '2.7': Issue #14900: Add aliases for sorting params for pstat to follow column names from pstat output. http://hg.python.org/cpython/rev/69b310f7acfa New changeset 511a3c51731e by Andrew Svetlov in branch

[issue16113] Add SHA-3 (Keccak) support

2012-10-07 Thread Christian Heimes
Christian Heimes added the comment: 6cf6b8265e57 and 8172cc8bfa6d have fixed the issue on my VM. I didn't noticed the issue as I only tested hashlib with the release builds, not the debug builds. Sorry for that. -- ___ Python tracker

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

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm ok with aliases also. Issue with percall can be fixed only in 3.4 via renaming one of the column. Thanks again. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14900

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

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Documentation also need to be updated to reflect changes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14900 ___

[issue16113] Add SHA-3 (Keccak) support

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16113 ___ ___

[issue16113] Add SHA-3 (Keccak) support

2012-10-07 Thread Richard Oudkerk
Richard Oudkerk added the comment: 6cf6b8265e57 and 8172cc8bfa6d have fixed the issue on my VM. I didn't noticed the issue as I only tested hashlib with the release builds, not the debug builds. Sorry for that. Ah. I did not even notice there was _sha3.vcxproj. Is there any particular

[issue15650] PEP 3121, 384 refactoring applied to dbm module

2012-10-07 Thread Robin Schreiber
Robin Schreiber added the comment: PEP384 demands, among other things, that the TypeObjects themselves are transformed to Heaptypes. This means that the Typeobjects, that are created from this new stable ABI, reside within the heap and therefore have to be managed by the Python GC. This is of

[issue16157] Irrelevant references to Misc/News

2012-10-07 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Older versions (3.2 for 3.3, 3.2 and 3.3 for 3.4) whatsnew refers to Misc/News which contains changes only for currect version (For full details, see the :source:`Misc/NEWS Misc/NEWS` file.). http://docs.python.org/3.3/whatsnew/3.2.html

[issue16157] Irrelevant references to Misc/News

2012-10-07 Thread R. David Murray
R. David Murray added the comment: The problem is that the source directive (from pyspecific in Sphinx) uses the 'current branch' for which the docs are being built. Probably we will have to hardcode the links rather than using the source directive. -- nosy: +r.david.murray

[issue15650] PEP 3121, 384 refactoring applied to dbm module

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: From my perspective type object is referenced by module state. While module is present it's state hold all types exposed by module. After module has deleted it's state has cleaned up and types has gone away — thats look good to me. Instances of python classes

[issue16113] Add SHA-3 (Keccak) support

2012-10-07 Thread Christian Heimes
Christian Heimes added the comment: The module is rather large (about 190 KB) because the optimized SHA-3 implementation isn't optimized for size. For this reason I like to keep the module out of the main binary for now. -- ___ Python tracker

[issue16158] sporadic test_multiprocessing failure

2012-10-07 Thread Antoine Pitrou
New submission from Antoine Pitrou: Seen on a buildbot: == FAIL: test_mymanager_context_prestarted (test.test_multiprocessing.WithManagerTestMyManager) --

[issue16155] Some minor doc fixes in Doc/faq

2012-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Doc corrections (can) go in all current docs. 1.2 - 1.0: same change Hello * 3: same change dir([]): shouldn't output be line-wrapped 3.3: same 3.2: delete __dir__, clear, copy, giving ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__',

[issue15650] PEP 3121, 384 refactoring applied to dbm module

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

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2012-10-07 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Okay, here's a proper patch with documentation entry and test cases. Please review and comment -- Added file: http://bugs.python.org/file27476/robotparser.patch ___ Python tracker rep...@bugs.python.org

[issue16154] Some minor doc fixes in Doc/library

2012-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I consider some items to be errors. In any case, all current docs can be fixed. First, your questions as to what you did not fix. fsum: I personally would add the import visibly, but at least add it hidden, as Chris suggested. 171 from filecmp import dircmp

[issue16154] Some minor doc fixes in Doc/library

2012-10-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: Trailing blanks are *really* a problem The NORMALIZE_WHITESPACE doctest directive is another option to deal with cases like these. It ignores whitespace-only differences between the actual and expected outputs. Does it pass with that directive? --

[issue16154] Some minor doc fixes in Doc/library

2012-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Now your patch: colorsys: same change all versions fractions: ditto Template: ditto I believe the changes I suggested for filecmp and the numbers should also be the same in all versions. ACKS: your name should be inserted in alpha order --

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

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16009 ___ ___

[issue16154] Some minor doc fixes in Doc/library

2012-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I considered the directive, but I mildly prefer the code change. end = ' ') guarantees a blank between fields even if one formats a too-large number end = '') does not add a blank to the end. end = '' if base == 'b' else ' ') does both (but

[issue14783] Make int() and str() docstrings correct

2012-10-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: Any comments on the latest patch, in particular on the int() docstring? Especially you, Terry, as you created the issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14783

[issue16154] Some minor doc fixes in Doc/library

2012-10-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: I considered the directive, but I mildly prefer the code change. I just wanted to point the directive out as an available option (especially for Ravi if he does further patches like this). Either way is fine with me. --

[issue14783] Make int() and str() docstrings correct

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: LGTM -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14783 ___ ___ Python-bugs-list mailing

[issue14783] Make int() and str() docstrings correct

2012-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I checked pretty carefully and it looks good to me. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14783 ___

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

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16129 ___

[issue12947] doctest directive examples in library/doctest.html lack the flags

2012-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: http://docs.python.org/py3k/library/doctest.html#option-flags-and-directives has the improved version. Thanks. Here, the complete example text is more important than the hi-lites. -- ___ Python tracker

[issue16154] Some minor doc fixes in Doc/library

2012-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Apparently, I should have suggested # doctest: +SKIP. The #12947 fix to example directives being deleted from the directive examples came after the 3.3.0 release. Fixed examples are at http://docs.python.org/py3k/library/doctest.html#option-flags-and-directives

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2012-10-07 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Reformatted patch -- Added file: http://bugs.python.org/file27477/robotparser_reformatted.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16099 ___

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2012-10-07 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- keywords: +needs review stage: test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16099 ___

[issue16120] Use |yield from| in stdlib

2012-10-07 Thread Berker Peksag
Berker Peksag added the comment: Berker, could you possibly submit a Contributor Agreement Form? Details at http://www.python.org/psf/contrib/ Jesús, I just emailed the contributor agreement. Does your patch take care of all yield in the stdlib? I found another one -- thanks to Serhiy's

[issue16120] Use |yield from| in stdlib

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

[issue16120] Use |yield from| in stdlib

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed, thanks. Interesting, I didn't thought «yield from» can be applied to just list, not generator. But it works. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16120

[issue14700] Integer overflow in classic string formatting

2012-10-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Only one comment. test_formatting_huge_precision should use not sys.maxsize, but _testcapi.INT_MAX. Other tests can use _testcapi.PY_SSIZE_T_MAX. I think this tests are worth to add for 3.3 and 3.4. Your old test for this bug (064c2d0483f8) actually does

[issue16120] Use |yield from| in stdlib

2012-10-07 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16120 ___ ___ Python-bugs-list

[issue7330] PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A

2012-10-07 Thread STINNER Victor
STINNER Victor added the comment: Updated patch: precision for %s and %V (if the first PyObject* argument is NULL) formats is now a number of bytes, rather than a number of characters. width is still always a number of character. The reason is that %.100s can be used for avoid a crash if the

[issue14700] Integer overflow in classic string formatting

2012-10-07 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for reviewing. I was being lazy with the checks; I'll fix that. Agreed that it's worth forward porting the tests to 3.3 and 3.4; I'll do that. -- ___ Python tracker rep...@bugs.python.org

[issue16153] PyUnicode_FromFormatV() must fail if the format string is invalid

2012-10-07 Thread STINNER Victor
STINNER Victor added the comment: Updated patch: detect also invalid %.s format and update the documentation. I don't know the reason for the previous behavior, but it's documented: Oh, I missed the doc. Fixed in the new patch. -- Added file:

[issue14700] Integer overflow in classic string formatting

2012-10-07 Thread STINNER Victor
STINNER Victor added the comment: For your information, I fixed recently PyUnicode_FromFormatV() to detect overflows on width and precision: changeset: 79543:d1369daeb9ec user:Victor Stinner victor.stin...@gmail.com date:Sat Oct 06 23:05:00 2012 +0200 files:

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

2012-10-07 Thread Arne Babenhauserheide
Arne Babenhauserheide added the comment: Copyright-assignment signed and sent. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14900 ___

[issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

2012-10-07 Thread Aditya Kedia
Aditya Kedia added the comment: Right.. Looks good. -- nosy: +TheAdityaKedia ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13498 ___ ___

[issue16036] simplify int() signature docs

2012-10-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset e4598364ea29 by Chris Jerdonek in branch '3.2': Issue #14783: Improve int() docstring and also str(), range(), and slice(). http://hg.python.org/cpython/rev/e4598364ea29 -- ___ Python tracker

[issue14783] Make int() and str() docstrings correct

2012-10-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset e4598364ea29 by Chris Jerdonek in branch '3.2': Issue #14783: Improve int() docstring and also str(), range(), and slice(). http://hg.python.org/cpython/rev/e4598364ea29 New changeset 365da47a6dc1 by Chris Jerdonek in branch '3.3': Issue #14783:

[issue14783] Make int() and str() docstrings correct

2012-10-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: Leaving open to backport applicable portions to 2.7. I should get to that later today. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14783 ___

[issue16159] Closing Debugger freezes IDLE shell

2012-10-07 Thread jimbo1qaz
New submission from jimbo1qaz: Open a Python file with IDLE and F5 it. Turn on debugger ([DEBUG ON]), F5 again ([DEBUG ON]), and close the debugger ([DEBUG OFF]). The shell is now completely locked and must be closed (with a 'The program is still running, want to kill it?' message).

[issue16159] Closing Debugger freezes IDLE shell

2012-10-07 Thread jimbo1qaz
jimbo1qaz added the comment: I have confirmed that this happens on both 3.2 and .3, and it also happens when you close any active debug window. -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16159

[issue16159] Closing Debugger freezes IDLE shell

2012-10-07 Thread Roger Serwy
Roger Serwy added the comment: Hi Jimbo, Clicking quit first avoids this problem, but I do agree that it does need to be fixed. This is also a duplicate of issue15348. I am closing this issue in favor of that one. Please feel free to add yourself to the nosy list on that issue. --

[issue15348] IDLE - shell becomes unresponsive if debugger windows is closed while active.

2012-10-07 Thread jimbo1qaz
Changes by jimbo1qaz jimmyli1...@gmail.com: -- nosy: +jimbo1qaz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15348 ___ ___ Python-bugs-list

[issue16160] subclassing types.SimpleNamespace does not work

2012-10-07 Thread R. David Murray
New submission from R. David Murray: Python 3.3.0+ (3.3:152d85b2da3a, Oct 6 2012, 13:17:54) [GCC 4.6.3] on linux Type help, copyright, credits or license for more information. from types import SimpleNamespace class Foo(SimpleNamespace): ... pass ... y = Foo(bar=8, foo=9) y namespace()

[issue16160] subclassing types.SimpleNamespace does not work

2012-10-07 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/issue16160 ___

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

2012-10-07 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/issue16129 ___

[issue15111] Wrong ImportError message with importlib

2012-10-07 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/issue15111 ___

[issue13691] pydoc help (or help('help')) should show the doc for help

2012-10-07 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13691 ___ ___ Python-bugs-list mailing list

[issue13691] pydoc help (or help('help')) should show the doc for help

2012-10-07 Thread Mike Hoy
Mike Hoy added the comment: I imported this patch on 3.4 and it worked as expected on my system. help('help') brings up info about help() help(object) prints the docstring help() invokes the help -- ___ Python tracker rep...@bugs.python.org

[issue16160] subclassing types.SimpleNamespace does not work

2012-10-07 Thread Christian Heimes
Christian Heimes added the comment: I have verified that the __init__ function isn't executed when SimpleNamespace is subclasses. I guess that's happening: http://docs.python.org/py3k/c-api/typeobj.html?highlight=tp_init#PyTypeObject.tp_init If the tp_new function returns an instance of some

  1   2   >