[issue37225] Signatures of Exceptions not documented

2019-06-11 Thread Hong Xu
New submission from Hong Xu : The "Builtin Exceptions" page does not document the constructors of the listed exception classes. All it says is > The tuple of arguments given to the exception constructor. Some built-in > exceptions (like OSError) expect a certain number of arguments and assign

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems it was changed last time many years ago and was stable in Python 3. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue37216] "Using Python on a Macintosh" chapter of "Python Setup and Usage" doc is out-of-date

2019-06-11 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +13833 pull_request: https://github.com/python/cpython/pull/13966 ___ Python tracker ___ ___

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

2019-06-11 Thread Alex Willmer
Alex Willmer added the comment: I don't think I can do this. My WIP code is in https://github.com/moreati/cpython/pull/new/bpo-37210, and associated make test output is attached. Principal blockers - `_pickle.PickleBuffer.raw()` can return a contiguous buffer from either a c_contiguous, o

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

2019-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Right, it is probably not possible to write a pure Python PickleBuffer. There's a reason it's written in C... When you said "make PickleBuffer an optional dependency", I thought you intended to have a usable pure Python Pickler, but without support for the

[issue37219] empty set difference does not check types of values

2019-06-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 1f11cf9521114447b3e32e2ac88f075ffaa37555 by Raymond Hettinger in branch 'master': bpo-37219: Remove erroneous optimization for differencing an empty set (GH-13965) https://github.com/python/cpython/commit/1f11cf9521114447b3e32e2ac88f075ffaa3

[issue37222] urllib missing voidresp breaks CacheFTPHandler

2019-06-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +giampaolo.rodola, orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37219] empty set difference does not check types of values

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

[issue37219] empty set difference does not check types of values

2019-06-11 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +13835 pull_request: https://github.com/python/cpython/pull/13968 ___ Python tracker ___ ___

[issue37219] empty set difference does not check types of values

2019-06-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 583ff84351e528976aa93d383e5a81aee9f3bac3 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-37219: Remove erroneous optimization for differencing an empty set (GH-13965) (GH-13967) https://github.com/python/cpython/commit/583ff

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

2019-06-11 Thread Ben Brown
New submission from Ben Brown : I have been getting an intermittent errors when using asyncio with SSL. The error always occurs in the _process_write_backlog method in asyncio's sslproto.py file. I have looked at lots of possibilities as to what the cause is and found that for some reason whe

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

2019-06-11 Thread Christian Heimes
Christian Heimes added the comment: This looks more like an asyncio problem than an SSL problem. Andrew, Yury, please take a look. -- components: +asyncio nosy: +asvetlov, yselivanov ___ Python tracker ___

[issue37227] Wrong parse long argument

2019-06-11 Thread chr0139
New submission from chr0139 : I have this script import argparse parser = argparse.ArgumentParser() group = parser.add_mutually_exclusive_group() group.add_argument('-l', '--list', action='store_true', help="show help") group.add_argument('-u', '--upgrade', action='store_true', help="show help"

[issue37227] Wrong parse long argument

2019-06-11 Thread Eric V. Smith
Eric V. Smith added the comment: And what is your expected result, and why? -- nosy: +eric.smith ___ Python tracker ___ ___ Python-

[issue37219] empty set difference does not check types of values

2019-06-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 1b615b2f035d207941e44259a92ed0bdcc56ac45 by Raymond Hettinger in branch '3.7': [3.7] bpo-37219: Remove erroneous optimization for differencing an empty set (GH-13965) (GH-13968) https://github.com/python/cpython/commit/1b615b2f035d207941e442

[issue37219] empty set difference does not check types of values

2019-06-11 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37227] Wrong parse long argument

2019-06-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue37227] Wrong parse long argument

2019-06-11 Thread chr0139
chr0139 added the comment: I think --li is not the same argument as --list So I expect that parser.parse_args(['-l']) or parser.parse_args(['--list']) should be only two options which should leads to the result Namespace(list=True, upgrade=False) -- ___

