[issue34313] Tkinter crashes with Tk-related error on macOS with ActiveTcl 8.6

2018-12-14 Thread Vlad Tudorache
Vlad Tudorache added the comment: The only versions of Tk not showing issues on my Mac are: - 8.5.18 with any Python in 3.5, 3.6, 3.7 on Mojave AND previous versions; - 8.6.8 when built on a 10.13 SDK, with the same Python versions. For 8.6.8 built on Mojave SDK, there's the black background

[issue31446] _winapi.CreateProcess (used by subprocess) is not thread-safe

2018-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10378 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35489] Argument Clinic should use "const Py_UNICODE *" for the Py_UNICODE converter

2018-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10379 stage: -> patch review ___ Python tracker ___ ___

[issue35489] Argument Clinic should use "const Py_UNICODE *" for the Py_UNICODE converter

2018-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset afb3e71a1710c444fbe789b51df43ee16ee9ede7 by Serhiy Storchaka in branch 'master': bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150)

[issue35491] multiprocessing: enhance repr()

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +10382 stage: -> patch review ___ Python tracker ___ ___

[issue35492] Missing colon on func statement in library/sys doc

2018-12-14 Thread Jules Lasne
New submission from Jules Lasne : As you can see here, a `:` is missing for the href to be created. https://docs.python.org/3/library/sys.html#sys.get_coroutine_origin_tracking_depth -- assignee: docs@python components: Documentation messages: 331796 nosy: docs@python, mdk, seluj78

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2018-12-14 Thread STINNER Victor
New submission from STINNER Victor : Currently, multiprocessing.Pool._worker_handler() checks every 100 ms if a worker exited using time.sleep(0.1). It causes a latency if worker exit frequently and the pool has to execute a large number of tasks. Worst case: --- import multiprocessing

[issue35492] Missing colon on func statement in library/sys doc

2018-12-14 Thread miss-islington
miss-islington added the comment: New changeset cb0f5e29e37c081e9bba91a9858370e2504e9e8e by Miss Islington (bot) (Jules Lasne (jlasne)) in branch 'master': Fixed missing colun in library/sys.po (GH-11153) https://github.com/python/cpython/commit/cb0f5e29e37c081e9bba91a9858370e2504e9e8e

[issue35492] Missing colon on func statement in library/sys doc

2018-12-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +10385 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35492] Missing colon on func statement in library/sys doc

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: asyncio uses SIGCHLD signal to be notified when a child process completes. SafeChildWatcher calls os.waitpid(pid, os.WNOHANG) on each child process, whereas FastChildWatcher() uses os.waitpid(-1, os.WNOHANG). --

[issue35479] multiprocessing.Pool.join() always takes at least 100 ms

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: > My PR 11136 doesn't work: _maintain_pool() should be called frequently to > check when a worker completed. Polling worker exit status seems inefficient > :-( I created bpo-35493: "multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-35479: multiprocessing.Pool.join() always takes at least 100 ms. -- ___ Python tracker ___

[issue31446] _winapi.CreateProcess (used by subprocess) is not thread-safe

2018-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7b36016a15aeed0d76a4c05a66203e6d7723aace by Serhiy Storchaka (Vladimir Matveev) in branch 'master': bpo-31446: Copy command line that should be passed to CreateProcessW(). (GH-11141)

[issue35489] Argument Clinic should use "const Py_UNICODE *" for the Py_UNICODE converter

2018-12-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Format units "Z" and "Z#" in PyArg_Parse* return a pointer to immutable internal data. Therefor the result of the Py_UNICODE converter in Argument Clinic should has type "const Py_UNICODE *". This would help to catch the bug reported in issue31446.

[issue35488] pathlib Path.match does not behave as described

2018-12-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35490] Remove the DecodeFSDefault return converter in Argument Clinic

2018-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10381 stage: -> patch review ___ Python tracker ___ ___

[issue35479] multiprocessing.Pool.join() always takes at least 100 ms

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: My PR 11136 doesn't work: _maintain_pool() should be called frequently to check when a worker completed. Polling worker exit status seems inefficient :-( asyncio uses SIGCHLD signal to be notified when a child process completes. SafeChildWatcher calls

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2018-12-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: How do you use SIGCHLD on Windows? There is actually a portable (and robust) solution: use Process.sentinel https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Process.sentinel There is another issue: Pool is currently subclassed by

