[issue32308] Replace empty matches adjacent to a previous non-empty match in re.sub()

2020-01-20 Thread David Barnett
David Barnett added the comment: We were also bitten by this behavior change in https://github.com/google/vroom/issues/110. I'm kinda baffled by the new behavior and assumed it had to be an accidental regression, but I guess not. If you have any other context on the BDFL conversation and

[issue39403] Objects equal (assertEqual return True) but behave differently

2020-01-20 Thread Zachary Ware
Zachary Ware added the comment: For `list1`, you are creating three separate lists containing `0` contained by a fourth list. For `list2`, you're creating a single list containing `0` contained by a second list, and then replicating the contents of that second list three times; thus

[issue39377] json.loads encoding parameter deprecation removal in Python 3.9

2020-01-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please update the documentation which still mentions the encoding parameter. -- ___ Python tracker ___

[issue29258] __init__.py required for pkgutil.walk_packages in python3

2020-01-20 Thread Inada Naoki
Inada Naoki added the comment: > PEP420 makes __init__.py files optional This is almost wrong. PEP 420 added a new way for "namespace pacakge." PEP 420 doesn't make empty __init__.py file in regular package. (See https://dev.to/methane/don-t-omit-init-py-3hga) Then, should

[issue39365] Support (SEEK_END/SEEK_CUR) relative seeking in StringIO

2020-01-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue25190. -- components: +Library (Lib) nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Define StringIO seek offset as code point offset type: behavior ->

[issue39396] AIX: math.nextafter(a, b) breaks AIX bot

2020-01-20 Thread Michael Felt
New submission from Michael Felt : As issue39288 (that introduces this breakage) is closed, opening a new issue. Back from away - and only starting my investigation - and that will probably be slow. Have not done anything with IEEE754 in over 30 years. -- messages: 360312 nosy:

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Looks reasonable. gzip should write b'\002' for compresslevel == _COMPRESS_LEVEL_BEST, b'\004' for compresslevel == _COMPRESS_LEVEL_FAST, and b'\000' otherwise. Do you mind to create a PR William. -- keywords: +easy nosy: +serhiy.storchaka stage:

[issue39395] The os module should unset() environment variable at exit

2020-01-20 Thread STINNER Victor
New submission from STINNER Victor : os.environ[key] = value has to keep internally the string "key=value\0" after putenv("key=value\0") has been called, since the glibc doesn't copy the string. Python has to manage the string memory. Internally, the posix module uses a

[issue29258] __init__.py required for pkgutil.walk_packages in python3

2020-01-20 Thread Inada Naoki
Change by Inada Naoki : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python resolution: rejected -> stage: resolved -> needs patch status: closed -> open versions: +Python 3.8, Python 3.9 -Python 3.5, Python 3.6

[issue39396] AIX: math.nextafter(a, b) breaks AIX bot

2020-01-20 Thread STINNER Victor
STINNER Victor added the comment: > AIX: math.nextafter(a, b) breaks AIX bot Please elaborate. What is the error? -- nosy: +vstinner ___ Python tracker ___

[issue39396] AIX: math.nextafter(a, b) breaks AIX bot

2020-01-20 Thread Michael Felt
Michael Felt added the comment: As I said, was investigating. a) is a bug in most AIX system libraries. b) there is a fix, but not one I can install - as my bots and build systems run on AIX 6.1 and AIX 7.1 c) the fix is APAR IV95512 which includes fixes in the following filesets: IV95512

[issue39293] Windows 10 64-bit needs reboot after install

2020-01-20 Thread Alberto N Leilani Campos
Change by Alberto N Leilani Campos : Added file: https://bugs.python.org/file48854/windows-ssh-tools.snapshot.json ___ Python tracker ___

[issue39393] Misleading error message upon dependent DLL resolution failure

2020-01-20 Thread plimkilde
New submission from plimkilde : Under Windows with Python 3.8+, trying to load a DLL whose dependencies cannot be resolved may produce a misleading error message. For example, if we are trying to load a library foo.dll that depends on bar.dll, and bar.dll cannot be resolved while foo.dll

[issue29258] __init__.py required for pkgutil.walk_packages in python3

2020-01-20 Thread Eric Wieser
Eric Wieser added the comment: If the resolution here is that this is behaving as intended (which personally I disagree with), I think this issue should remain open as a documentation task - the docs should clearly state that this does not apply to PEP420 namespace packages. --

