[issue38731] bad input crashes py_compile library

2019-11-12 Thread Gregory Shevchenko
Change by Gregory Shevchenko : -- keywords: +patch pull_requests: +16644 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17134 ___ Python tracker __

[issue17013] Allow waiting on a mock

2019-11-12 Thread Ilya Kulakov
Change by Ilya Kulakov : -- pull_requests: +16643 pull_request: https://github.com/python/cpython/pull/17133 ___ Python tracker ___

[issue38692] add a pidfd child process watcher

2019-11-12 Thread STINNER Victor
STINNER Victor added the comment: > We should not claim to support running our tests in weird syscall sandboxes. > There's an infinite number of possible sandboxing configurations, and we > can't fix them all. There is no request to support an "an infinite number of possible sandboxing conf

[issue38692] add a pidfd child process watcher

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Sure, that change on it's own looks small and harmless. My point is that it's a slippery slope. Why is that sandbox configuration important enough to handle? It won't be tested by our CI and no one will know whether they can ever remove the EPERM skipping

[issue38692] add a pidfd child process watcher

2019-11-12 Thread STINNER Victor
STINNER Victor added the comment: > Why is that sandbox configuration important enough to handle? It won't be > tested by our CI and no one will know whether they can ever remove the EPERM > skipping case. It's just convenient for users who use/test Python in a Linux sandbox. The fact is th

[issue38644] Pass explicitly tstate to function calls

2019-11-12 Thread STINNER Victor
STINNER Victor added the comment: I started a thread on python-dev about this issue: "Pass the Python thread state to internal C functions" https://mail.python.org/archives/list/python-...@python.org/thread/PQBGECVGVYFTVDLBYURLCXA3T7IPEHHO/ -- ___ P

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-11-12 Thread STINNER Victor
STINNER Victor added the comment: I started a thread on python-dev about this issue: "Pass the Python thread state to internal C functions" https://mail.python.org/archives/list/python-...@python.org/thread/PQBGECVGVYFTVDLBYURLCXA3T7IPEHHO/ -- ___ P

[issue38692] add a pidfd child process watcher

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: It will be fixed, though, as soon as the user upgrades systemd. -- ___ Python tracker ___ ___

[issue37095] [Feature Request]: Add zstd support in tarfile

2019-11-12 Thread Jerrod Frost
Jerrod Frost added the comment: Curious about this as well. -- nosy: +Jerrod Frost ___ Python tracker ___ ___ Python-bugs-list mail

[issue36375] PEP 499 implementation: "python -m foo" binds the main module as both __main__ and foo in sys.modules

2019-11-12 Thread Nick Coghlan
Nick Coghlan added the comment: [Belatedly updating this issue with the current status as of March] Cameron's implementation generally looks good, but there are couple of compatibility/migration questions that we need to consider, as spelled out in the PEP update that added me as BDFL-Delega

[issue38723] Pdb._runscript should use io.open_code() instead of open()

2019-11-12 Thread Steve Dower
Steve Dower added the comment: New changeset d593881505c1f4acfd17f41312b27cc898451816 by Steve Dower (jsnklln) in branch 'master': bpo-38723: Pdb._runscript should use io.open_code() instead of open() (GH-17127) https://github.com/python/cpython/commit/d593881505c1f4acfd17f41312b27cc898451816

[issue38782] Convert importlib.abc to use typing.Protocol

2019-11-12 Thread Brett Cannon
New submission from Brett Cannon : Now that typing.Protocol exists we should convert the ABCs in importlib over to protocols as the import system functions off of structural typing and not nominal typing. -- components: Library (Lib) messages: 356501 nosy: brett.cannon priority: low s

[issue38723] Pdb._runscript should use io.open_code() instead of open()

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

[issue38723] Pdb._runscript should use io.open_code() instead of open()

2019-11-12 Thread Steve Dower
Steve Dower added the comment: Thanks for the PR! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker ___

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 74fa9f723f700a342e582b5ad4b51a2c4801cd1c by Benjamin Peterson in branch 'master': closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17112) https://github.com/python/cpython/commit/74fa9f723f700a342e582b5ad4b51a2c

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16646 pull_request: https://github.com/python/cpython/pull/17136 ___ Python tracker ___ ___

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16647 pull_request: https://github.com/python/cpython/pull/17137 ___ Python tracker ___ ___

[issue38764] Deterministic globbing.

2019-11-12 Thread Guido van Rossum
Guido van Rossum added the comment: Let's not do this, for all the reasons brought up. -- nosy: +gvanrossum resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38723] Pdb._runscript should use io.open_code() instead of open()

2019-11-12 Thread miss-islington
miss-islington added the comment: New changeset 0a8e7fde064c8fb6eb8e78752d4bcdab56643065 by Miss Islington (bot) in branch '3.8': bpo-38723: Pdb._runscript should use io.open_code() instead of open() (GH-17127) https://github.com/python/cpython/commit/0a8e7fde064c8fb6eb8e78752d4bcdab56643065

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b8b3e4377ec38c7d64570afabbd0923a51f0666c by Benjamin Peterson in branch '3.7': [3.7] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17137) https://github.com/python/cpython/commit/b8b3e4377ec38c7d64570afabbd09

[issue38738] Fix formatting of True and False

2019-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, thank you for carrying this through, including the backports. Ready to close? -- nosy: +terry.reedy ___ Python tracker ___ _

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 9788f97bf69230ec6b38a483c90e88828eba9a1b by Benjamin Peterson in branch '3.8': [3.8] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17136) https://github.com/python/cpython/commit/9788f97bf69230ec6b38a483c90e8