[issue35491] multiprocessing: enhance repr()

2018-12-14 Thread STINNER Victor
New submission from STINNER Victor : multiprocessing.Pool has no __repr__() method, multiprocessing.BaseProcess.__repr__() doesn't contain the pid. I propose to enhance repr() in the multiprocessing module to ease debug. commit 2b417fba25f036c2d6139875e389d80e4286ad75 (HEAD -> master,

[issue35491] multiprocessing: enhance repr() to ease debugging

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- title: multiprocessing: enhance repr() -> multiprocessing: enhance repr() to ease debugging ___ Python tracker ___

[issue35492] Missing colon on func statement in library/sys doc

2018-12-14 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +10383 stage: -> patch review ___ Python tracker ___ ___

[issue35492] Missing colon on func statement in library/sys doc

2018-12-14 Thread miss-islington
miss-islington added the comment: New changeset 527008599dca9377aa3e71da5e5068433aee by Miss Islington (bot) in branch '3.7': Fixed missing colun in library/sys.po (GH-11153) https://github.com/python/cpython/commit/527008599dca9377aa3e71da5e5068433aee --

[issue31446] _winapi.CreateProcess (used by subprocess) is not thread-safe

2018-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 922b2a0d0d9928af420ea4d5c104f8be72517aa2 by Serhiy Storchaka in branch '3.7': [3.7] bpo-31446: Copy command line that should be passed to CreateProcessW(). (GH-11141). (GH-11149)

[issue35489] Argument Clinic should use "const Py_UNICODE *" for the Py_UNICODE converter

2018-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10380 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31446] _winapi.CreateProcess (used by subprocess) is not thread-safe

2018-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35490] Remove the DecodeFSDefault return converter in Argument Clinic

2018-12-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The DecodeFSDefault return converter is used only in one function, os.ttyname(). It could be used also in os.ctermid(), but in any case there are too small use cases for it, because it is very uncommon to return a bare pointer to static C string. Since

[issue35488] pathlib Path.match does not behave as described

2018-12-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this similar to issue29249 (See also msg285311) and issue34731 ? As I can see in Lib/test/test_pathlib.py there are also no tests for "**" and I think it's good to add one along with documenting it. --

[issue35489] Argument Clinic should use "const Py_UNICODE *" for the Py_UNICODE converter

2018-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 45a7b7617e67bd1a8491f5e10ea9d24fe418b52d by Serhiy Storchaka in branch '3.7': [3.7] bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150). (GH-11151)

[issue35489] Argument Clinic should use "const Py_UNICODE *" for the Py_UNICODE converter

2018-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35478] multiprocessing: ApplyResult.get() hangs if the pool is terminated

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: Attached PR 11139 sets RuntimeError("Pool terminated") error in pending results if the pool is terminated. -- ___ Python tracker ___

[issue35498] Parents objects in pathlib.Path don't support slices as __getitem__ arguments

2018-12-14 Thread Joshua Cannon
Joshua Cannon added the comment: If it is deemed a bug which needs to be fixed, I've gone ahead and attached the PR to fix it. CLA signage is pending approval at the company I work for, with most people out for the holidays (so it might be a day or two turnaround). --

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-14 Thread Jess Johnson
New submission from Jess Johnson : When given xml that that would raise a ParseError, but parsing is stopped before the ParseError is raised, xml.etree.ElementTree.iterparse leaks memory. Example: import gc from io import StringIO import xml.etree.ElementTree as etree import objgraph def

[issue32810] Expose ags_gen and agt_gen in asynchronous generators

2018-12-14 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR for this issue. -- nosy: +ZackerySpytz versions: +Python 3.8 -Python 3.7 ___ Python tracker ___

[issue35448] ConfigParser .read() - handling of nonexistent files

2018-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since the code and doc agree, and since the proposal is to add a call parameter, this would be an enhancement for next release only, not a bug fix. The proposal seems reasonable. I might use it for IDLE. IDLE uses .read within this subclass method.

[issue35457] robotparser reads empty robots.txt file as "all denied"

