[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 ___ _

[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

[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 versio

[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 backwards-compatibl

[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 ___ ___ Python-bug

[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 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

[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 ___ __

[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

[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: https://mail

[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 Wi

[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 ___

[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 -- nosy:

[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? Ex2?

[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 al

[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 vers

[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

[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: open

[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 ___

[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

[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

[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 ___ _

[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 ___ _

[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

[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 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 ___

[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 "C:\Users\grim\AppData\Local\Programs\Python\Python37\

[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 3.8b

[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 r

[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 trac

[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 a

[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) https://github.com/python/cpython/commit/0745cc66db3acbe7951073071cf063db6337

[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) https://github.com/python/cpython/commit/36eea7af48ca0a1c96b78c82bf95bbd29d23

[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, z

[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 ___

[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

[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 fil

[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) https://github.com/python/cpython/commit/10b55c1643b512b3a2cae8ab89

[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 ___ __

[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 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 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 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) https://github.com/python/cpython/commit/3ba21070c6ecab83c23

[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 exam

[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 ___ ___

[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 ___ __

[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
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 -- __

[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 ___ __

[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", lin

[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 -- nosy

[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 ___ __

[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 -- __

[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 ___

[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 ___ __

[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 _

[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 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
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 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 -- _

[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 ___ __

[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 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) https://github.com/python/cpython/commit/a6e190e94b47324f14e22a09200c68b72

[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 expli

[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 -

[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 -

[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 ___

[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 ___ ___

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

2019-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: test_peepholer.diff adds tests which cover various peepholer optimizations not tested before. All of them are failed now and should be passed after merging PR 13969. Pablo, you can include these tests in PR 13969. -- Added file: https://bugs.python

[issue37111] Logging - Inconsistent behaviour when handling unicode

2019-06-11 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: +13871 pull_request: https://github.com/python/cpython/pull/14008 ___ Python tracker ___ _

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

2019-06-11 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

<    1   2