[issue37227] Wrong parse long argument

2019-06-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: argparse allows abbreviations by default so --li matches --list as a prefix match. This is documented at https://docs.python.org/2.7/library/argparse.html#argument-abbreviations-prefix-matching >From python 3.5 allow_abbrev=False can be passed to A

[issue37227] Wrong parse long argument

2019-06-11 Thread Eric V. Smith
Eric V. Smith added the comment: Although note that with allow_abbrev=False, -l will conflict with --long, which I'm not sure is a great design. I'm closing this as not a bug, since it works as documented and there's a workaround (albeit not in 2.7, which is closed to new features). ---

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-06-11 Thread Jukka Väisänen
New submission from Jukka Väisänen : When using loop.create_datagram_endpoint(), the default for reuse_address=True, which sets the SO_REUSEADDR sockopt for the UDP socket. This is a dangerous and unreasonable default for UDP, because in Linux it allows multiple processes to create listening

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-06-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: There is no chance to change the flag for 3.7. But we can consider it for 3.8 Yuri, what do you think? -- ___ Python tracker ___ ___

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

2019-06-11 Thread Ben Brown
Ben Brown added the comment: The OpenSSL version is OpenSSL 1.1.0j 20 Nov 2018 -- ___ Python tracker ___ ___ Python-bugs-list mail

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

2019-06-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: Just to clarify: what OpenSSL version is used? -- ___ Python tracker ___ ___ Python-bugs-list mai

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

2019-06-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: That's what I afraid. asyncio/sslproto.py fails on new OpenSSL at several places :( -- ___ Python tracker ___ ___

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

2019-06-11 Thread Ben Brown
Ben Brown added the comment: That's a shame, which version should it work on I don't mind downgrading for now to fix the issue as a workaround. -- ___ Python tracker ___

[issue34467] No mechanism to abort created coroutine or suppress not-awaited warning

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

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

2019-06-11 Thread Christian Heimes
Christian Heimes added the comment: Is 1.1.0 also a problem? I have only seen issue with 1.1.1 and TLS 1.3. -- ___ Python tracker ___ _

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

2019-06-11 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +13836 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13969 ___ Python tracker __

[issue37229] bisect: Allow a custom compare function

2019-06-11 Thread G
New submission from G : All of bisect's functions (insort_{left,right}, bisect_{left,right}) can only use comparison of objects via __lt__. They should support providing a custom comparison function. -- components: Library (Lib) messages: 345216 nosy: gpery priority: normal severity: n

[issue37229] bisect: Allow a custom compare function

2019-06-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue37229] bisect: Allow a custom compare function

2019-06-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue1451588. issue4356 for more discussion that also proposes to add key parameter. -- nosy: +xtreak ___ Python tracker

[issue36742] CVE-2019-10160: urlsplit NFKD normalization vulnerability in user:password@

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2b578479b96aa3deeeb8bac313a02b5cf3cb1aff by Victor Stinner in branch '2.7': [2.7] bpo-36742: Fix urlparse.urlsplit() error message for Unicode URL (GH-13937) https://github.com/python/cpython/commit/2b578479b96aa3deeeb8bac313a02b5cf3cb1aff --

[issue37229] bisect: Allow a custom compare function

2019-06-11 Thread G
Change by G : -- keywords: +patch pull_requests: +13837 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13970 ___ Python tracker ___ __

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

2019-06-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +13838 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13971 ___ Python tracker ___ _

[issue37224] test__xxsubinterpreters failed on AMD64 Windows8.1 Refleaks 3.8

2019-06-11 Thread STINNER Victor
STINNER Victor added the comment: Fail on x86 Gentoo Refleaks 3.x: https://buildbot.python.org/all/#/builders/1/builds/618 3:15:59 load avg: 6.93 [339/423/1] test__xxsubinterpreters failed -- running: test_multiprocessing_spawn (19 min 36 sec) beginning 6 repetitions 123456 .Exception in thre

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