2018-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/2.7/library/robotparser.html#module-robotparser and https://docs.python.org/3/library/urllib.robotparser.html#module-urllib.robotparser refers users, for file structure, to http://www.robotstxt.org/orig.html. This says nothing about the

[issue35503] os.path.islink() works with cygwin installation but not python.org

2018-12-14 Thread Benjamin Ward
New submission from Benjamin Ward : I have python.org's Python27 installed on my laptop. In my Documnets/tmp folder/directory I created three "directories" (see below) and performed os.path.islink() on all three. in cmd window: (not dir output and prompt have be been shortened)

[issue35482] python372rc1.chm is ill

2018-12-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue35495] argparse does not honor default argument for nargs=argparse.REMAINDER argument

2018-12-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +bethard stage: -> test needed versions: +Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker ___

[issue25638] Verify the etree_parse and etree_iterparse benchmarks are working appropriately

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10409 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-14 Thread Marcin
Marcin added the comment: Actually the documentation hasn't been regenerated yet. I hope it will over night? -- ___ Python tracker ___

[issue35504] `del OSError().characters_written` raises `SystemError`

2018-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list

[issue35488] pathlib Path.match does not behave as described

2018-12-14 Thread anthony shaw
anthony shaw added the comment: Raised a PR for the test. Will look into doc PR -- ___ Python tracker ___ ___ Python-bugs-list

[issue35441] Dead (and buggy) code due to mishandling of PyList_SetItem() errors

2018-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Needed to backport it to 2.7. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32810] Expose ags_gen and agt_gen in asynchronous generators

2018-12-14 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10403 stage: -> patch review ___ Python tracker ___ ___

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-14 Thread Brett Cannon
Brett Cannon added the comment: New changeset d5176fe2bcd35dc8d70d13220b58fa7ccd05b47a by Brett Cannon (Miss Islington (bot)) in branch '3.7': bpo-35450: reflect in docs that venv module is not always creating a copy of the Python binary (GH-11144) (GH-11167)

[issue35453] pathlib.Path: glob and rglob should accept PathLike patterns

2018-12-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed type: -> enhancement versions: +Python 3.8 -Python 3.7 ___ Python tracker ___

[issue35472] python 3.7.2 rc1 bumped the build requirements for no reason

2018-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should we add '(subject to change in any release)' after # Require Sphinx 1.7 for build. Matthias, I presume you are on some Linux. Would a script to temporarily change conf.py to build the docs work for you? To be reasonably sure that 1.6.6 is sufficient

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10407 stage: -> patch review ___ Python tracker ___ ___

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The problem was with detecting a reference cycle containing a TreeBuilder. -- nosy: +eli.bendersky, scoder versions: +Python 3.8 ___ Python tracker

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10408 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35488] pathlib Path.match does not behave as described

2018-12-14 Thread anthony shaw
Change by anthony shaw : -- keywords: +patch pull_requests: +10410 stage: -> patch review ___ Python tracker ___ ___

[issue35441] Dead (and buggy) code due to mishandling of PyList_SetItem() errors

2018-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can this be closed? -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35499] "make profile-opt" overrides CFLAGS_NODIST

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: I also tested CFLAGS, just in case. Current behavior: $ git clean -fdx $ ./configure --with-pydebug $ make profile-opt CFLAGS="-O1" (...) gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall -O1 -std=c99 -Wextra -Wno-unused-result

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-14 Thread miss-islington
miss-islington added the comment: New changeset f5107dfd42121ef40b13eb678705802f0ff02cf9 by Miss Islington (bot) (mkkot) in branch 'master': bpo-35450: reflect in docs that venv module is not always creating a … (GH-11144)

[issue35503] os.path.islink() works with cygwin installation but not python.org

2018-12-14 Thread pmpp
pmpp added the comment: afaik only cygwin and msys2 python flavours can handle *various* links and junctions. ( usefull tool http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html ) and testing symlinks is may be disabled in MSVCRT paths

[issue35480] argparse: add a full fledged parser as a subparser

2018-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume you mean to close this. -- nosy: +terry.reedy stage: -> resolved status: open -> closed ___ Python tracker ___

[issue35504] `del OSError().characters_written` raises `SystemError`

