[issue37086] time.sleep error message misleading

2019-05-29 Thread Justin Fay
New submission from Justin Fay : Using python3.6 and calling `time.sleep` with an invalid argument the `TypeError` raised has the error message "TypeError: an integer is required". This is not the case as a float or integer is acceptable. Using python 2.7 the error message given is better

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-05-29 Thread Tal Einat
Tal Einat added the comment: There a cleanly rebased PR up at GH-13648. I'd like to get opinions from additional people about this now that the PR is ready. Steve? Victor? Some discussion which happened in PR comments: Andrew Svetlov approved the changes for the asyncio tests. Stefan

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2019-05-29 Thread Michele Angrisano
Michele Angrisano added the comment: I'm working on it. -- nosy: +mangrisano ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36889] Merge StreamWriter and StreamReader into just asyncio.Stream

2019-05-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks for letting me know. Investigating. BrokenPipeError is not related, I had a plan to fix such messages during the beta phase. -- ___ Python tracker

[issue32972] unittest.TestCase coroutine support

2019-05-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Done. Let's keep the issue open until the documentation will be committed -- ___ Python tracker ___

[issue32972] unittest.TestCase coroutine support

2019-05-29 Thread miss-islington
miss-islington added the comment: New changeset 4dd3e3f9bbd320f0dd556688e04db0a6b55a7b52 by Miss Islington (bot) (Andrew Svetlov) in branch 'master': bpo-32972: Async test case (GH-13386) https://github.com/python/cpython/commit/4dd3e3f9bbd320f0dd556688e04db0a6b55a7b52 -- nosy:

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-05-29 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +13542 pull_request: https://github.com/python/cpython/pull/13648 ___ Python tracker ___

[issue13214] Cmd: list available completions from the cmd.Cmd subclass and filter out EOF handler(s)

2019-05-29 Thread Aldwin Pollefeyt
Aldwin Pollefeyt added the comment: The EOF mentioned in msg309788 is the first reason why I searched in the library code for a solution. Then saw it as an opportunity to create hidden functions in the shell. So I created issue37030 [0] and PR13536 [1]. Later got notified about this thread.

[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-05-29 Thread Aldwin Pollefeyt
Aldwin Pollefeyt added the comment: The EOF mentioned in [0] is indeed the same and was the first reason why I searched in the library code for a solution. Then saw it as an opportunity to create hidden functions in the shell. [0] https://bugs.python.org/issue13214#msg309788 --

[issue22454] Adding the opposite function of shlex.split()

2019-05-29 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset ca804955927dddb6ae5a846dbc0248a932be9a4e by Vinay Sajip (Bo Bayles) in branch 'master': bpo-22454: Add shlex.join() (the opposite of shlex.split()) (GH-7605) https://github.com/python/cpython/commit/ca804955927dddb6ae5a846dbc0248a932be9a4e

[issue37082] Assignment expression operator (walrus) not in built-in help()

2019-05-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems this was added in db7b6b95828c25df6f428bc21a5d6d1cb68287a0 (2009) and wasn't updated from then. -- nosy: +xtreak ___ Python tracker

[issue37070] Clean up f-string debug handling, including potential memory leaks

2019-05-29 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37070] Clean up f-string debug handling, including potential memory leaks

2019-05-29 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset f83d1dbd3bfbde940117c85f5c70de00e47b7e6e by Eric V. Smith in branch 'master': bpo-37070: Cleanup fstring debug handling (GH-13607) https://github.com/python/cpython/commit/f83d1dbd3bfbde940117c85f5c70de00e47b7e6e --

[issue37085] Expose additional socket constants for CAN_BCM flags

2019-05-29 Thread Karl Ding
Change by Karl Ding : -- keywords: +patch pull_requests: +13541 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13646 ___ Python tracker ___

[issue37082] Assignment expression operator (walrus) not in built-in help()

2019-05-29 Thread Mark Dickinson
Mark Dickinson added the comment: @= is also missing. Looks like we need to go through the grammar and reconcile what's there with the symbols help. -- ___ Python tracker

[issue37082] Assignment expression operator (walrus) not in built-in help()

2019-05-29 Thread Mark Dickinson
Mark Dickinson added the comment: Looks like that list could do with some attention: - I don't see regular assignment there, either. - And "`" shouldn't be in that list. - Neither should "<>" - "->" (for function annotations) is missing. -- nosy: +mark.dickinson

[issue37075] Error message improvement for AsyncMock

2019-05-29 Thread miss-islington
miss-islington added the comment: New changeset 0ae022c6a47abffce22ec185552e319b7b93dbf4 by Miss Islington (bot) (Xtreak) in branch 'master': bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13616)

[issue34793] Remove support for "with (await asyncio.lock):"

2019-05-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Let's postpone to 3.9 I recall at least reports for aioredis, aiomysql and aiokafka for these deprecation warnings. Sure, fix is trivial (and will be applied to next release of libs) but I pretty sure there are many other usages. -- versions:

[issue37085] Expose additional socket constants for CAN_BCM flags

2019-05-29 Thread Karl Ding
New submission from Karl Ding : When reading through the values exposed via the socket library, I noticed that currently, only the SocketCAN BCM opcode enums are exposed via the socket constants. These correspond to the following from the Linux headers: enum {

[issue35246] asyncio.create_subprocess_exec doesn't accept pathlib.Path like subprocess does

2019-05-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35246] asyncio.create_subprocess_exec doesn't accept pathlib.Path like subprocess does

2019-05-29 Thread miss-islington
miss-islington added the comment: New changeset 744c08a9c75a1a53b7a6521fcee3e7c513919ff9 by Miss Islington (bot) (依云) in branch 'master': bpo-35246: fix support for path-like args in asyncio subprocess (GH-13628)

<    1   2