[issue37938] refactor PyLong_As*() functions

2019-08-24 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +15152 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15457 ___ Python tracker ___

[issue37664] Update bundled pip and setuptools

2019-08-24 Thread Pradyun Gedam
Pradyun Gedam added the comment: There's a need for a pip 19.2.3, since there's a bug in wheel tagging logic hasn't been updated for CPython 3.8's new tags. I'll be cutting that release, and filing a PR for updating bundled pip & setuptools, sometime in the next 24 hours. (I just got back

[issue37830] continue and break in finally with return in try results with segfault

2019-08-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For forbidding 'break', 'continue' and 'return' in the 'finally' clause please open a topic on Python-Dev. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37830] continue and break in finally with return in try results with segfault

2019-08-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ed146b52a3b6537689324e3bd9952055f9c6b43d by Serhiy Storchaka in branch '3.8': [3.8] bpo-37830: Fix compilation of break and continue in finally. (GH-15320) (GH-15456)

[issue28269] [MinGW] Can't compile Python/dynload_win.c due to static strcasecmp

2019-08-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your PR Minmin. It was decided to not backport it to 3.7. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker

[issue29535] datetime hash is deterministic in some cases

2019-08-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> docs@python components: +Documentation nosy: +docs@python resolution: -> fixed stage: patch review -> resolved status: open -> closed type: security -> behavior versions: -Python 3.5, Python 3.6, Python 3.7

[issue37908] Add an example of ArgumentParser.exit()

2019-08-24 Thread hai shi
Change by hai shi : -- nosy: +bethard ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28269] [MinGW] Can't compile Python/dynload_win.c due to static strcasecmp

2019-08-24 Thread miss-islington
miss-islington added the comment: New changeset 920ec4b7763d64b3742d7ddd339ad11cdbec62e9 by Miss Islington (bot) in branch '3.8': bpo-28269: Replace strcasecmp with system function _stricmp. (GH-13095) https://github.com/python/cpython/commit/920ec4b7763d64b3742d7ddd339ad11cdbec62e9

[issue29535] datetime hash is deterministic in some cases

2019-08-24 Thread miss-islington
miss-islington added the comment: New changeset 076d0b9f5def35aeb0f8e8aadf658dc35aace81d by Miss Islington (bot) in branch '3.8': bpo-29535: Remove promize about hash randomization of datetime objects. (GH-15269)

[issue37908] Add an example of ArgumentParser.exit()

2019-08-24 Thread hai shi
Change by hai shi : -- title: Add some examples of ArgumentParser.exit() -> Add an example of ArgumentParser.exit() type: -> resource usage ___ Python tracker ___

[issue37908] Add some examples of ArgumentParser.exit()

2019-08-24 Thread hai shi
hai shi added the comment: Adding an example of ArgumentParser.exit(), because some user would like cathing errors manually or consider exit progress or not when an error occurs. I have not add example of ArgumentParser.error(), because i can not think some user scenarios:( --

[issue37830] continue and break in finally with return in try results with segfault

2019-08-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +15151 pull_request: https://github.com/python/cpython/pull/15456 ___ Python tracker ___

[issue37830] continue and break in finally with return in try results with segfault

2019-08-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ef61c524ddeeb56da3858b86e349e7288d68178e by Serhiy Storchaka in branch 'master': bpo-37830: Fix compilation of break and continue in finally. (GH-15320) https://github.com/python/cpython/commit/ef61c524ddeeb56da3858b86e349e7288d68178e

[issue37908] Add some examples of ArgumentParser.exit()

2019-08-24 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +15150 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15455 ___ Python tracker ___

[issue37884] Optimize Fraction() and statistics.mean()

2019-08-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I'm with Raymond here; I don't think this change is desirable for the math > module, either with or without the leading underscore in the name. Could you please explain what is wrong in adding a helper function which will help to convert different types

[issue37937] Mention ``frame.f_trace`` in :func:`sys.settrace` docs.

2019-08-24 Thread Ram Rachum
Change by Ram Rachum : -- assignee: docs@python components: Documentation nosy: cool-RR, docs@python priority: normal pull_requests: 15149 severity: normal status: open title: Mention ``frame.f_trace`` in :func:`sys.settrace` docs. type: enhancement versions: Python 3.9

[issue29535] datetime hash is deterministic in some cases

2019-08-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e9c90aa43144b0be1e4e393e8cb549573437a5da by Serhiy Storchaka in branch 'master': bpo-29535: Remove promize about hash randomization of datetime objects. (GH-15269)

[issue29535] datetime hash is deterministic in some cases

2019-08-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +15148 pull_request: https://github.com/python/cpython/pull/15454 ___ Python tracker ___

[issue37934] Docs: Clarify NotImplemented use cases

2019-08-24 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- nosy: +jdemeyer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37798] Add C fastpath for statistics.NormalDist.inv_cdf()