2019-06-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue4356] Add "key" argument to "bisect" module functions

2019-06-11 Thread G
G added the comment: I opened a relevant PR, https://github.com/python/cpython/pull/11781. I believe a key parameter is inferior to a comparison callback. The former is a specific case of the latter, and in my use case would force me to create another class to serve as a comparator for my ob

[issue36853] inconsistencies in docs builds (Sphinx 2)

2019-06-11 Thread David Jones
David Jones added the comment: I believe the issue is only triggered if you actually have some suspicious markup in your documentation (which is why your plain build on Sphinx 2 appears to work). Remove some lines from Doc/tools/susp-ignored.csv to trigger it. -- nosy: +drj ___

[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 am using the version I mentioned above 1.1.0 and TLS 1.2, I am sorry I can't be of more help. -- ___ Python tracker ___ ___

[issue33758] Unexpected success of test_get_type_hints_modules_forwardref in test_typing

2019-06-11 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Likely, the unexpected success can be avoided with clearing generic caches in test___all__ (it just imports whatever it can find and likely also test/mod_generics_cache.py), but I am also fine with just skipping it for now. Will you have time to make a PR?

[issue37230] Why Highly Skilled Network Engineers prefer On-Demand work?

2019-06-11 Thread pallavi shete
New submission from pallavi shete : What Is On-Demand Work? The on-demand workforce describes a shift towards an open talent economy. Rather than working as a traditional employee, skilled workers can take on contracted projects. They could be temporary jobs or ongoing agreements. While the i

[issue37230] Why Highly Skilled Network Engineers prefer On-Demand work?

2019-06-11 Thread pallavi shete
pallavi shete added the comment: hat Is On-Demand Work? The on-demand workforce describes a shift towards an open talent economy. Rather than working as a traditional employee, skilled workers can take on contracted projects. They could be temporary jobs or ongoing agreements. While the idea

[issue37230] spam

2019-06-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> not a bug stage: -> resolved status: open -> closed title: Why Highly Skilled Network Engineers prefer On-Demand work? -> spam ___ Python tracker _

[issue28869] __module__ attribute is not set correctly for a class created by direct metaclass call

2019-06-11 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: I think we can proceed with option A, but only if doesn't cause visible slow-down for creating ABCs (which is already slower that normal classes). TBH, I don't want to document A as "official" recipe (maybe however mention the problem in the `pickle` module

[issue4356] Add "key" argument to "bisect" module functions

2019-06-11 Thread Mark Dickinson
Mark Dickinson added the comment: > I opened a relevant PR, https://github.com/python/cpython/pull/11781. Did you mean https://github.com/python/cpython/pull/13970 ? -- ___ Python tracker ___

[issue4356] Add "key" argument to "bisect" module functions

2019-06-11 Thread G
G added the comment: I did, thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue13889] str(float) and round(float) issues with FPU precision

2019-06-11 Thread Mark Dickinson
Change by Mark Dickinson : -- pull_requests: -13812 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-11 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Take into account that doing such rename will break again the projects that > have adapted already (primarily only Cython). +1. You already broke backwards compatibility once in beta1, no need to do it again in beta2. -- nosy: +jdemeyer _

[issue37151] Calling code cleanup after PEP 590

2019-06-11 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +13839 pull_request: https://github.com/python/cpython/pull/13972 ___ Python tracker ___ __

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > You already broke backwards compatibility once in beta1 There is one other thing to consider, that is projects with pinned dependencies will have to upgrade to the last Cython and update their generated sources if we don't do the renaming. I don't k

[issue37215] Build with dtrace is broken on some systems

2019-06-11 Thread Jakub Kulik
Change by Jakub Kulik : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue37231] Optimize calling special methods

2019-06-11 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : Change call_method() and related functions in Objects/typeobject.c to allow profiting from the PY_VECTORCALL_ARGUMENTS_OFFSET optimization: instead of passing "self" as separate argument, put it inside the args vector. -- components: Interpreter Co

