[issue21857] assert that functions clearing the current exception are not called with an exception set

2014-07-01 Thread STINNER Victor
STINNER Victor added the comment: I don't think anymore that it's a good idea. Almost all C functions can replace the current Python exception. There is no reason to add assertions only in a few functions. -- resolution: - not a bug status: open - closed

[issue12750] datetime.strftime('%s') should respect tzinfo

2014-07-01 Thread akira
akira added the comment: ``%s`` format code behaviour was undefined and incidental. strftime('%s') is not portable but it *is* supported on some platforms i.e., it is *not* undefined and it is *not* incidental on these platforms. datetime.strftime *delegates* to the platform strftime(3) and

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I want to broaden this to 'external' programs. Will discuss. Both versions appear to be trying to access non-existent configuration parameters. Warning: configHandler.py - IdleConf.GetOption - problem retrieving configuration option 'enabled' from section

[issue17904] bytes should be listed as built-in function for 2.7

2014-07-01 Thread Andy Maier
Andy Maier added the comment: Your patch right now generates the line: New in version 2.6: bytes() has been added as an alias for str() at the end of the paragraph for str(). To me, that is sufficient for the description of str(). If anything, we could add a separate paragraph for bytes(),

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-01 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Removed file: http://bugs.python.org/file35819/3rdpartychecker-v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21880 ___

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-01 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Added file: http://bugs.python.org/file35821/3rdpartychecker-v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21880 ___

[issue11771] hashlib object cannot be pickled

2014-07-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: Please be constructive. There is no way to implement generic pickling for hash objects that would work across all implementations. The underlying code implementing each function is free to store its internal state however it wants and does not provide an

[issue14097] Improve the introduction page of the tutorial

2014-07-01 Thread Andy Maier
Andy Maier added the comment: Zach, I reviewed your 2.7 backport, including a comparison with the latest 3.x patch. Comments on the 2.7 backport: 1. In 3.1.1 Numbers, on If both operands are ints,: The ints is a link labeled int followed by a normal font s. I think it would be better to

[issue21872] LZMA library sometimes fails to decompress a file

2014-07-01 Thread Ville Nummela
Ville Nummela added the comment: Uploading a few more 'bad' lzma files for testing. -- Added file: http://bugs.python.org/file35822/more_bad_lzma_files.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21872