[issue39394] DeprecationWarning for `flag not at the start of expression` is cutoff too early

2020-01-20 Thread Jürgen Gmach
New submission from Jürgen Gmach : The usage of flags not at the start of an expression is deprecated. Also see "Deprecate the use of flags not at the start of regular expression" / https://bugs.python.org/issue22493 A deprecation warning is issued, but is cutoff at 20 characters. For

[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

2020-01-20 Thread STINNER Victor
STINNER Victor added the comment: Ah, I saw an error on POWER6 AIX 3.x ("POWER6 (aka ppc64-be) using (GCC) 4.7.4"): https://buildbot.python.org/all/#/builders/119/builds/175 The following test fails: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) Well, C code specific to

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-20 Thread William Chargin
Change by William Chargin : -- keywords: +patch pull_requests: +17470 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18077 ___ Python tracker

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-20 Thread William Chargin
William Chargin added the comment: PR URL, for reference: -- ___ Python tracker ___

[issue39394] re: DeprecationWarning for `flag not at the start of expression` is cutoff too early

2020-01-20 Thread STINNER Victor
Change by STINNER Victor : -- title: DeprecationWarning for `flag not at the start of expression` is cutoff too early -> re: DeprecationWarning for `flag not at the start of expression` is cutoff too early ___ Python tracker

[issue39395] The os module should unset() environment variable at exit

2020-01-20 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17471 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18078 ___ Python tracker ___

[issue35381] posixmodule: convert statically allocated types (DirEntryType & ScandirIteratorType) to heap-allocated types

2020-01-20 Thread STINNER Victor
STINNER Victor added the comment: This issue introduced a regression: bpo-39395 "The os module should unset() environment variable at exit". -- ___ Python tracker ___

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-20 Thread William Chargin
William Chargin added the comment: Sure, PR sent (pull_request17470). -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-20 Thread Manuel Barkhau
Manuel Barkhau added the comment: > This looks like a backward incompatible change in 3.8. Indeed. > Should not copytree convert arguments of the ignore callback to str and list > correspondingly? Well, since any existing code probably expects that behavior (or at least probably works if

[issue36892] "Modules" section in Tutorial contains incorrect description about __init__.py

2020-01-20 Thread Inada Naoki
Inada Naoki added the comment: I think it is just a noise for the tutorial readers. I created a post about misunderstanding of PEP 420. https://dev.to/methane/don-t-omit-init-py-3hga How about adding note in top of the PEP 420 instead? .. note:: Namespace packages are not regular

[issue39394] DeprecationWarning for `flag not at the start of expression` is cutoff too early

2020-01-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why do you want to output the full regular expression? Is not source file path, line number, and starting 20 characters not enough to identify the affected regular expression? -- nosy: +serhiy.storchaka ___

[issue29258] __init__.py required for pkgutil.walk_packages in python3

2020-01-20 Thread Inada Naoki
Inada Naoki added the comment: I am totally agree with Wolfgang: > they make it impossible to know whether a directory found on the filesystem > is *intended* as a Python package or not. I think we shouldn't treat normal directory as namespace package until some portion in the directory is

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This looks like a backward incompatible change in 3.8. Should not copytree convert arguments of the ignore callback to str and list correspondingly? -- nosy: +serhiy.storchaka ___ Python tracker

[issue39082] AsyncMock is unable to correctly patch static or class methods

2020-01-20 Thread Matt Kokotovich
Change by Matt Kokotovich : -- nosy: +mkokotovich ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39400] pydoc: Use of MANPAGER variable is incorrect

2020-01-20 Thread Ronan Pigott
New submission from Ronan Pigott : pydoc references the value of both MANPAGER and PAGER variables when selecting a command to present the user with documentation. Those values are passed directly to subprocess.Popen. However, MANPAGER may contain arguments that need splitting, and is

[issue18819] tarfile fills devmajor and devminor fields even for non-devices

2020-01-20 Thread William Chargin
William Chargin added the comment: I've just independently run into this and sent a patch as a pull request. Happily, once this is fixed, the output of `tarfile` is bit-for-bit compatible with the output of GNU `tar(1)`. PR: -- nosy:

[issue18819] tarfile fills devmajor and devminor fields even for non-devices

2020-01-20 Thread William Chargin
Change by William Chargin : -- versions: +Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue39399] Cross compilation using different libc is broken