[issue36375] PEP 499 implementation: "python -m foo" binds the main module as both __main__ and foo in sys.modules

2019-11-12 Thread Cameron Simpson
Cameron Simpson added the comment: I want to start with an apology. I have become a little swamped by work and didn't let anyone know I've made little time for this since March. To my naive eye Nick's snippet looks like it would work for pdb; I became a little stalled there trying to underst

[issue29302] add contextlib.AsyncExitStack

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

[issue29302] add contextlib.AsyncExitStack

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d6d6e2aa0249bb661541705335ddbb97a53d64c8 by Benjamin Peterson (Ilya Kulakov) in branch 'master': Add Ilya Kulakov to Misc/ACKS. (GH-17130) https://github.com/python/cpython/commit/d6d6e2aa0249bb661541705335ddbb97a53d64c8 -- nosy: +b

[issue26467] Add async magic method support to unittest.mock.Mock

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

[issue26467] Add async magic method support to unittest.mock.Mock

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d6d6e2aa0249bb661541705335ddbb97a53d64c8 by Benjamin Peterson (Ilya Kulakov) in branch 'master': Add Ilya Kulakov to Misc/ACKS. (GH-17130) https://github.com/python/cpython/commit/d6d6e2aa0249bb661541705335ddbb97a53d64c8 -- nosy: +b

[issue26467] Add async magic method support to unittest.mock.Mock

2019-11-12 Thread miss-islington
miss-islington added the comment: New changeset e5125f7b3b88d8d4814ed7bddbd4f34d24d763dd by Miss Islington (bot) in branch '3.8': Add Ilya Kulakov to Misc/ACKS. (GH-17130) https://github.com/python/cpython/commit/e5125f7b3b88d8d4814ed7bddbd4f34d24d763dd -- nosy: +miss-islington ___

[issue29302] add contextlib.AsyncExitStack

2019-11-12 Thread miss-islington
miss-islington added the comment: New changeset e5125f7b3b88d8d4814ed7bddbd4f34d24d763dd by Miss Islington (bot) in branch '3.8': Add Ilya Kulakov to Misc/ACKS. (GH-17130) https://github.com/python/cpython/commit/e5125f7b3b88d8d4814ed7bddbd4f34d24d763dd -- nosy: +miss-islington ___

[issue38772] shutil.copytree fail to copy some bytes

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: This looks much more like a hardware problem than a Python bug. In the future, please post text instead of images. -- nosy: +benjamin.peterson resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue36375] PEP 499 implementation: "python -m foo" binds the main module as both __main__ and foo in sys.modules

2019-11-12 Thread Cameron Simpson
Cameron Simpson added the comment: Just a remark about the preamble comment: it reads to me as though PEP499 is a misfeature. Possibly change: We actually want the double import, so remove the alias if it exists. to: This module is unusual, and actually wants the double import. Theref

[issue4630] IDLE: add cursor noblink option

2019-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zackary's patch toggles blinking immediately in editor/shell/output windows, but does not affect the FontSample and numerous dialog entry lines. I changed the patch to store 'insertofftime' just once, as idleConf.blink_off_time. This is set the first time

[issue38736] argparse: wrong type from get_default when type is set

2019-11-12 Thread paul j3
Change by paul j3 : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue4630] IDLE: add cursor noblink option

2019-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: My intent is that a followup patch should, for font sample and entry widgets, set insertofftime=0 on creation if not cursor_blink. A new idleConf.set_cursor_blink(widget), something like the new EditorWindow.update_cursor_blink could be used multiple places

[issue4630] IDLE: add cursor noblink option

2019-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9c2844927d15b2d3e21b28d62249dead02b5b597 by Terry Jan Reedy (Zackery Spytz) in branch 'master': bpo-4630: Add cursor no-blink option for IDLE (GH-16960) https://github.com/python/cpython/commit/9c2844927d15b2d3e21b28d62249dead02b5b597

[issue4630] IDLE: add cursor noblink option

2019-11-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +16650 pull_request: https://github.com/python/cpython/pull/17141 ___ Python tracker ___ ___

[issue4630] IDLE: add cursor noblink option

2019-11-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +16651 pull_request: https://github.com/python/cpython/pull/17142 ___ Python tracker ___ ___

[issue38783] the window size is bigger than the specific size when create a window with a fix size in Windows platform

2019-11-12 Thread John Liao
New submission from John Liao : from tkinter import * master = Tk() master.resizable(False, False) master.geometry("100x100") master.mainloop() When using the simple code above to create a fix size window, the actual window client area's size is about 126x126 pixels. Environment: Windows 10

[issue4630] IDLE: add cursor noblink option

2019-11-12 Thread miss-islington
miss-islington added the comment: New changeset a67bc10e42fa9a077eb4d9d7bd767c3efddbc366 by Miss Islington (bot) in branch '3.8': bpo-4630: Add cursor no-blink option for IDLE (GH-16960) https://github.com/python/cpython/commit/a67bc10e42fa9a077eb4d9d7bd767c3efddbc366 -- nosy: +miss

[issue4630] IDLE: add cursor noblink option

2019-11-12 Thread miss-islington
miss-islington added the comment: New changeset 753d0c05b39f21d5987d59d7fe8b5a6d721bc22c by Miss Islington (bot) in branch '3.7': bpo-4630: Add cursor no-blink option for IDLE (GH-16960) https://github.com/python/cpython/commit/753d0c05b39f21d5987d59d7fe8b5a6d721bc22c -- __

<    1   2