[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2014-07-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are certainly some problems with subprocess on Windows. Note .../python34 pip pyflakes installs in a second or two. ... pyflakes -h # Windows Command Propmpt WCP import subprocess as s; s.check_output(pyflakes -h) console interpreter CI or Idle, all

[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2014-07-01 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +sahutd ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8631 ___ ___ Python-bugs-list mailing

[issue21900] .hgignore: Missing ignores for downloaded doc build tools

2014-07-01 Thread R. David Murray
R. David Murray added the comment: The entries are there for 2.7. And indeed for the 3.x versions to which they applied. -- nosy: +r.david.murray resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker

[issue15358] Test pkgutil.walk_packages in test_pkgutil instead of test_runpy

2014-07-01 Thread Mark Lawrence
Mark Lawrence added the comment: Hardly a good start :-( From the IDLE shell. Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32 bit (Intel)] on win32 Type copyright, credits or license() for more information. from pkgutil import walk_packages packages =

[issue14097] Improve the introduction page of the tutorial

2014-07-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 438da6ae38fa by Zachary Ware in branch '2.7': Issue #14097: Backport 796d1371605d and subsequent changes. http://hg.python.org/cpython/rev/438da6ae38fa -- ___ Python tracker rep...@bugs.python.org

[issue14097] Improve the introduction page of the tutorial

2014-07-01 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the reviews, Ezio and Andy. Committed with most of your points addressed, though I did leave out the link to `long` since I could not come up with a good wording for adding it, and `long` is easily findable from `int`. Also, the link for 'complex

[issue18604] Consolidate gui available checks in test.support

2014-07-01 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- assignee: zach.ware - ned.deily resolution: fixed - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18604 ___

[issue21899] Futures are not marked as completed

2014-07-01 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +bquinlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21899 ___ ___ Python-bugs-list mailing list

[issue16968] Fix test discovery for test_concurrent_futures.py

2014-07-01 Thread Mark Lawrence
Mark Lawrence added the comment: I followed the link in msg194910 to python-dev but didn't find a single response so where does that leave us? I ask because I'd like to help out with the outstanding test issues, but there are so many of them and they seem so interlinked that I don't know

[issue21901] test_selectors.PollSelectorTestCase.test_above_fd_setsize killed by shell

2014-07-01 Thread R. David Murray
New submission from R. David Murray: On one particular linux vserver virtual machine (which is unfortunately my development platform for python), test.test_selectors.PollSelectorTestCase.test_above_fd_setsize fails with the following message: zsh: killed and at that point the test suite

[issue18258] Fix test discovery for test_codecmaps*.py

2014-07-01 Thread Mark Lawrence
Mark Lawrence added the comment: @Zach just a reminder that you've committed #18492 in case you'd forgotten this. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18258

[issue21901] test_selectors.PollSelectorTestCase.test_above_fd_setsize reported killed by shell

2014-07-01 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- title: test_selectors.PollSelectorTestCase.test_above_fd_setsize killed by shell - test_selectors.PollSelectorTestCase.test_above_fd_setsize reported killed by shell ___ Python tracker

[issue21897] frame.f_locals causes segfault on Python =3.4.1

2014-07-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Following patch seems to fix it, but I have to cook a proper test: diff --git a/Objects/frameobject.c b/Objects/frameobject.c --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -786,7 +786,7 @@ map_to_dict(PyObject *map, Py_ssize_t nm PyObject

[issue21901] test_selectors.PollSelectorTestCase.test_above_fd_setsize reported killed by shell

2014-07-01 Thread STINNER Victor
STINNER Victor added the comment: The test changes the maximum number of open files. What is the limit in your shell? You can try to modify the test to add print(soft, hard) after getrlimit(). On Fedora 20: $ python -c 'import resource; print(resource.getrlimit(resource.RLIMIT_NOFILE))'

[issue18258] Fix test discovery for test_codecmaps*.py

2014-07-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 27feb652d3ad by Zachary Ware in branch '3.4': Issue #18258: Fix test discovery for test_codecmaps_*. http://hg.python.org/cpython/rev/27feb652d3ad New changeset b08921c7d1ec by Zachary Ware in branch 'default': Issue #18258: Fix test discovery for

[issue21804] Implement thr UTF8 command (RFC 6856) in poplib.

2014-07-01 Thread Milan Oberkirch
Milan Oberkirch added the comment: I got the Exception policy of the POP3 class wrong (ignore my review comment on that) and needed to add 'UTF8' to the list of optional commands. -- Added file: http://bugs.python.org/file35823/poputf8-v2.patch ___

[issue18258] Fix test discovery for test_codecmaps*.py

2014-07-01 Thread Zachary Ware
Zachary Ware added the comment: Not forgotten, just hadn't gotten to on the list yet. -- assignee: - zach.ware resolution: - fixed stage: patch review - resolved status: open - closed versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue10224] Build 3.x documentation using python3.x

2014-07-01 Thread Ezio Melotti
Ezio Melotti added the comment: Éric, I think you should open a separate issue for this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10224 ___

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-01 Thread Kevin Davies
New submission from Kevin Davies: The docstring of acosh should more accurately be Return the area hyperbolic cosine of x. instead of Return the hyperbolic arc cosine (measured in radians) of x. asinh and atanh should be changed similarly. The result of these functions is not an angle but a

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-01 Thread Ezio Melotti
Ezio Melotti added the comment: Do you want to propose a patch? https://docs.python.org/3/library/math.html#hyperbolic-functions should be updated as well. -- assignee: - docs@python components: +Documentation keywords: +easy nosy: +docs@python, ezio.melotti, mark.dickinson,

[issue5800] make wsgiref.headers.Headers accept empty constructor

2014-07-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset a91f0d4a2381 by Berker Peksag in branch 'default': Issue #5800: headers parameter of wsgiref.headers.Headers is now optional. http://hg.python.org/cpython/rev/a91f0d4a2381 -- nosy: +python-dev ___ Python

[issue5800] make wsgiref.headers.Headers accept empty constructor

2014-07-01 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch and review. -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800

[issue14097] Improve the introduction page of the tutorial

2014-07-01 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for backporting this! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14097 ___ ___ Python-bugs-list

<    1   2