2020-01-20 Thread Andrew Aladjev
New submission from Andrew Aladjev : Hello. I am implementing python cross compilation using "x86_64-pc-linux-musl" toolchain: "x86_64-pc-linux-musl-emerge -v1 python:3.6". Please see the following build log https://gist.github.com/andrew-aladev/e10fa5a8151ffb3c5782edd64ae08b28. We can see

[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

2020-01-20 Thread STINNER Victor
STINNER Victor added the comment: Checking how Python is linked or checking the libm version sounds overkill to me. "if (x == y)" test is really cheap: I don't expect nextafter() to be used in performance critical code path anyway. That's why I even consider to add this code path on all

[issue39397] Mac : fail to launch Python 3.8

2020-01-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___

[issue39293] Windows 10 64-bit needs reboot after install

2020-01-20 Thread Zachary Ware
Change by Zachary Ware : Removed file: https://bugs.python.org/file48854/windows-ssh-tools.snapshot.json ___ Python tracker ___ ___

[issue30951] Documentation error in inspect module

2020-01-20 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.8, Python 3.9 -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___

[issue35003] Provide an option to venv to put files in a bin/ directory on Windows

2020-01-20 Thread Erik Aronesty
Erik Aronesty added the comment: the single Scripts/activate tool should be simply copied to bin/activate ... this is what you have to do to write a bash script for python now: source bin/activate || source Scripts/activate we should not assume that all windows users use things like CMD and

[issue18819] tarfile fills devmajor and devminor fields even for non-devices

2020-01-20 Thread William Chargin
Change by William Chargin : -- pull_requests: +17472 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18080 ___ Python tracker ___

[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

2020-01-20 Thread Mark Dickinson
Mark Dickinson added the comment: > Mark: what's your call on that one? I don't know. It's a hard problem in general: where do we draw the line between simply wrapping the platform libm, bugs and all, on one hand and trying to abstract away platform differences and make guarantees about

[issue39386] Prevent double awaiting of async iterator

2020-01-20 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +17473 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18081 ___ Python tracker

[issue39384] Email parser creates a message object that can't be flattened as bytes.

2020-01-20 Thread Mark Sapiro
Mark Sapiro added the comment: This came about because of an actual situation in a Mailman 3 installation. I can't say for sure what the actual original message looked like, but it was received by Mailman's LMTP server and parsed with email.message_from_bytes(), so it clearly wasn't exactly

[issue39386] Prevent double awaiting of async iterator

2020-01-20 Thread Andrew Svetlov
Change by Andrew Svetlov : -- title: getting invalid data from async iterator -> Prevent double awaiting of async iterator versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue39386] getting invalid data from async iterator

2020-01-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks for the report. Your example could be boiled down to the following: coro = asynciter() await coro await coro The second call incorrectly returns None but should raise an exception, double awaiting is a programming error. For regular async functions

[issue39379] sys.path[0] is already absolute path

2020-01-20 Thread Brett Cannon
Brett Cannon added the comment: Is sys.path[0] always absolute, or is it just a side-effect of the site module (i.e. is it absolute even with -S)? -- nosy: +brett.cannon ___ Python tracker

[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

2020-01-20 Thread Mark Dickinson
Mark Dickinson added the comment: BTW, stupid question: why is `test_nextafter` in `test.test_math.IsCloseTests` and `test.test_cmath.IsCloseTests`? The first seems inappropriate; the second even more so. -- ___ Python tracker

[issue39397] Mac : fail to launch Python 3.8

2020-01-20 Thread Inada Naoki
Inada Naoki added the comment: Try `locale` command. What is shown? -- nosy: +inada.naoki ___ Python tracker ___ ___

[issue32308] Replace empty matches adjacent to a previous non-empty match in re.sub()

2020-01-20 Thread Anders Hovmöller
Anders Hovmöller added the comment: We were also bitten by this. In fact we still run a compatibility shim in production where we log if the new and old behavior are different. We also didn't think this "bug fix" made sense or was treated with the appropriate gravity in the release notes.

[issue39393] Misleading error message upon dependent DLL resolution failure

2020-01-20 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +17483 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18093 ___ Python tracker

[issue39404] Pexpect : setwinsize() not working in SLES 12.4 kernel 4.12.14-94.41-default

2020-01-20 Thread Archana Pandey
New submission from Archana Pandey : use of setwinsize function returns empty if the values of rows and cols differes from(24,80). Issue occurs only on SLES 12.4. sample code: #!/usr/bin/env python from pexpect import pxssh try: s = pxssh.pxssh() hostname = 'someIp' username =

[issue39402] Consistent use of terms

2020-01-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think we would ever consider replacing "parentheses" with "round brackets". Also, we have long talked about "curly braces" though the braces/brackets choice is a little loose. Also note that greater-than or less-than have established usage (see

[issue39404] Pexpect : setwinsize() not working in SLES 12.4 kernel 4.12.14-94.41-default

2020-01-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The tracker is for issues related to CPython. Can you please add a reproducer without pexpect or other dependencies explaining the issue with Python? https://github.com/pexpect/pexpect/issues is the issue tracker for pexpect. -- nosy:

[issue39405] Using relative path as a --prefix during configure.

2020-01-20 Thread Sankar
New submission from Sankar : Is it possible to provide the relative path as a --prefix during configure? I want to compile a python as a distributive package, so using an absolute path won't help. It should have a relative path like "../../Python". The compiled python needs to have a

[issue39397] Mac : fail to launch Python 3.8

2020-01-20 Thread STINNER Victor
STINNER Victor added the comment: Can you try to dump your environment variables? Try maybe the "env" command. At least, I would need: LC_ALL, LC_CTYPE and LANG. -- ___ Python tracker

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: After updating the patch, I noticed that deletion of self.context_use_ps1 from the editor call to y.find_good_parse_start was no longer part of the diff. This is because 3.8 changeset 6bdc4dee01788599808c7858e2fe9fdd72cf6792 for #35610 (backported only to

[issue39405] Using relative path as a --prefix during configure.

2020-01-20 Thread Sankar
Change by Sankar : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39384] Email parser creates a message object that can't be flattened as bytes.

2020-01-20 Thread R. David Murray
R. David Murray added the comment: Since you parsed it as a string it is not really legitimate to serialize it as bytes. (That will work if the input message only contains ascii, but not if it contains unicode). You'll get the same error if you replace the garbage with the "’". Using

[issue37096] Add large-file tests for modules using sendfile(2)

2020-01-20 Thread STINNER Victor
STINNER Victor added the comment: Right now, "AMD64 Fedora Rawhide Clang 3.x" worker is broken: "C compiler cannot create executables" https://bugs.python.org/issue39398 -- ___ Python tracker

[issue39394] re: DeprecationWarning for `flag not at the start of expression` is cutoff too early

2020-01-20 Thread Jürgen Gmach
Jürgen Gmach added the comment: > Why do you want to output the full regular expression? The current output gives no clue about which flag is problematic, nor does it show the complete output (which at least would include the problematic flag), nor does it show the exact line, as it refers

[issue39309] Please delete my account

2020-01-20 Thread R. David Murray
R. David Murray added the comment: AFAIR it can only be done using the roundup command line on the server. -- nosy: +ezio.melotti ___ Python tracker ___

[issue39397] Mac : fail to launch Python 3.8

2020-01-20 Thread Sebastien Foo
New submission from Sebastien Foo : Hello, I am facing an issue with python on mac and there is not much information that I can find to fix it. When I installed the latest cli for Azure (brew upgrade azure-cli) it installed python 3.8 And then the az cli failed and running the python 3.8

[issue39393] Misleading error message upon dependent DLL resolution failure

2020-01-20 Thread Eryk Sun
Eryk Sun added the comment: That clarification seems okay to me. The error message is in load_library in Modules/_ctypes/callproc.c. The underlying problem is that the directory of the DLL is only added to the search path (in CDLL.__init__ in Lib/ctypes/__init__.py) if the caller uses a

[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

2020-01-20 Thread Michael Felt
Michael Felt added the comment: A hard call to make, imho. Thinking aloud... Currently, for AIX 6.1 and AIX 7.1 your proposal for the code change would be great, but less so for AIX 7.2. However! Since libm (on AIX) is a static library - the behavior depends on the support libm has on the

[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

2020-01-20 Thread Michael Felt
Michael Felt added the comment: FYI: On AIX 5.3, after your proposal I get: == FAIL: test_specific_values (test.test_cmath.CMathTests) -- Traceback (most

[issue39397] Mac : fail to launch Python 3.8

2020-01-20 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39398] AMD64 Fedora Rawhide Clang 3.x: C compiler cannot create executables

2020-01-20 Thread STINNER Victor
New submission from STINNER Victor : "AMD64 Fedora Rawhide Clang 3.x" buildbot worker is currently broken: https://buildbot.python.org/all/#/builders/169/builds/168 clang cannot build (statically linked) binary using UBSan: $ ./configure --prefix '$(PWD)/target' CC=clang LD=clang

[issue39383] Mention Darwin as a potential value for platform.system()

2020-01-20 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> versions: +Python 3.7, Python 3.8 ___ Python tracker

[issue35003] Provide an option to venv to put files in a bin/ directory on Windows

2020-01-20 Thread Erik Aronesty
Erik Aronesty added the comment: See https://github.com/python/cpython/pull/18083 for an example of a 'simple copy' for shell script compatibility ... rather than trying to make Scripts move around (which it can't trivially). -- ___ Python

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-20 Thread William Woodruff
Change by William Woodruff : -- keywords: +patch pull_requests: +17482 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18090 ___ Python tracker

[issue39402] Consistent use of terms

2020-01-20 Thread Raymond Leiter
New submission from Raymond Leiter : This is my idea of an improvement to the documentation, but I doubt anyone would agree with me. Nevertheless, here it is: There are at least 4 commonly used characters used to group other constructs to clearly call attention to their meaning. 1. []

[issue39383] Mention Darwin as a potential value for platform.system()

2020-01-20 Thread Brett Cannon
Change by Brett Cannon : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39381] Fix get_event_loop documentation

2020-01-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +17476 pull_request: https://github.com/python/cpython/pull/18084 ___ Python tracker ___

[issue39381] Fix get_event_loop documentation

2020-01-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +17477 pull_request: https://github.com/python/cpython/pull/18085 ___ Python tracker ___

[issue39386] Prevent double awaiting of async iterator

2020-01-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset a96e06db77dcbd3433d39761ddb4615d7d96284a by Andrew Svetlov in branch 'master': bpo-39386: Prevent double awaiting of async iterator (GH-18081) https://github.com/python/cpython/commit/a96e06db77dcbd3433d39761ddb4615d7d96284a --

[issue39383] Mention Darwin as a potential value for platform.system()

2020-01-20 Thread Ned Deily
Ned Deily added the comment: New changeset 8d57a4182f0aa68e16d66dea31ba59e732612b4f by Ned Deily (Peter Bittner) in branch 'master': bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054)

[issue39383] Mention Darwin as a potential value for platform.system()

2020-01-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +17481 pull_request: https://github.com/python/cpython/pull/18089 ___ Python tracker ___

[issue39383] Mention Darwin as a potential value for platform.system()

2020-01-20 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +17480 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18088 ___ Python tracker ___

[issue39401] Unsafe dll loading in getpathp.c on Win7

2020-01-20 Thread Anthony Wee
New submission from Anthony Wee : On Win7, running Python in the terminal will attempt to load the "api-ms-win-core-path-l1-1-0.dll" from various paths outside of the Python directory and the C:\Windows\System32 directories. This behavior can be verified using Process Monitor (see

[issue39403] Objects equal (assertEqual return True) but behave differently

2020-01-20 Thread wh1te r4bb1t
New submission from wh1te r4bb1t : Here is a code highlighting a very strange behavior. This has been noticed in python 3.7, 3.8 and 3.9.0a2 def function(input_list, a='x'): [input_list[i].append(a) for i in range(len(input_list))] return input_list list1 = [[0], [0], [0]] list2 =

[issue39403] Objects equal (assertEqual return True) but behave differently

2020-01-20 Thread wh1te r4bb1t
Change by wh1te r4bb1t : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39403] Objects equal (assertEqual return True) but behave differently

2020-01-20 Thread wh1te r4bb1t
Change by wh1te r4bb1t : -- versions: +Python 3.9 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35003] Provide an option to venv to put files in a bin/ directory on Windows

2020-01-20 Thread Erik Aronesty
Change by Erik Aronesty : -- pull_requests: +17474 pull_request: https://github.com/python/cpython/pull/18083 ___ Python tracker ___

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2020-01-20 Thread Nick Coghlan
Change by Nick Coghlan : -- pull_requests: +17475 pull_request: https://github.com/python/cpython/pull/18052 ___ Python tracker ___

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2020-01-20 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 1e420f849d0c094098543d2c27d35eaec69b2784 by Nick Coghlan in branch 'master': bpo-35134: Migrate frameobject.h contents to cpython/frameobject.h (GH-18052) https://github.com/python/cpython/commit/1e420f849d0c094098543d2c27d35eaec69b2784

[issue39386] Prevent double awaiting of async iterator

2020-01-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +17479 pull_request: https://github.com/python/cpython/pull/18087 ___ Python tracker ___

[issue39386] Prevent double awaiting of async iterator

2020-01-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +17478 pull_request: https://github.com/python/cpython/pull/18086 ___ Python tracker ___

[issue18819] tarfile fills devmajor and devminor fields even for non-devices

2020-01-20 Thread Ned Deily
Change by Ned Deily : -- nosy: +ethan.furman versions: -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue39399] Cross compilation using different libc is broken