[issue37232] Parallel compilation fails because of low ulimit.

2019-06-11 Thread Jakub Kulik
New submission from Jakub Kulik : When building and installing Python 3.8 on our sparc machine, the build breaks during the compileall stage with [Error 24] Too many open files. The problem is due to the recently enabled parallel compilation (issue36786). When -j0 is passed to the compileall,

[issue37232] Parallel compilation fails because of low ulimit.

2019-06-11 Thread Ned Deily
Change by Ned Deily : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue37232] Parallel compilation fails because of low ulimit.

2019-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can't you just up the ulimit? What the current ulimit for your user? -- ___ Python tracker ___ __

[issue37230] spam

2019-06-11 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg345224 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37230] spam

2019-06-11 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg345225 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37231] Optimize calling special methods

2019-06-11 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +13840 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13973 ___ Python tracker ___ _

[issue37233] Use _PY_FASTCALL_SMALL_STACK for method_vectorcall

2019-06-11 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : The PEP 590 implementation for type "method" caused a minor regression: instead of using _PyObject_Call_Prepend(), method_vectorcall manually allocates and fills a newly allocated vector. This does NOT use the _PY_FASTCALL_SMALL_STACK optimization, but it

[issue37233] Use _PY_FASTCALL_SMALL_STACK for method_vectorcall

2019-06-11 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +13841 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13974 ___ Python tracker ___ _

[issue37232] Parallel compilation fails because of low ulimit.

2019-06-11 Thread Jakub Kulik
Jakub Kulik added the comment: We have a limit of 256 opened files, which is not much, but I can up it and then it doesn't happen. Mainly, I wanted to report that this might be happening now. But I guess not many people will face this problem. -- ___

[issue4356] Add "key" argument to "bisect" module functions

2019-06-11 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue37232] Parallel compilation fails because of low ulimit.

2019-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: I guess you'd get a similar problem if you were compiling on all cores simultaneously? 256 simultaneous open files is very low. -- ___ Python tracker _

[issue37229] bisect: Allow a custom compare function

2019-06-11 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue37232] Parallel compilation fails because of low ulimit.

2019-06-11 Thread Jakub Kulik
Jakub Kulik added the comment: I am not sure what you are asking now. compileall with -j0 does compile on all cores simultaneously right? -- ___ Python tracker ___ __

[issue37234] error in variable

2019-06-11 Thread Mahdi Jafary
New submission from Mahdi Jafary : this code is ok def test(t): n = 0 def f(t): print(t+str(N)) f(t) test('test') but this code have error def test(t): n = 0 def f(t): n = n+1 print(t+str(n)) f(t

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

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13842 pull_request: https://github.com/python/cpython/pull/13975 ___ 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 65aa64fae89a24491aae84ba0329eb8f3c68c389 by Miss Islington (bot) (Andrew Svetlov) in branch 'master': bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() (GH-13971) https://github.com/python/cpython/commit/65aa64fae89a24491aae84ba032

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

2019-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +13843 pull_request: https://github.com/python/cpython/pull/13976 ___ 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: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue37229] bisect: Allow a custom compare function

2019-06-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry, but we've intentionally removed generic compare functions in favor of objects supporting __lt__. That is now the one-way-to-do-it. If needed for convenience, you can use functools.cmp_to_key to automatically build a wrapper. -- resolution

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

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

[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";, "http://a/b/../c/d

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

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

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

[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

[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 ___ ___ Python-bugs-l

[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

[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 ___ ___ Python-bugs-li

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

[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 miss-islington
Change by miss-islington : -- pull_requests: +13846 pull_request: https://github.com/python/cpython/pull/13979 ___ Python tracker ___ __

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

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

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

[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
Change by Paul Monson : -- keywords: +patch pull_requests: +13847 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13983 ___ 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 ___ _

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

[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

[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}'), /Users/guido/v38/lib/pyt

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

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

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

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

  1   2   >