[issue20443] __code__. co_filename should always be an absolute path

2019-10-21 Thread STINNER Victor
STINNER Victor added the comment: Michel Desmoulin: "The relevance of the use case isn't the problem. Even if people had been using it wrong for all this time, the update is still going to break their code if they did use it this way. And if it was possible, of course many people did." You

[issue38546] test_concurrent_futures: test_interpreter_shutdown() warning "reap_children() reaped child process" on AMD64 RHEL7 3.x

2019-10-21 Thread STINNER Victor
STINNER Victor added the comment: The system load was at 10.02 when the bug occurred: > https://buildbot.python.org/all/#/builders/254/builds/162 ... 0:04:11 load avg: 10.02 [230/419] test_pkgutil passed -- running: test_io (2 min 46 sec), test_capi (1 min 12 sec), test_concurrent_futures (2

[issue36541] Make lib2to3 grammar more closely match Python

2019-10-21 Thread Peter Ludemann
Peter Ludemann added the comment: Re: breakage due to changes in structure (https://bugs.python.org/issue36541#msg339669) ... this has already happened in the past (e.g., type annotations and async). It's probably a good idea to add some documentation that structure changes can be expected

[issue38551] lib2to3 Grammar.txt doesn't have Python 3.8 grammar changes

2019-10-21 Thread Peter Ludemann
Peter Ludemann added the comment: Should I just close this? (I didn't find https://bugs.python.org/issue36541 when I searched, possibly because I used "2to3" instead of "lib2to3" in my search.) -- ___ Python tracker

[issue38553] Document functools.cached_property supports value updating and clearing

2019-10-21 Thread Laurie Opperman
New submission from Laurie Opperman : As I discovered during working on bpo-38545, `functools.cached_property` natively supports cached value setting/updating and clearing (via attribute assignment and deletion, respectively) through mechanisms defined in the language for non-data descriptors

[issue38328] Speed up the creation time of constant list literals.

2019-10-21 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +16423 pull_request: https://github.com/python/cpython/pull/16878 ___ Python tracker ___ ___

[issue38539] Update demo files

2019-10-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Let's just do the rename for ss1.py. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue38553] Document functools.cached_property supports value updating and clearing

2019-10-21 Thread hongweipeng
hongweipeng added the comment: It can be solved by extending propery. `class cached_property(property):` . How about this idea? -- nosy: +hongweipeng ___ Python tracker ___ _

[issue38553] Document functools.cached_property supports value updating and clearing

2019-10-21 Thread Laurie Opperman
Laurie Opperman added the comment: @hongweipeng What can be solved? Do you mean `functools.cached_property` should inherit `property`? First, this would break existing code dependant on the functionality of `functools.cached_property` (admittedly, Python 3.8 was release less than two weeks a

[issue38554] A fatal error in test_descr

2019-10-21 Thread Zackery Spytz
New submission from Zackery Spytz : When running test_descr, I encountered a fatal error! ./python -m test test_descr 0:00:00 load avg: 0.46 Run tests sequentially 0:00:00 load avg: 0.46 [1/1] test_descr python: Objects/typeobject.c:7318: update_one_slot: Assertion `!PyErr_Occurred()' failed.

[issue38554] A fatal error in test_descr

2019-10-21 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +16424 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16879 ___ Python tracker ___ __

[issue38483] [venv] Add ~/.venvrc to change module defaults

2019-10-21 Thread Laurie Opperman
Laurie Opperman added the comment: ".xrc" usually means a file to be run (by a shell) at shell start, and therefore is a script of command to run ("rc" seems to come from "runcom", ie run commands). INI files usually have a ".ini" or ".cfg" suffix. `virtualenv`, for example, used an INI

[issue38483] [venv] Add ~/.venvrc to change module defaults

2019-10-21 Thread Cooper Lees
Cooper Lees added the comment: Good point. Happy to match the virtualenv module and use `.ini` if others agree. -- ___ Python tracker ___ _

[issue38547] test_pty fails when using setsid()

2019-10-21 Thread David Bolen
Change by David Bolen : -- nosy: +db3l ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue38483] [venv] Add ~/.venvrc to change module defaults

2019-10-21 Thread Eryk Sun
Eryk Sun added the comment: In Windows, dot files cannot be hidden (i.e. set the hidden file attribute), unlike how they're conventionally hidden in Unix. Doing so breaks normal access. A directory such as ".venv" can be hidden, but that's still going against convention. For Windows, I sugge

[issue12178] csv writer doesn't escape escapechar

2019-10-21 Thread Aldrian Obaja
Aldrian Obaja added the comment: I think this issue needs to be escalated, as this is clearly a bug that makes it troublesome to use csv.reader and csv.writer with escapechar. -- nosy: +Aldrian Obaja ___ Python tracker

[issue12178] csv writer doesn't escape escapechar

2019-10-21 Thread Larry Hastings
Change by Larry Hastings : -- versions: +Python 3.8, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list

[issue12178] csv writer doesn't escape escapechar

2019-10-21 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

<    1   2