2020-01-20 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. This appears to be a duplicate of languishing Issue22724. Suggest you join the discussion there. -- nosy: +ned.deily resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> byte-compile fails for

[issue39383] Mention Darwin as a potential value for platform.system()

2020-01-20 Thread miss-islington
miss-islington added the comment: New changeset 3da839046359644f286195f5126035e162440af1 by Miss Islington (bot) in branch '3.7': bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054) https://github.com/python/cpython/commit/3da839046359644f286195f5126035e162440af1

[issue39383] Mention Darwin as a potential value for platform.system()

2020-01-20 Thread miss-islington
miss-islington added the comment: New changeset c1964e09421e7ab61179eb4e2691e858a50d70e5 by Miss Islington (bot) in branch '3.8': bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054) https://github.com/python/cpython/commit/c1964e09421e7ab61179eb4e2691e858a50d70e5

[issue39386] Prevent double awaiting of async iterator

2020-01-20 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

2020-01-20 Thread Ned Deily
Change by Ned Deily : -- nosy: +gregorlingl, willingc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39381] Fix get_event_loop documentation

2020-01-20 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39386] Prevent double awaiting of async iterator

2020-01-20 Thread miss-islington
miss-islington added the comment: New changeset 5cadd3fe3aead1b5bee1438dc03383d6739d4209 by Miss Islington (bot) in branch '3.8': bpo-39386: Prevent double awaiting of async iterator (GH-18081) https://github.com/python/cpython/commit/5cadd3fe3aead1b5bee1438dc03383d6739d4209 --