2019-08-24 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +15146 pull_request: https://github.com/python/cpython/pull/15453 ___ Python tracker ___

[issue37797] Add name attribute to NameError

2019-08-24 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +15147 pull_request: https://github.com/python/cpython/pull/15453 ___ Python tracker ___

[issue37797] Add name attribute to NameError

2019-08-24 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: -15145 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37797] Add name attribute to NameError

2019-08-24 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +15145 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15453 ___ Python tracker ___

[issue37929] IDLE: OK sometimes fails to close configdialog

2019-08-24 Thread Tal Einat
Tal Einat added the comment: See PR GH-15452 with a fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37929] IDLE: OK sometimes fails to close configdialog

2019-08-24 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +15144 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15452 ___ Python tracker

[issue37935] Improve performance of pathlib.scandir()

2019-08-24 Thread SilentGhost
Change by SilentGhost : -- nosy: +pitrou stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37936] gitignore file is too broad

2019-08-24 Thread Greg Price
Change by Greg Price : -- keywords: +patch pull_requests: +15143 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15451 ___ Python tracker ___

[issue37936] gitignore file is too broad

2019-08-24 Thread Greg Price
New submission from Greg Price : There are a number of files that we track in the repo, but are nevertheless covered by `.gitignore`. This *mostly* doesn't change anything, because Git itself only cares what `.gitignore` has to say about files that aren't already tracked. But: * It affects

[issue37812] Make implicit returns explicit in longobject.c (in CHECK_SMALL_INT)

2019-08-24 Thread Kyle Stanley
Change by Kyle Stanley : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37935] Improve performance of pathlib.scandir()

2019-08-24 Thread Shai
New submission from Shai : I recently have taken a look in the source code of the pathlib module, and I saw something weird there: when the module used the scandir function, it first converted its iterator into a list and then used it in a for loop. The list wasn't used anywhere else, so I

[issue32118] Doc for comparison of sequences with non-orderable elements

2019-08-24 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +15141 pull_request: https://github.com/python/cpython/pull/15450 ___ Python tracker ___

[issue37812] Make implicit returns explicit in longobject.c (in CHECK_SMALL_INT)

2019-08-24 Thread Kyle Stanley
Kyle Stanley added the comment: > python-dev likely isn't the right place. That is a forum for more mature > ideas. Agreed, that idea should be posted to python-list if they're having issues posting to python-ideas. Python-dev certainly wouldn't be appropriate for that. --

[issue37812] Make implicit returns explicit in longobject.c (in CHECK_SMALL_INT)

2019-08-24 Thread Greg Price
Greg Price added the comment: Thanks, Raymond, for the review on GH-15216! Shortly after posting this issue, I noticed a very similar story in CHECK_BINOP. I've just posted GH-15448 to similarly make returns explicit there. It basically consists of a number of repetitions of -

[issue37754] Persistence of Shared Memory Segment after process exits

2019-08-24 Thread Vinay Sharma
Change by Vinay Sharma : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2