[issue36901] Fix leaks in /PC/bdist_wininst/install.c

2019-06-11 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +13870 pull_request: https://github.com/python/cpython/pull/14007 ___ Python tracker ___

[issue37229] bisect: Allow a custom compare function

2019-06-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: > issue4356 is also a good-enough solution for me, Then please leave this closed and let that issue run its course. Also, please don't take an argumentative tone or abuse setting the tracker status. -- status: open -> closed

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 878227e7217f3363f9c095b7fb8c1dbdde1ec34f by Miss Islington (bot) in branch '3.8': bpo-29505: Fuzz json module, enforce size limit on int(x) fuzz (GH-13991) https://github.com/python/cpython/commit/878227e7217f3363f9c095b7fb8c1dbdde1ec34f

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 534136ac6790a701e24f364a9b7f1e34bf5f3ce7 by Miss Islington (bot) in branch '3.7': bpo-29505: Fuzz json module, enforce size limit on int(x) fuzz (GH-13991) https://github.com/python/cpython/commit/534136ac6790a701e24f364a9b7f1e34bf5f3ce7

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-11 Thread Stefan Behnel
Stefan Behnel added the comment: Note that PyCode_New() is not the only change in 3.8 beta1 that breaks Cython generated code. The renaming of "tp_print" to "tp_vectorcall" is equally disruptive, because Cython has (or had) a work-around for CPython (mis-)behaviour that reset the field

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2019-06-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset a6e190e94b47324f14e22a09200c68b722d55699 by Gregory P. Smith (Ammar Askar) in branch 'master': bpo-29505: Fuzz json module, enforce size limit on int(x) fuzz (GH-13991)

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13869 pull_request: https://github.com/python/cpython/pull/14006 ___ Python tracker ___

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13868 pull_request: https://github.com/python/cpython/pull/14005 ___ Python tracker ___

[issue32625] Update the dis module documentation to reflect switch to wordcode

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 811f84d55d156e3d05889806d00a8c028d304089 by Miss Islington (bot) in branch '3.8': bpo-32625: Updated documentation for EXTENDED_ARG. (GH-13985) https://github.com/python/cpython/commit/811f84d55d156e3d05889806d00a8c028d304089 --

[issue32625] Update the dis module documentation to reflect switch to wordcode

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset f0cc1a91f72c7f60adc47ec9a4305d8d85dcb1f2 by Miss Islington (bot) in branch '3.7': bpo-32625: Updated documentation for EXTENDED_ARG. (GH-13985) https://github.com/python/cpython/commit/f0cc1a91f72c7f60adc47ec9a4305d8d85dcb1f2 -- nosy:

[issue32625] Update the dis module documentation to reflect switch to wordcode

2019-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 405f648db7c44b07348582b5101d4716e0ce5ac3 by Serhiy Storchaka (Yao Zuo) in branch 'master': bpo-32625: Updated documentation for EXTENDED_ARG. (GH-13985) https://github.com/python/cpython/commit/405f648db7c44b07348582b5101d4716e0ce5ac3

[issue32625] Update the dis module documentation to reflect switch to wordcode

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13867 pull_request: https://github.com/python/cpython/pull/14003 ___ Python tracker ___

[issue32625] Update the dis module documentation to reflect switch to wordcode

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13866 pull_request: https://github.com/python/cpython/pull/14002 ___ Python tracker ___

[issue32625] Update the dis module documentation to reflect switch to wordcode

2019-06-11 Thread laike9m
Change by laike9m : -- keywords: +patch pull_requests: +13865 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13985 ___ Python tracker

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13864 pull_request: https://github.com/python/cpython/pull/14001 ___ Python tracker ___