[issue39386] Prevent double awaiting of async iterator

2020-01-20 Thread miss-islington
miss-islington added the comment: New changeset b76d5e9ee64b8ac861e856d8e41289c0977c75e1 by Miss Islington (bot) in branch '3.7': bpo-39386: Prevent double awaiting of async iterator (GH-18081) https://github.com/python/cpython/commit/b76d5e9ee64b8ac861e856d8e41289c0977c75e1 --

[issue39400] pydoc: Use of MANPAGER variable is incorrect

2020-01-20 Thread Ronan Pigott
Ronan Pigott added the comment: Actually my previous comment is incorrect, the value of the PAGER is split with the shell as a result of shell=True. There _is_ still an incompatibility with man. I have a value for MANPAGER set like 'env LESS_TERMCAP_mb=^[[01;31m ... less' which becomes

[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0

2020-01-20 Thread Ned Deily
Ned Deily added the comment: Matthew, this tracker issue has been closed for over 10 years; posting new questions or comments to such is unlikely to get a response (I just happened to see your comment in passing). If you believe you have identified a new issue with current versions of

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-20 Thread Ned Deily
Change by Ned Deily : -- keywords: +3.8regression -patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-20 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39401] Unsafe dll loading in getpathp.c on Win7

2020-01-20 Thread Eryk Sun
Eryk Sun added the comment: > On Win7, running Python in the terminal will attempt to load the > "api-ms-win-core-path-l1-1-0.dll" from various paths outside of the > Python directory and the C:\Windows\System32 directories. "api-ms-win-core-path-l1-1-0.dll" is not assigned in the API set