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

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

[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

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

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

[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

[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

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

[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

[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

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

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

[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

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

[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 b8b3e4377ec38c7d64570afabbd0923a51f0666c by Benjamin Peterson in branch '3.7': [3.7] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17137)

[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

[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

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

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

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

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

[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

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

[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

[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

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

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

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

[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

[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

[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

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

[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

[issue38781] Clear buffer in MemoryHandler flush

2019-11-12 Thread Daniel Andersson
Change by Daniel Andersson : -- keywords: +patch pull_requests: +16642 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17132 ___ Python tracker

[issue38692] add a pidfd child process watcher

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson 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. -- ___ Python tracker

[issue16142] ArgumentParser inconsistent with parse_known_args

2019-11-12 Thread Lewis Gaul
Change by Lewis Gaul : -- nosy: +aeros ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: As you noted /dev/log doesn't exist on macOS (the correct path is /var/run/syslog). I guess the change that would be most in spirit of the comment is to set self.socket to None when the socket cannot be opened and test for that before closing the socket.

[issue38781] Clear buffer in MemoryHandler flush

2019-11-12 Thread Daniel Andersson
New submission from Daniel Andersson : The `logging.handlers.MemoryHandler` has a method `flush` which clears the buffer by assigning an empty list literal: self.buffer = [] This forces the buffer to be a list instance. My suggestion is to clear the buffer like this instead:

[issue38692] add a pidfd child process watcher

2019-11-12 Thread STINNER Victor
STINNER Victor added the comment: > It seems like systemd-nspawn is just breaking everything: > https://sourceware.org/ml/libc-alpha/2019-11/msg00277.html Well, we can try to argue to not block syscalls, but I'm not sure that we can win such battle :-) For os.urandom(), I chose to handle

[issue38739] pyperformance html5lib cannot import Mapping (and fails)

2019-11-12 Thread STINNER Victor
STINNER Victor added the comment: > FYI: this affects tornado_http and django_template as well. Please report pyperformance issues at: https://github.com/python/pyperformance/issues -- ___ Python tracker

[issue37855] Compiling Python 3.7.4 with Intel compilers 2019

2019-11-12 Thread STINNER Victor
Change by STINNER Victor : -- resolution: fixed -> duplicate superseder: -> Error build Python with Intel compiler: doesn't provide atomic_uintptr_t ___ Python tracker ___

[issue37855] Compiling Python 3.7.4 with Intel compilers 2019

2019-11-12 Thread STINNER Victor
STINNER Victor added the comment: This issue looks like a variant of bpo-37415 which has been fixed in the 3.7 branch by: New changeset b102e4f05278c1b06130885eba961bd0193733b4 by Miss Skeleton (bot) in branch '3.7': bpo-37415: Fix stdatomic.h header check for ICC compiler (GH-16717)

[issue38644] Pass explicitly tstate to function calls

2019-11-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16641 pull_request: https://github.com/python/cpython/pull/17131 ___ Python tracker ___

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

2019-11-12 Thread Brett Cannon
Brett Cannon added the comment: Adding Lisa to potentially add the PR from Ilya. -- assignee: -> lisroach ___ Python tracker ___

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: I could imagine extending the shutdown code to catch the reported error (https://github.com/python/cpython/blob/138ccbb02216ca086047c3139857fb44f3dab1f9/Lib/logging/__init__.py#L2130-L2135), but that wouldn't address the error in emit. Similarly, the

[issue38500] Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

2019-11-12 Thread Brett Cannon
Brett Cannon added the comment: I would like to bring this issue back on topic as this about how to expose PEP 523 support in Python 3.8, not whether Fabio should be using a different approach when he has been something sanctioned in an accepted PEP and was previously doable that was

[issue38773] Fatal Python error: Aborted

2019-11-12 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: In the downstream issue, it's also reported that crashes occur in emit as well, suggesting that the comment is additionally wrong on that front. -- ___ Python tracker

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: The issue probably stems from https://github.com/python/cpython/blob/138ccbb02216ca086047c3139857fb44f3dab1f9/Lib/logging/handlers.py#L828-L835. I doubt the logic of that comment, as in the non-unix-socket case, the error is raised if a connection cannot

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: For background, this issue originated from https://github.com/pytest-dev/pytest-services/issues/20. -- ___ Python tracker ___

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

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

[issue29302] add contextlib.AsyncExitStack

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

[issue38741] Definition of multiple ']' in header configparser

2019-11-12 Thread Jason Killen
Change by Jason Killen : -- keywords: +patch pull_requests: +16638 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17129 ___ Python tracker ___

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: I guess that makes sense, as `/dev/log` doesn't exist on macOS. So maybe this usage is invalid. But still I'd expect the handler to error early or at least not error on shutdown. -- ___ Python tracker

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Ned Deily
Change by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Jason R. Coombs
Change by Jason R. Coombs : -- components: +Library (Lib), macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: I only observe this issue on macOS. On Linux, the error doesn't occur. -- ___ Python tracker ___

[issue16885] SQLite3 iterdump ordering

2019-11-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38738] Fix formatting of True and False

2019-11-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 42b619ac9aa7f889dcd8eeb14d813f17468454d9 by Serhiy Storchaka in branch '3.7': [3.7] bpo-38738: Fix formatting of True and False. (GH-17083) (GH-17128) https://github.com/python/cpython/commit/42b619ac9aa7f889dcd8eeb14d813f17468454d9

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Jason R. Coombs
New submission from Jason R. Coombs : On Python 3.8.0: $ python -c "import logging.handlers, socket; handler = logging.handlers.SysLogHandler(facility=logging.handlers.SysLogHandler.LOG_LOCAL7, address='/dev/log', socktype=socket.SOCK_RAW)"

[issue38780] SysLogHandler crash atexit

2019-11-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: Same error on Python 2.7 and 3.7 -- versions: +Python 2.7, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___

[issue38731] bad input crashes py_compile library

2019-11-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38777] plist handling of real data type

2019-11-12 Thread David Nicolson
David Nicolson added the comment: It looks like it's just inconsistency in plutil that is causing the confusion. /usr/libexec/PlistBuddy -c Print test.plist Dict { FloatExample2 = 0.10 FloatExample3 = 100.00 FloatExample = 0.00 } cat test.plist | plutil -convert xml1

[issue38738] Fix formatting of True and False

2019-11-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +16637 pull_request: https://github.com/python/cpython/pull/17128 ___ Python tracker ___

[issue38738] Fix formatting of True and False

2019-11-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d360346640e19231032b072216195484fa2450b4 by Serhiy Storchaka in branch '3.8': [3.8] bpo-38738: Fix formatting of True and False. (GH-17083) (GH-17125) https://github.com/python/cpython/commit/d360346640e19231032b072216195484fa2450b4

[issue38774] Statements in try block still executes after raised error

2019-11-12 Thread Torbjørn Wikestad
Torbjørn Wikestad added the comment: I could not reproduce the error when I open the script in Spyder anew. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker

[issue38774] Statements in try block still executes after raised error

2019-11-12 Thread Torbjørn Wikestad
Torbjørn Wikestad added the comment: The script has been tried and found to work as intended in the Idle IDE, which runs on a standard win32 python shell. So the error is linked only with IPython or Spyder. -- Added file:

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-11-12 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-11-12 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +16635 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17127 ___ Python tracker ___

[issue37838] typing.get_type_hints not working with forward-declaration and decorated functions

2019-11-12 Thread Benjamin Edwards
Benjamin Edwards added the comment: Have opened a PR, let me know if there is anything that needs fixing -- ___ Python tracker ___

[issue37838] typing.get_type_hints not working with forward-declaration and decorated functions

2019-11-12 Thread Benjamin Edwards
Change by Benjamin Edwards : -- keywords: +patch pull_requests: +16634 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17126 ___ Python tracker

[issue34716] MagicMock.__divmod__ should return a pair

2019-11-12 Thread Jackson Riley
Jackson Riley added the comment: Hi Serhiy, Option 3 sounds most sensible to me. I'd be happy to pick up this issue, please do let me know. -- nosy: +jacksonriley ___ Python tracker

[issue38738] Fix formatting of True and False

2019-11-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +16633 pull_request: https://github.com/python/cpython/pull/17125 ___ Python tracker ___

[issue38777] plist handling of real data type

2019-11-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't think this is a bug. The value's in the plutil output are correct, and marked up with the correct type in both cases. The difference between 0.1 and 0.10001 is the usual problem with floating point representation (see the python.org

[issue15243] Misleading documentation for __prepare__

2019-11-12 Thread Alex
Change by Alex : -- nosy: +alclarks ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17306] Improve the way abstract base classes are shown in help()

2019-11-12 Thread Jackson Riley
Jackson Riley added the comment: Hi Raymond - here's a first attempt at adding class-level docstrings, based off the format of Sequence.__doc__. Apologies if some things are not well worded etc. It looks like all of the non-magic methods have docstrings already but if you think the magic

[issue15243] Misleading documentation for __prepare__

2019-11-12 Thread Alex
Change by Alex : -- pull_requests: +16632 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17124 ___ Python tracker ___

[issue38738] Fix formatting of True and False

2019-11-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 138ccbb02216ca086047c3139857fb44f3dab1f9 by Serhiy Storchaka in branch 'master': bpo-38738: Fix formatting of True and False. (GH-17083) https://github.com/python/cpython/commit/138ccbb02216ca086047c3139857fb44f3dab1f9 --

[issue38779] Simple typo in strings module documentation

2019-11-12 Thread Michael H
Michael H added the comment: Many thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37436] os.path.isfile() with big number cause OverflowError: fd is greater than maximum

2019-11-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I considered this. There is a limited number of functions that can produce RawFD (os.open(), os.dup(), etc), and this is a single source of file descriptors in an isolated program. File descriptors can be inherited by child processes. But there are other

[issue38779] Simple typo in strings module documentation

2019-11-12 Thread Zachary Ware
Zachary Ware added the comment: You're right, it is correct as is; the regular output of the REPL is essentially `print(repr(_))`. Please do feel free to report any issues you find, though you may want to send a message to tu...@python.org to check anything you're not sure about. Welcome

[issue38779] Simple typo in strings module documentation

2019-11-12 Thread Michael H
Michael H added the comment: Sorry, its my bad, it is correct as it is, I hadn't read further on about the print statement being needed. As I am working through the tutorial in pycharm, I am had already used print statement. Thanks! -- ___

[issue38778] Document that os.fork is not allowed in subinterpreters

2019-11-12 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +16629 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17123 ___ Python tracker ___

[issue34651] Disallow fork in a subinterpreter.

2019-11-12 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +16630 pull_request: https://github.com/python/cpython/pull/17123 ___ Python tracker ___

[issue38779] Simple typo in strings module documentation

2019-11-12 Thread Michael H
New submission from Michael H : https://docs.python.org/3/tutorial/introduction.html#strings In the strings part of the basic tutorial, there is an output error regarding the escaping of the single quote >>> '"Isn\'t," they said.' '"Isn\'t," they said.' # I think the output should be correct

[issue37436] os.path.isfile() with big number cause OverflowError: fd is greater than maximum

2019-11-12 Thread Zufu Liu
Zufu Liu added the comment: I'm fine with this been closed. Maybe it's better to have a RawFd type like Julia: julia> RawFD RawFD julia> typeof(RawFD) DataType julia> RawFD(0) RawFD(0x) julia> RawFD(0)==0 false Rust has RawFd as c_int. --

[issue38778] Document that os.fork is not allowed in subinterpreters

2019-11-12 Thread Phil Connell
New submission from Phil Connell : Add a comment to the os.fork docs to note that forking from a subinterpreter is no longer allowed (see issue34651) -- assignee: docs@python components: Documentation messages: 356459 nosy: docs@python, eric.snow, pconnell priority: normal severity:

[issue38731] bad input crashes py_compile library

2019-11-12 Thread Григорий Шевченко
Change by Григорий Шевченко : -- nosy: +Григорий Шевченко ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38774] Statements in try block still executes after raised error

2019-11-12 Thread Steven D'Aprano
Steven D'Aprano added the comment: Please try your script in the vanilla Python interpreter. If it behaves correctly, you should report this issue to Spyder and/or IPython. -- nosy: +steven.daprano ___ Python tracker

[issue35856] bundled pip syntaxwarning

2019-11-12 Thread Pradyun Gedam
Pradyun Gedam added the comment: Closing this sounds reasonable to me! There are a couple of pending PRs for updating the pip, in the current versions of CPython. That's being tracked separately so likely don't need this to stay open anymore. On Tue, 12 Nov 2019 at 6:20 PM, Inada Naoki

[issue38421] email.utils.parsetime_tz does not return "None" as the tz offset

2019-11-12 Thread Petr Viktorin
Petr Viktorin added the comment: Thank you for the fix! -- nosy: +petr.viktorin resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38421] email.utils.parsetime_tz does not return "None" as the tz offset

2019-11-12 Thread miss-islington
miss-islington added the comment: New changeset 29fd6a77d509cffacc5691ebd9dab53455ad959e by Miss Islington (bot) in branch '3.8': [3.8] bpo-38421: Update email.utils documentation (GH-16678) (GH-17122) https://github.com/python/cpython/commit/29fd6a77d509cffacc5691ebd9dab53455ad959e

[issue38421] email.utils.parsetime_tz does not return "None" as the tz offset

2019-11-12 Thread miss-islington
miss-islington added the comment: New changeset eadddad6b093bca74601b1ea91ab96119bc543d8 by Miss Islington (bot) in branch '3.7': [3.7] bpo-38421: Update email.utils documentation (GH-16678) (GH-17121) https://github.com/python/cpython/commit/eadddad6b093bca74601b1ea91ab96119bc543d8

  1   2   >