[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

2019-06-11 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker ___

[issue26219] implement per-opcode cache in ceval

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13863 pull_request: https://github.com/python/cpython/pull/14000 ___ Python tracker ___

[issue26219] implement per-opcode cache in ceval

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 376ce9852eec4e97745c723f0dd0fe64383c6cd3 by Victor Stinner in branch 'master': bpo-26219: Fix compiler warning in _PyCode_InitOpcache() (GH-13997) https://github.com/python/cpython/commit/376ce9852eec4e97745c723f0dd0fe64383c6cd3 --

[issue37223] test_io logs Exception ignored in: warnings

2019-06-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13862 pull_request: https://github.com/python/cpython/pull/13999 ___ Python tracker ___

[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 9d37ae0bee25692572c201378cd0692df22fa2ac by Miss Islington (bot) in branch '3.8': bpo-36918: Fix "Exception ignored in" in test_urllib (GH-13996) https://github.com/python/cpython/commit/9d37ae0bee25692572c201378cd0692df22fa2ac --

[issue37223] test_io logs Exception ignored in: warnings

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: Oh. There are still 3 errors in 2 tests: test_writer_close_error_on_close (test.test_io.CBufferedRWPairTest) ... Exception ignored in: <_io.BufferedWriter> Traceback (most recent call last): File "/home/vstinner/prog/python/master/Lib/unittest/case.py",

[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13861 pull_request: https://github.com/python/cpython/pull/13998 ___ Python tracker ___

[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset eb976e47e261760330c1bed224019b073b05e994 by Victor Stinner in branch 'master': bpo-36918: Fix "Exception ignored in" in test_urllib (GH-13996) https://github.com/python/cpython/commit/eb976e47e261760330c1bed224019b073b05e994 --

[issue26219] implement per-opcode cache in ceval

2019-06-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13860 pull_request: https://github.com/python/cpython/pull/13997 ___ Python tracker ___

[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

2019-06-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13859 pull_request: https://github.com/python/cpython/pull/13996 ___ Python tracker ___

[issue35922] robotparser crawl_delay and request_rate do not work with no matching entry

2019-06-11 Thread Guido van Rossum
Guido van Rossum added the comment: Yes, this looks like a bugfix. Who wants an AttributeError? :-) -- nosy: +gvanrossum ___ Python tracker ___

[issue37225] Signatures of Exceptions not documented

2019-06-11 Thread Hong Xu
Hong Xu added the comment: Thanks for your answer, but I believe this is a real document bug. OSError does have its signature documented, but the majority of other exception classes do not do so, neither does BaseException explains a default behavior clearly (see my quote above). As an

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3ba21070c6ecab83c23cea41a92b42fa651c7ea2 by Victor Stinner (Miss Islington (bot)) in branch '3.8': bpo-35766: Change format for feature_version to (major, minor) (GH-13992) (GH-13993)

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13858 pull_request: https://github.com/python/cpython/pull/13995 ___ Python tracker ___

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset efdf6ca90f7702824e7aeee1ceca949e7c20288a by Victor Stinner in branch 'master': bpo-35766: compile(): rename feature_version parameter (GH-13994) https://github.com/python/cpython/commit/efdf6ca90f7702824e7aeee1ceca949e7c20288a --

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13857 pull_request: https://github.com/python/cpython/pull/13994 ___ Python tracker ___

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 10b55c1643b512b3a2cae8ab89c53683a13ca43e by Miss Islington (bot) (Guido van Rossum) in branch 'master': bpo-35766: Change format for feature_version to (major, minor) (GH-13992)

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13856 pull_request: https://github.com/python/cpython/pull/13993 ___ Python tracker ___

[issue37241] Item Count Error in Shelf

2019-06-11 Thread Eric V. Smith
Eric V. Smith added the comment: Please do not post images: we can't copy and paste from them, and they're unfriendly to visually impaired users. Can you create code that reproduces this? A small example, with no external dependencies would be best. Please attach the reproducer as a text

[issue37241] Item Count Error in Shelf

2019-06-11 Thread Jesse Bacon
New submission from Jesse Bacon : I have loaded the National Vulnerability Database from NIST for 2019 and it includes 3989 JSON Documents. This data I have placed in a shelf. when I run len(db.keys()) I get 3658. len(set(cves)) == 3989 : True When I extract the data from the shelf I have

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +13855 pull_request: https://github.com/python/cpython/pull/13992 ___ Python tracker ___

[issue37240] Filename http.py breaks calls to urllib

2019-06-11 Thread Eric V. Smith
Eric V. Smith added the comment: Closing as not a bug. This is how python works: you do not want to name a file the same as any standard library module. Use a file name other than http.py. -- components: +Library (Lib) -Windows nosy: +eric.smith -paul.moore, steve.dower, tim.golden,

[issue36520] Email header folded incorrectly

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 36eea7af48ca0a1c96b78c82bf95bbd29d2332da by Miss Islington (bot) (Abhilash Raj) in branch '3.8': [3.8] bpo-36520: Email header folded incorrectly (GH-13608) (GH-13909)

[issue36520] Email header folded incorrectly

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 0745cc66db3acbe7951073071cf063db6337dd10 by Miss Islington (bot) (Abhilash Raj) in branch '3.7': [3.7] bpo-36520: Email header folded incorrectly (GH-13608) (GH-13910)

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: > But this is the format currently used by typed_ast. I think it would just > cause a cascade of annoying failures for tools that switch between typed_ast > and the 3.8 version of ast. Such as mypy. typed_ast is a 3rd party project. But here we are talking

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread Guido van Rossum
Guido van Rossum added the comment: But this is the format currently used by typed_ast. I think it would just cause a cascade of annoying failures for tools that switch between typed_ast and the 3.8 version of ast. Such as mypy. -- ___ Python

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: > If we do have to make a similar incompatible change in the future, (...) IMHO the most important learnt lesson here is that we lack a proper Continuous Integration of the master branch of Python and popular PyPI projects. We should be notified *before* a

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-11 Thread Neil Schemenauer
Neil Schemenauer added the comment: I suggest we change PyCode_New() back in the next beta, despite that change breaking Cython again. We could work with them so that they have a new release with a "PY_VERSION_HEX > 0x030800b1" test in it. Try to get that Cython version released before

[issue37240] Filename http.py breaks calls to urllib

2019-06-11 Thread Agrim Sachdeva
New submission from Agrim Sachdeva : If a script that uses urllib is named http.py, the following error occurs: Traceback (most recent call last): File ".\http.py", line 1, in import urllib.request, urllib.parse, urllib.error File

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I updated the PR and Victor reviewed it. Nick, could you review it as well? -- ___ Python tracker ___

[issue37238] Enable building for Windows using Visual Studio 2019

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 36926df8341827fb2a5323f559daab8e34d33ed8 by Miss Islington (bot) in branch '3.8': bpo-37238: Enable building for Windows using Visual Studio 2019 (GH-13988) https://github.com/python/cpython/commit/36926df8341827fb2a5323f559daab8e34d33ed8

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-11 Thread Nick Coghlan
Nick Coghlan added the comment: The key problem isn't Cython itself, the problem is that Cython generated libraries can't be rebuilt for 3.8 without regenerating their C files. I'd be fine with PyCode_NewWithPosArgs (Victor's right that a descriptive naming convention handles future changes

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2019-06-11 Thread Ammar Askar
Change by Ammar Askar : -- pull_requests: +13854 pull_request: https://github.com/python/cpython/pull/13991 ___ Python tracker ___

[issue37239] Add headless development preset layout

2019-06-11 Thread Steve Dower
Steve Dower added the comment: Why is this different from the nuget package? Should we just add more things into that package? -- ___ Python tracker ___

[issue37238] Enable building for Windows using Visual Studio 2019

2019-06-11 Thread Steve Dower
Steve Dower added the comment: Not a whole lot of process, really. It's done now :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37238] Enable building for Windows using Visual Studio 2019

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13853 pull_request: https://github.com/python/cpython/pull/13990 ___ Python tracker ___

[issue37238] Enable building for Windows using Visual Studio 2019

2019-06-11 Thread Steve Dower
Steve Dower added the comment: New changeset 04856c2193eb72d72c46b57fa08095235d732a73 by Steve Dower (Paul Monson) in branch 'master': bpo-37238: Enable building for Windows using Visual Studio 2019 (GH-13988) https://github.com/python/cpython/commit/04856c2193eb72d72c46b57fa08095235d732a73

[issue37239] Add headless development preset layout

2019-06-11 Thread Paul Monson
Change by Paul Monson : -- keywords: +patch pull_requests: +13852 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13989 ___ Python tracker ___

[issue37239] Add headless development preset layout

2019-06-11 Thread Paul Monson
New submission from Paul Monson : Add preset-headless preset which has everything that preset-default has minus tcltk and idle -- components: Build, Windows messages: 345275 nosy: Paul Monson, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status:

[issue36896] clarify in types.rst that FunctionTypes & co constructors don't have stable signature

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: Would it be the right place to document the new CodeType.replace() method which is designed to help to write "future-proof" code? (not rely on the exact constructor API) -- nosy: +vstinner ___ Python tracker

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: > I'm sure we can come up with a sufficiently backwards-compatible API. (I'd > prefer not to go the hex route, because printing the value would show as 52, > which is pretty meaningless.) I propose to replace 4 with (3, 4) to be more future-proof. This

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: It seems like very few pepople are testing Python 3.8 so far. I'm making this assumption because many projects using Cython cannot be installed on Python 3.8 and I didn't see much complain so far. My Python Maintenance team at Red Hat is working on fixing

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: I would prefer to revert PyCode_New() API (to Python 3.7 and older API), and add a *new* function for positional-only arguments. > I have created PR13959 in case we decide to go with the PyCode_NewEx path. I dislike "Ex" suffix. What will be next name?

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 785688832de699270530a9418e99c5c4caedbffb by Miss Islington (bot) in branch '3.8': bpo-35766: What's new in the ast and typing modules (GH-13984) https://github.com/python/cpython/commit/785688832de699270530a9418e99c5c4caedbffb --

[issue37238] Enable building for Windows using Visual Studio 2019

2019-06-11 Thread Paul Monson
Change by Paul Monson : -- keywords: +patch pull_requests: +13851 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13988 ___ Python tracker ___

[issue37238] Enable building for Windows using Visual Studio 2019

2019-06-11 Thread Paul Monson
New submission from Paul Monson : What is the normal process for lighting up a new Visual Studio? -- components: Build, Windows messages: 345269 nosy: Paul Monson, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Enable building for

[issue37213] Peeephole optimizer does not optimize functions with multiline expressions

2019-06-11 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: -yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37213] Peeephole optimizer does not optimize functions with multiline expressions

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: I removed the memchr(255) to see which tests fail: test_extended_opargs (test.test_modulefinder.ModuleFinderTest) ... python: Python/peephole.c:469: PyCode_Optimize: Assertion `cum_orig_offset % sizeof(_Py_CODEUNIT) == 0' failed. Fatal Python error: Aborted

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 9b33ce48a7846dbdad32d4f8936b08e6b78a2faf by Guido van Rossum in branch 'master': bpo-35766: What's new in the ast and typing modules (#13984) https://github.com/python/cpython/commit/9b33ce48a7846dbdad32d4f8936b08e6b78a2faf --

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13850 pull_request: https://github.com/python/cpython/pull/13987 ___ Python tracker ___

[issue36607] asyncio.all_tasks() crashes if asyncio is used in multiple threads

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 83abd9658b4845299452be06c9ce92cbceee944d by Miss Islington (bot) in branch '3.8': bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() (GH-13971) https://github.com/python/cpython/commit/83abd9658b4845299452be06c9ce92cbceee944d

[issue26180] multiprocessing.util._afterfork_registry leak in threaded environment

2019-06-11 Thread Orivej Desh
Change by Orivej Desh : -- keywords: +patch pull_requests: +13849 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13986 ___ Python tracker ___

[issue36607] asyncio.all_tasks() crashes if asyncio is used in multiple threads

2019-06-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: fixed -> stage: resolved -> status: closed -> open ___ Python tracker ___ ___

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread Guido van Rossum
Guido van Rossum added the comment: > What will happen with Python 4? Why not using "full" Python version like (3, > 4) or 0x304? I don't think Python 4 is just around the corner, so I prefer to kick that problem down the road. I'm sure we can come up with a sufficiently

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: > ``feature_version=N`` allows specifying the minor version of an earlier > Python 3 version. (For example, ``feature_version=4`` will treat ``async`` > and ``await`` as non-reserved words.) What will happen with Python 4? Why not using "full" Python

[issue28502] [Patch] Make os.chdir() optional

2019-06-11 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @ Ed Schouten, are you still interested in solving this? If so, please convert your patch into a PR. -- nosy: +nanjekyejoannah ___ Python tracker

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, closing then. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-11 Thread Alex Willmer
Alex Willmer added the comment: > it is probably not possible to write a pure Python PickleBuffer Fair enough > a usable pure Python Pickler, but without support for the PickleBuffer class. That makes sense. However, for third party packages (e.g. zodbpickle, pikl) wanting a pure Python

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +13848 pull_request: https://github.com/python/cpython/pull/13984 ___ Python tracker ___

[issue37237] python 2.16 from source on Ubuntu 18.04

2019-06-11 Thread Mark Dickinson
Mark Dickinson added the comment: This report is a bit hard to understand. Please could you give more details? Can you tell us: - *exactly* what you did (what sequence of instructions you executed, where you got the Python source from, etc.) - what you expected to happen - what did happen,

[issue37236] fix test_complex for Windows arm64

2019-06-11 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35293] make doctest (Sphinx) emits a lot of warnings

2019-06-11 Thread Guido van Rossum
Guido van Rossum added the comment: I still get some warnings about docutils itself, e.g. /Users/guido/v38/lib/python3.8/site-packages/docutils/writers/_html_base.py:1035: SyntaxWarning: invalid escape sequence \( 'mathjax': ('\(%s\)', '\\begin{%s}\n%s\n\\end{%s}'),

[issue37225] Signatures of Exceptions not documented

2019-06-11 Thread Brett Cannon
Brett Cannon added the comment: OSError does have its constructor documented at https://docs.python.org/3/library/exceptions.html#OSError (farther down the page I think you're reading; you didn't provide the URL you're referring to so I'm somewhat guessing). It is specifically vague because

[issue37184] suggesting option to raise exception if process exits nonzero in `with subprocess.Popen(...):`

2019-06-11 Thread Noah
Noah added the comment: I subscribed and emailed python-id...@python.org but it still hasn't passed moderation I guess, hmm -- ___ Python tracker ___

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread Guido van Rossum
Guido van Rossum added the comment: I'll create a PR that updates the What's New docs with news about all of these. -- ___ Python tracker ___

[issue37236] fix test_complex for Windows arm64

2019-06-11 Thread Paul Monson
Change by Paul Monson : -- keywords: +patch pull_requests: +13847 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13983 ___ Python tracker ___

[issue37237] python 2.16 from source on Ubuntu 18.04

2019-06-11 Thread Jilguero ostras
New submission from Jilguero ostras : -Trying to install Python 2.16 from source on Ubuntu 18.04. Latest version is not in repositories. -Installation completes but I need to install pip from repositories -modules (e.g. numpy) installed by pip install on /usr/local/lib/python2.7/dist-packages

[issue37236] fix test_complex for Windows arm64

2019-06-11 Thread Paul Monson
New submission from Paul Monson : There is a compiler optimization error on Windows ARM64 that causes test_truediv (test.test_complex.ComplexTest) to fail with ZeroDivisionError: complex division by zero. Adding a pragma optimize around the affected function fixes the issue. I am also

[issue33758] Unexpected success of test_get_type_hints_modules_forwardref in test_typing

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset fad89046e14b271b2eeb399f7c7b45131d65e5f2 by Miss Islington (bot) in branch '3.7': closes bpo-33758: Skip test_get_type_hints_modules_forwardref. (GH-13977) https://github.com/python/cpython/commit/fad89046e14b271b2eeb399f7c7b45131d65e5f2

[issue33758] Unexpected success of test_get_type_hints_modules_forwardref in test_typing

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 1c31d19e35172c7de1beec5c48a5b632d16385d9 by Miss Islington (bot) in branch '3.8': closes bpo-33758: Skip test_get_type_hints_modules_forwardref. (GH-13977) https://github.com/python/cpython/commit/1c31d19e35172c7de1beec5c48a5b632d16385d9

[issue35922] robotparser crawl_delay and request_rate do not work with no matching entry

2019-06-11 Thread Tal Einat
Tal Einat added the comment: The PR is looking good, I'll likely merge it soon. I'm quite sure this should go into 3.8, but should it be backported to 3.7? This is certainly a bugfix, but still a slight change of behavior, so perhaps we should avoid changing this in 3.7? -- nosy:

[issue33758] Unexpected success of test_get_type_hints_modules_forwardref in test_typing

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13846 pull_request: https://github.com/python/cpython/pull/13979 ___ Python tracker ___

[issue33758] Unexpected success of test_get_type_hints_modules_forwardref in test_typing

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13845 pull_request: https://github.com/python/cpython/pull/13978 ___ Python tracker ___

[issue33758] Unexpected success of test_get_type_hints_modules_forwardref in test_typing

2019-06-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 910b3fcb01c29f18ffd53086e36cd2cb9e5fae55 by Benjamin Peterson in branch 'master': closes bpo-33758: Skip test_get_type_hints_modules_forwardref. (GH-13977) https://github.com/python/cpython/commit/910b3fcb01c29f18ffd53086e36cd2cb9e5fae55

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Typo: "mypy todo list" should be "my todo list" :-) -- ___ Python tracker ___ ___

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: > Would it be possible to document the change somewhere? Most of these things are in the docs for ast module. But indeed none of static typing related features have been added to What's New. I have an item on mypy todo list to add four typing PEPs plus new

[issue37235] urljoin behavior unclear/not following RFC 3986

2019-06-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Library (Lib) nosy: +orsenthil, xtreak ___ Python tracker ___ ___

[issue36607] asyncio.all_tasks() crashes if asyncio is used in multiple threads

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 5d1d4e3179ffd4d2d72462d870cf86dcc11450ce by Miss Islington (bot) in branch '3.7': bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() (GH-13971) https://github.com/python/cpython/commit/5d1d4e3179ffd4d2d72462d870cf86dcc11450ce

[issue33758] Unexpected success of test_get_type_hints_modules_forwardref in test_typing

2019-06-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +13844 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13977 ___ Python tracker

[issue37234] error in variable

2019-06-11 Thread Steve Dower
Steve Dower added the comment: This is intended behavior. When a variable has an assignment anywhere in a function, it becomes a local. Once a local variable exists, it will shadow the non-local variable. So by having the "n =", you are marking "n" as a local variable. When the "n + 1"

[issue35766] Merge typed_ast back into CPython

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: I don't see anything in What's New in Python 3.8?: https://docs.python.org/dev/whatsnew/3.8.html Would it be possible to document the change somewhere? -- nosy: +vstinner ___ Python tracker

[issue37234] error in variable

2019-06-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This tracker is for issues related to CPython. The examples presented in the report look more like user error with variables where N is not defined in the first examples. Can you please illustrate over the examples over how this is an issue with

[issue37235] urljoin behavior unclear/not following RFC 3986

2019-06-11 Thread Matthew Kenigsberg
New submission from Matthew Kenigsberg : Was trying to figure out the exact behavior of urljoin. As far as I can tell (see https://bugs.python.org/issue22118) it should follow RFC 3986. According to the algorithm in 5.2.2, I think this is wrong: >>> urljoin("ftp://netloc;,

[issue37229] bisect: Allow a custom compare function

2019-06-11 Thread G
G added the comment: What do you propose to do for objects outside your project? Replace their __lt__ method with a context manager which replaces the original implementation, for lists at a time? __lt__ is not good enough as a one-way-to-do-it solution. issue4356 is also a good-enough

[issue37226] Asyncio Fatal Error on SSL Transport - IndexError Deque Index Out Of Range

2019-06-11 Thread Ben Brown
Ben Brown added the comment: I tested an older version of OpenSSL 1.0.2g and I get the same error on that -- ___ Python tracker ___

  1   2   >