2018-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10412 stage: -> patch review ___ Python tracker ___ ___

[issue35208] IDLE: Squeezed lines count ignores window width

2018-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: My suggest simple rule would sqeeze it. With n = 50 and k = 75, if len(s) > n*k or s.count('\n') > n: squeeze(s) would squeeze at 3750. With k = 50, as 2500. I am not sure yet what to do about wrapping. For development, a count of actual lines might be

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +10404 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Close this? -- nosy: +terry.reedy versions: -Python 3.5 ___ Python tracker ___ ___

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list

[issue35486] subprocess module import hooks breaks back compatibility

2018-12-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +brett.cannon, eric.snow, ncoghlan stage: -> test needed title: subprocess module breaks backwards compatibility with import hooks -> subprocess module import hooks breaks back compatibility type: -> behavior

[issue35492] Missing colon on func statement in library/sys doc

2018-12-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35504] `del OSError().characters_written` raises `SystemError`

2018-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 11172 makes deleting characters_written to be as for other non-special attributes. Deleting it will be successful only if it was set before, and will raise an AttributeError otherwise. >>> e = OSError() >>> e.characters_written = 1 >>> del

[issue35257] Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10406 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35479] multiprocessing.Pool.join() always takes at least 100 ms

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: _worker_handler has two issues: * It polls the worker status every status every 100 ms: I created bpo-35493 to investigate how to avoid that * After close() or terminate() has been called, it loops until self._cache is empty. I would like to use

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2018-12-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Using asyncio internally would be an interesting long-term goal, at least for the process pool version. Perhaps a first step is to find out how to await a multiprocessing Connection or Queue, or make async versions of these classes. --

[issue2661] Mapping tests cannot be passed by user implementations

2018-12-14 Thread Walter Dörwald
Walter Dörwald added the comment: OK, I've created the pull request (11157). -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35346] Modernize Lib/platform.py code

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: I close the issue. I made that changes that I wanted :-) Serhiy: reopen the issue or open a new one if you want to remove the try/except ImportError around "import plistlib". -- dependencies: -Problems with handling the file command output in

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: -b option added by: https://hg.python.org/cpython/rev/c73b90b6dadd and removed the day after by: https://hg.python.org/cpython/rev/b94a9ff13199 -- ___ Python tracker

[issue35471] Remove macpath module

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35494] Inaccurate error message for f-string

2018-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I can take this issue if you do not mind. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: > How do you use SIGCHLD on Windows? I'm only proposing to use a signal when it's available, on UNIX. So have multiple implementations of the function, depending on the ability to get notified on completion without polling. On Windows, maybe we could use a

[issue35491] multiprocessing: enhance repr() to ease debugging

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2018-12-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I have to investigate how Process.sentinel can be used here. Look how concurrent.futures uses it: https://github.com/python/cpython/blob/master/Lib/concurrent/futures/process.py#L348 This also means: 1) we could redirect people to ProcessPoolExecutor

[issue35412] test_future4 ran no test

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10394 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: > I agreed with Serhiy. I also found the function decode the output with > latin-1, I think it will be better to use utf-8 instead. Decoding from UTF-8 can fail with UnicodeDecodeError, whereas decoding from latin-1 never fails. file output is ASCII, so I

[issue35424] multiprocessing.Pool: emit ResourceWarning

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: See this discussion: [Python-Dev] Usage of the multiprocessing API and object lifetime https://mail.python.org/pipermail/python-dev/2018-December/155946.html -- ___ Python tracker

[issue35412] test_future4 ran no test

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 34b7c438b8dc0a1e7e23c9b2d7ce7f8a7c31b4f4 by Victor Stinner in branch '2.7': bpo-34279: regrtest consider that skipped tests are ran (GH-11132) (GH-11158) https://github.com/python/cpython/commit/34b7c438b8dc0a1e7e23c9b2d7ce7f8a7c31b4f4

[issue34279] RFC: issue a warning in regrtest when no tests have been executed?

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 34b7c438b8dc0a1e7e23c9b2d7ce7f8a7c31b4f4 by Victor Stinner in branch '2.7': bpo-34279: regrtest consider that skipped tests are ran (GH-11132) (GH-11158) https://github.com/python/cpython/commit/34b7c438b8dc0a1e7e23c9b2d7ce7f8a7c31b4f4

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I tested that the "-b" option is supported on Linux, *BSD and OpenIndiana. But it is not a part of POSIX. So perhaps we should fall back to "file" without "-b" if "file -b" failed. We can also check that the output starts with executable+': ' and strip

[issue35494] Inaccurate error message for f-string

2018-12-14 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: -> eric.smith nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: > We can also check that the output starts with executable+': ' and strip this > prefix. Technically, on UNIX, ':' is valid in a filename. Filename examples which contain ':' on my Fedora 29: /usr/share/man/man3/List::Util.3pm.gz

[issue35412] test_future4 ran no test

2018-12-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +10387 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34279] RFC: issue a warning in regrtest when no tests have been executed?

2018-12-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +10386 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35412] test_future4 ran no test

2018-12-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +10389 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2661] Mapping tests cannot be passed by user implementations

2018-12-14 Thread Walter Dörwald
Change by Walter Dörwald : -- pull_requests: +10390 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue35412] test_future4 ran no test

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3a8f4fef4a4dd0e4a800545468eef9542e126181 by Victor Stinner in branch 'master': bpo-34279: regrtest consider that skipped tests are ran (GH-11132) https://github.com/python/cpython/commit/3a8f4fef4a4dd0e4a800545468eef9542e126181 --

[issue34279] RFC: issue a warning in regrtest when no tests have been executed?

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3a8f4fef4a4dd0e4a800545468eef9542e126181 by Victor Stinner in branch 'master': bpo-34279: regrtest consider that skipped tests are ran (GH-11132) https://github.com/python/cpython/commit/3a8f4fef4a4dd0e4a800545468eef9542e126181 --

[issue34279] RFC: issue a warning in regrtest when no tests have been executed?

2018-12-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +10388 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34279] RFC: issue a warning in regrtest when no tests have been executed?

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10393 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35346] Modernize Lib/platform.py code

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4aa917c5feaec07a6f6db87b34185ab6180e20ee by Victor Stinner in branch 'master': bpo-35346: Cleanup platform.architecture() (GH-11130) https://github.com/python/cpython/commit/4aa917c5feaec07a6f6db87b34185ab6180e20ee --

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: I removed the dependency between bpo-35346 and this issue. I don't see how they are related. -- ___ Python tracker ___

[issue35412] test_future4 ran no test

2018-12-14 Thread miss-islington
miss-islington added the comment: New changeset 5f252e1ebc098fff7f88fbf89d203b1dd15fe7fa by Miss Islington (bot) in branch '3.7': bpo-34279: regrtest consider that skipped tests are ran (GH-11132) https://github.com/python/cpython/commit/5f252e1ebc098fff7f88fbf89d203b1dd15fe7fa --

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-14 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +10395 stage: -> patch review ___ Python tracker ___ ___

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: In 2.7 branch, _syscmd_file() only used -b option during one day (no Python 2.7.x release used -b): * Oct 4, 2012: commit 95038fa526c8b93e42c59b0735edf1c80b7b6449 added -b: "Closes #16112: platform.architecture does not correctly escape argument to

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: A convervative approach would be to leave stable branches unchanged and use -b in the master branch. -- ___ Python tracker ___

[issue35491] multiprocessing: enhance repr() to ease debugging

2018-12-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7acd50ad8b2a4fe132f7b26980ed3cd209b7ea12 by Victor Stinner in branch 'master': bpo-35491: Enhance multiprocessing.BaseProcess.__repr__() (GH-11138) https://github.com/python/cpython/commit/7acd50ad8b2a4fe132f7b26980ed3cd209b7ea12 --

[issue34279] RFC: issue a warning in regrtest when no tests have been executed?

2018-12-14 Thread miss-islington
miss-islington added the comment: New changeset 5f252e1ebc098fff7f88fbf89d203b1dd15fe7fa by Miss Islington (bot) in branch '3.7': bpo-34279: regrtest consider that skipped tests are ran (GH-11132) https://github.com/python/cpython/commit/5f252e1ebc098fff7f88fbf89d203b1dd15fe7fa --

  1   2   >