[issue42085] Add dedicated slot for sending values

2020-10-19 Thread Vladimir Matveev
New submission from Vladimir Matveev : https://bugs.python.org/issue41756 has introduced PyIter_Send as a common entrypoint for sending values however currently fast path that does not use StopIteration exception is only available for generators/coroutines. It would be quite nice if this mach

[issue42066] CookieJar cookies should not be sorted

2020-10-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-l

[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-19 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +21738 pull_request: https://github.com/python/cpython/pull/22779 ___ Python tracker ___ _

[issue42085] Add dedicated slot for sending values

2020-10-19 Thread Vladimir Matveev
Change by Vladimir Matveev : -- keywords: +patch pull_requests: +21739 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22780 ___ Python tracker ___

[issue42041] venv subprocess call to python resolves to wrong interpreter

2020-10-19 Thread Paul Moore
Paul Moore added the comment: I like that, I've updated the PR accordingly. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41746] Add optional type information to asdl_seq objects

2020-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Pablo, can this be closed now that PR3 is merged? Nop, we still need to fix the CHECK macros that do type erasure (they cast the result to void). -- ___ Python tracker

[issue26376] Tkinter root window won't close if packed.

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just reproduced this too with Airbook Mohave. When IDLE's Shell is running, it is linked to an execution subprocess that is initially invisible, unless and until the user creates a visible window. Tk() does this. On Windows, a tk Window icon appears whe

[issue2190] MozillaCookieJar ignore HttpOnly cookies

2020-10-19 Thread Daniel Lenski
Daniel Lenski added the comment: I've got a patch that will address both loading and saving of "HTTP-only" cookies: https://github.com/python/cpython/compare/master...dlenski:patch-1 Testing/feedback before I submit as a PR would be very welcome. -- versions: +Python 3.10, Python 3.7

[issue42086] AST: Document / re-design? the simple constructor nodes from sums

2020-10-19 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : Simple constructors (basically constructors with no fields) are currently 'cached' / pre-created and dispatched. What I mean by that is, when a user parses some code with `ast.parse()` and gets a tree object, all simple constructors with the same value wo

[issue39567] Add audit for os.walk(), os.fwalk(), Path.glob() and Path.rglob()

2020-10-19 Thread Saiyang Gou
Saiyang Gou added the comment: Should we backport this to 3.8? I believe that we should either backport this to 3.8 or document that these audit events are new in 3.9. -- nosy: +gousaiyang ___ Python tracker __

[issue41680] Turtles in Python 3.8.5 crashes OSX 10.14.6

2020-10-19 Thread Ned Deily
Ned Deily added the comment: > Could this be a duplicate of #37833? I suppose it's possible if not using a python.org Python. I'm not able to reproduce this with a current Python 3.9.0 on macOS 10.15.7. I'm going to close this for now. If someone is able to provide more information on how

[issue42087] Remove pre-AIX 6.1 dead code paths

2020-10-19 Thread Kevin
New submission from Kevin : Follow on to https://bugs.python.org/issue40680. In there, it was decided that since AIX 5 and below doesn't support thread_cputime, support for it would be dropped and the issue was closed without removing any of the dead code paths and references. -- com

[issue40680] thread_cputime isn't supported by AIX5

2020-10-19 Thread Kevin
Kevin added the comment: Ok, I've opened https://bugs.python.org/issue42087 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42087] Remove pre-AIX 6.1 dead code paths

2020-10-19 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24725] test_socket testFDPassEmpty fails on OS X 10.11+ with "Cannot allocate memory"

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The issue is still present with python 3.9 and macOS 10.15 as well as current macOS 11 betas. The following python scriptlet reproduces the issue: # --- import socket sd1, sd2 = socket.socketpair() sd1.sendmsg([b"hello"], [(socket.SOL_SOCKET, socket.SCM

[issue42088] types.SimpleNamespace.__repr__ documentation inconsistency

2020-10-19 Thread Ben Avrahami
New submission from Ben Avrahami : According to the documentation for types.SimpleNamespace, `repr(SimpleNamespace())` should return `"SimpleNamespace()"`, but in actuality returns `"namespace()"`. This is because SimpleNamespace is an alias for the C implemented type `_PyNamespaceObject`. In

[issue40423] Optimization: use close_range(2) if available

2020-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: thanks Kyle! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42037] Documentation confusion in CookieJar functions

2020-10-19 Thread Éric Araujo
Éric Araujo added the comment: Hello! I don’t see the problem that you are mentioning: the request methods removed from Request objects are not in the list of methods required by the CookieJar methods. -- nosy: +eric.araujo ___ Python tracker

[issue41754] Webbrowser Module Cannot Find xdg-settings on OSX

2020-10-19 Thread Ned Deily
Ned Deily added the comment: That does seem very odd but the issue clearly has been seen by multiple users. Since it shouldn't cause any negative effects, I'm in favor of just adding NotADirectoryError to the try/except list as suggested in the workaround and make the problem go away. -

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-10-19 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: gregory.p.smith -> stage: patch review -> ___ Python tracker ___ ___ Python-bugs-list ma

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: status: lib2to3 PendingDeprecationWarning shipped in 3.9. Since we don't have a specific release planned for the final deprecation, I'll leave this issue open while we figure that out. Once we do, we should promote this to a regular DeprecationWarning in

[issue41754] Webbrowser Module Cannot Find xdg-settings on OSX

2020-10-19 Thread Ned Deily
Change by Ned Deily : -- keywords: +newcomer friendly stage: -> needs patch type: crash -> behavior versions: -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ _

[issue34716] MagicMock.__divmod__ should return a pair

2020-10-19 Thread Zachary Ware
Change by Zachary Ware : -- versions: +Python 3.10 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list m

[issue42089] Better message in PackageNotFoundError

2020-10-19 Thread Jason R. Coombs
New submission from Jason R. Coombs : As reported in https://gitlab.com/python-devs/importlib_metadata/-/issues/124, it would be nice if the PackageNotFoundError gave some guidance to the user about the context of the error and how to investigate. -- assignee: jaraco components: Libra

[issue42089] Better message in PackageNotFoundError

2020-10-19 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- keywords: +patch nosy: +barry nosy_count: 1.0 -> 2.0 pull_requests: +21740 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22775 ___ Python tracker

[issue42090] zipfile.Path.joinpath API inconsistent with pathlib.Path.joinpath

2020-10-19 Thread conchylicultor
New submission from conchylicultor : The following code fail with zipfile.Path, but works with pathlib.Path: ``` path = path.joinpath().joinpath('other', 'other') ``` Zipfile: https://github.com/python/cpython/blob/95ad890a7b0341d8d2fde13f824bc24c65a8ece0/Lib/zipfile.py#L2363 ``` def joinpat

[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-19 Thread Steve Dower
Steve Dower added the comment: I did some bad things in git and so I had to recreate the PR against master, but the importlib.resources tests still fail. Seems like the ensurepip/venv tests are fine though? Did something change in pip/certifi between 20.2.1 and 20.2.3? I still consider the

[issue42091] strftime returns empty string for -d, -I 3.8.3

2020-10-19 Thread Pridhvi Myneni
New submission from Pridhvi Myneni : My system has python from MSYS2 integrated with my windows environment, so I can't test if Windows exhibits the same issue; however, this works perfectly in Ubuntu. The issue is %-d, %-I don't work as expected and instead cause the function call to return

[issue42089] Better message in PackageNotFoundError

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset 96ddc58281d2b6b2258b1a628bccf252090d5611 by Barry Warsaw in branch 'master': bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775) https://github.com/python/cpython/commit/96ddc58281d2b6b2258b1a628bccf252090d5611 ---

[issue42092] test_host_resolution_bad_address does not always fail as expected

2020-10-19 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : This is very likely caused by something janky my ISP (AT&T) is doing with IPv6, but the above named test fails for me because IPv6 addresses like `::1q` do not fail to resolve as the test expects. I'm not sure what can or should be done about it, but as t

[issue31818] [macOS] _scproxy.get_proxies() crash -- get_proxies() is not fork-safe?

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: My understanding is that this is specifically a problem with the Objective-C runtime that _scproxy.c accesses. The runtime is not thread safe and whereas in earlier versions of macOS, it silently failed, now macOS is explicitly aborting the process. -

[issue42091] strftime returns empty string for -d, -I 3.8.3

2020-10-19 Thread Eric V. Smith
Eric V. Smith added the comment: Can you tell us what the expected behavior is? >From the strftime docs: "The full set of format codes supported varies across >platforms, because Python calls the platform C library’s strftime() function, >and platform variations are common. To see the full se

[issue38320] Clarify unittest expectedFailure behaviour in the documentation

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset fa8748271a61177e9bf609921fa464cc6990478b by Irit Katriel in branch 'master': bpo-38320: Clarify that expectedFailure is satisfied by either failure or error of the test. (GH-22740) https://github.com/python/cpython/commit/fa8748271a61177e9bf609921

[issue38320] Clarify unittest expectedFailure behaviour in the documentation

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21741 pull_request: https://github.com/python/cpython/pull/22782 ___ Python tracker _

[issue38320] Clarify unittest expectedFailure behaviour in the documentation

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21742 pull_request: https://github.com/python/cpython/pull/22783 ___ Python tracker ___ __

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Unfortunately, fixing this won't make the builds work in previous versions, so it can't be backported. We also need to update the version check in the PR - I left a comment for it. -- nosy: +steve.dower versions: -Python 3.8, Python 3.9 __

[issue41784] Promote PyUnicode_AsUTF8AndSize to be available with the limited API (PEP 384)

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Agreed that there's no way we can make Py_buffer part of the limited ABI. I just looked over the PR and it's missing a What's New entry (e.g. https://docs.python.org/3/whatsnew/3.9.html#c-api-changes). Other than that, looks fine to me. -- nosy: +steve

[issue37461] email.parser.Parser hang

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thanks everyone for the fixes; I think this bug is now resolved. Closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue33972] AttributeError in email.message.iter_attachments()

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thank you all for the fix. Closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41746] Add optional type information to asdl_seq objects

2020-10-19 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +21743 pull_request: https://github.com/python/cpython/pull/22786 ___ Python tracker ___ __

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2020-10-19 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Work with item 7 is progressing; see WIP branch for details. Current showstopper is how to fetch module state from Connection.__init__ when it has been overloaded (for example in /Lib/sqlite3/test/factory.py). Guessing that Py_TYPE(self) does not ret

[issue39825] EXT_SUFFIX inconsistent between sysconfig and distutils.sysconfig (Windows)

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Agreed, this should be updated. 3.7 is out of scope, I'm afraid, but 3.8 onwards should be fine. -- versions: +Python 3.10 -Python 3.7 ___ Python tracker _

[issue41292] Dead link in Windows FAQ

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 33242a9328cb3912f02819d2d092bf89681000b2 by Michel Samia in branch 'master': bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463) https://github.com/python/cpython/commit/33242a9328cb3912f02819d2d092bf89681000b2 -- nosy: +s

[issue41292] Dead link in Windows FAQ

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21745 pull_request: https://github.com/python/cpython/pull/22789 ___ Python tracker ___ __

[issue41292] Dead link in Windows FAQ

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21744 pull_request: https://github.com/python/cpython/pull/22788 ___ Python tracker _

[issue41292] Dead link in Windows FAQ

2020-10-19 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ __

[issue38145] Fix short option 'd' in 'distutils' command 'bdist_dumb'

2020-10-19 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report and patch, but considering that distutils is mostly frozen and on its way out of the stdlib, also that bdist_dump is not a format that’s really suitable for anything (people use sdists and wheels), I am inclined to close this. Setuptools m

[issue16396] Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 5456e78f4593edc277ab72fb9a9db1ebae7d4c2d by Jason R. Coombs in branch 'master': bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394) https://github.com/python/cpython/commit/5456e78f4593edc277ab72fb9a9db1ebae7d4c2d

[issue16396] Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 11.0 -> 12.0 pull_requests: +21746 pull_request: https://github.com/python/cpython/pull/22790 ___ Python tracker ___

[issue16396] Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError

2020-10-19 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue16396] Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21747 pull_request: https://github.com/python/cpython/pull/22791 ___ Python tracker ___ __

[issue41217] Obsolete note for default asyncio event loop on Windows

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +21748 pull_request: https://github.com/python/cpython/pull/22792 ___ Python tracker _

[issue41217] Obsolete note for default asyncio event loop on Windows

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21749 pull_request: https://github.com/python/cpython/pull/22793 ___ Python tracker ___ __

[issue41217] Obsolete note for default asyncio event loop on Windows

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 4dfb190a33a1deac60306f15d52d2fe11fb93464 by Zackery Spytz in branch 'master': bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs (GH-21360) https://github.com/python/cpython/commit/4dfb190a33a1deac60306f15d52d2fe11fb93464

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2020-10-19 Thread Éric Araujo
Change by Éric Araujo : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue41217] Obsolete note for default asyncio event loop on Windows

2020-10-19 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue41292] Dead link in Windows FAQ

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset 4c8da3230a494dac3d7fd3b4396a60038b2be6de by Miss Skeleton (bot) in branch '3.8': bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463) https://github.com/python/cpython/commit/4c8da3230a494dac3d7fd3b4396a60038b2be6de --

[issue41784] Promote PyUnicode_AsUTF8AndSize to be available with the limited API (PEP 384)

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Thanks, Alex! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41784] Promote PyUnicode_AsUTF8AndSize to be available with the limited API (PEP 384)

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4 by Alex Gaynor in branch 'master': bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252) https://github.com/python/cpython/commit/3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4 -- _

[issue41217] Obsolete note for default asyncio event loop on Windows

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset dc785db64d55c3d7a69b10c303e6386e87cfd01b by Miss Skeleton (bot) in branch '3.8': bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs (GH-21360) https://github.com/python/cpython/commit/dc785db64d55c3d7a69b10c303e6386e87c

[issue41433] Logging libraries BufferingHandler flushed twice at shutdown

2020-10-19 Thread Irit Katriel
Irit Katriel added the comment: adamist521, is your issue resolved by now? Does calling flush() on super help? If not, can you please provide a script demonstrating the problem? -- ___ Python tracker __

[issue41292] Dead link in Windows FAQ

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset e67f186898b6731b8e8f3f6b07cb0959e9aa0ab6 by Miss Skeleton (bot) in branch '3.9': bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463) https://github.com/python/cpython/commit/e67f186898b6731b8e8f3f6b07cb0959e9aa0ab6 --

[issue34858] MappingProxy objects should JSON serialize just like a dictionary

2020-10-19 Thread Éric Araujo
Éric Araujo added the comment: See also #30343 -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue22577] local variable changes lost after pdb jump command

2020-10-19 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue26794] curframe can be None in pdb.py

2020-10-19 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue16396] Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset 6e998fad1c92aee9c8c23c5887a7023d76bdf6c2 by Miss Skeleton (bot) in branch '3.8': bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394) https://github.com/python/cpython/commit/6e998fad1c92aee9c8c23c5887a7023d76bdf6c2

[issue41217] Obsolete note for default asyncio event loop on Windows

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset b62ecc21b451d2b8e041f5367c7b563ac01bbdd8 by Miss Skeleton (bot) in branch '3.9': bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs (GH-21360) https://github.com/python/cpython/commit/b62ecc21b451d2b8e041f5367c7b563ac01

[issue30343] Subclassed json.JSONEncoder does not respect default method for supported types

2020-10-19 Thread Éric Araujo
Éric Araujo added the comment: See also https://bugs.python.org/issue34858 This needs a discussion on python-ideas or -dev. -- nosy: +eric.araujo ___ Python tracker ___ __

[issue16396] Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset 05d52a0ad69cbadd4b048f2a97991e4e58d4a922 by Miss Skeleton (bot) in branch '3.9': bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394) https://github.com/python/cpython/commit/05d52a0ad69cbadd4b048f2a97991e4e58d4a922

[issue40901] It's not clear what "interface name" means in socket if_nameindex/if_nametoindex/if_indextoname on Windows

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21751 pull_request: https://github.com/python/cpython/pull/22795 ___ Python tracker ___ __

[issue40901] It's not clear what "interface name" means in socket if_nameindex/if_nametoindex/if_indextoname on Windows

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset f85658a09878c658ae0e0590bfa30e4ce51c9a04 by Jakub Stasiak in branch 'master': bpo-40901: Describe what "interface name" means on Windows (GH-20694) https://github.com/python/cpython/commit/f85658a09878c658ae0e0590bfa30e4ce51c9a04 --

[issue40901] It's not clear what "interface name" means in socket if_nameindex/if_nametoindex/if_indextoname on Windows

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Very helpful contribution! Thank your -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40901] It's not clear what "interface name" means in socket if_nameindex/if_nametoindex/if_indextoname on Windows

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +21750 pull_request: https://github.com/python/cpython/pull/22794 ___ Python tracker _

[issue40901] It's not clear what "interface name" means in socket if_nameindex/if_nametoindex/if_indextoname on Windows

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset 609a38a36f3006ee00eccc18b25e3b2d577a3e56 by Miss Skeleton (bot) in branch '3.8': bpo-40901: Describe what "interface name" means on Windows (GH-20694) https://github.com/python/cpython/commit/609a38a36f3006ee00eccc18b25e3b2d577a3e56 --

[issue40901] It's not clear what "interface name" means in socket if_nameindex/if_nametoindex/if_indextoname on Windows

2020-10-19 Thread Jakub Stasiak
Jakub Stasiak added the comment: Cheers! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue27226] distutils: unable to compile both .opt-1.pyc and .opt2.pyc simultaneously

2020-10-19 Thread Éric Araujo
Éric Araujo added the comment: FWIW the behaviour in distutils was intended to be controlled by the setup.p options, but in fact also depended on the options of the python command itself (-O and dont-write-bytecode option/envvar). This was changed in distutils2 but judged too big to fix in d

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 1438c2ac773e87d1f9c97fc22f2346e16bf48773 by Zackery Spytz in branch 'master': bpo-41845: Move PyObject_GenericGetDict() back into the limited API (GH22646) https://github.com/python/cpython/commit/1438c2ac773e87d1f9c97fc22f2346e16bf48773

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue27321] Email parser creates a message object that can't be flattened

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset bf838227c35212709dc43b3c3c57f8e1655c1d24 by Mark Sapiro in branch 'master': bpo-27321 Fix email.generator.py to not replace a non-existent header. (GH-18074) https://github.com/python/cpython/commit/bf838227c35212709dc43b3c3c57f8e1655c1d24 --

[issue27321] Email parser creates a message object that can't be flattened

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21753 pull_request: https://github.com/python/cpython/pull/22797 ___ Python tracker ___ __

[issue27321] Email parser creates a message object that can't be flattened

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21752 pull_request: https://github.com/python/cpython/pull/22796 ___ Python tracker ___ __

[issue40901] It's not clear what "interface name" means in socket if_nameindex/if_nametoindex/if_indextoname on Windows

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset 9308173f880f3c0a6447da8335f3ae68edad3b0f by Miss Skeleton (bot) in branch '3.9': bpo-40901: Describe what "interface name" means on Windows (GH-20694) https://github.com/python/cpython/commit/9308173f880f3c0a6447da8335f3ae68edad3b0f --

[issue27321] Email parser creates a message object that can't be flattened

2020-10-19 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 -Python 3.7 ___ Python tracker __

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-10-19 Thread Steve Dower
Steve Dower added the comment: I just took a look at the PR and I think it's good, but if anyone else wants to have a look before I merge it (probably not today), please do. -- ___ Python tracker __

[issue27321] Email parser creates a message object that can't be flattened

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset 371146a3f8a989964e2a9c0efc7d776815410fac by Miss Skeleton (bot) in branch '3.8': bpo-27321 Fix email.generator.py to not replace a non-existent header. (GH-18074) https://github.com/python/cpython/commit/371146a3f8a989964e2a9c0efc7d776815410fac

[issue27321] Email parser creates a message object that can't be flattened

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset 72ce82abcf9051b18a05350936de7ecab7306662 by Miss Skeleton (bot) in branch '3.9': bpo-27321 Fix email.generator.py to not replace a non-existent header. (GH-18074) https://github.com/python/cpython/commit/72ce82abcf9051b18a05350936de7ecab7306662

[issue11414] Add import fix for email.Message

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thanks for the PR @iritkatriel but I'm inclined to close this as won't fix. There are plenty of other changes someone would need to migrate to Python 3 for the email package, so I think this is of limited benefit. -- resolution: -> wont fix stage:

[issue40484] Document existing compiler flags under ast

2020-10-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41586] Allow to set pipe size on subprocess.Popen.

2020-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 23c0fb8edd16fe6d796df2853a5369fd783e05b7 by Ruben Vorderman in branch 'master': bpo-41586: Add pipesize parameter to subprocess & F_GETPIPE_SZ and F_SETPIPE_SZ to fcntl. (GH-21921) https://github.com/python/cpython/commit/23c0fb8edd16fe6d796d

[issue41586] Allow to set pipe size on subprocess.Popen.

2020-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks Ruben! -- resolution: -> fixed stage: patch review -> commit review status: open -> closed type: -> enhancement ___ Python tracker ___

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2020-10-19 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- assignee: -> barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Updating the Python versions to the only active ones on which this bug could conceivably be fixed. I haven't validated that it's still a problem, and I haven't decided whether it's appropriate to backport to 3.9 and 3.8. I'll work on a patch and see how it

[issue36541] Make lib2to3 grammar better match Python, support the := walrus

2020-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: Parsing support for `f(**mapping)` support is indeed still missing. as lib2to3 is pending deprecation at this point, i'm not going to work on this. anyone is welcome to pick it up. modifying the lib2to3 grammar, and any related code, and adding a test is

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-10-19 Thread Eryk Sun
Eryk Sun added the comment: PR 20529 looks good to me. Thank you, Tiago. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue41988] No hyphen in broken up word in documentation

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I am seeing this in Brave (a Chrome derivative). Many examples in https://docs.python.org/3/library/email.html See the words "in\nterface" and "ob\nject' in the attached screenshot. -- nosy: +barry Added file: https://bugs.python.org/file49530/Scre

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: The other question is what to do about `EmailMessage` objects, which don't have a `set_charset()` method. For now, I'll ignore that. -- ___ Python tracker

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Actually, I think I am going to close this as won't fix, for two reasons. First, this only potentially affects the legacy API, and second, in Python 3, the error you get when you do it like the original repro example seems obvious to me. ``` >>> mp = MIMEM

[issue38324] [Windows] test__locale fails on Windows local machines

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue *is* a duplicate of #37945 with respect to test_locale. So I remove that from the title. It is not a duplicate with respect to test__locale, which fails for a very different reason. The other failures I mentioned are noise here (and now fixed).

[issue37945] [Windows] locale.getdefaultlocale() issues on Windows: test_locale.test_getsetlocale_issue1813()

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: test__locale (#38324) also passed CI and buildbots while failing locally. -- nosy: +terry.reedy stage: -> needs patch versions: +Python 3.10 ___ Python tracker

[issue2190] MozillaCookieJar ignores HttpOnly cookies

2020-10-19 Thread Daniel Lenski
Change by Daniel Lenski : -- title: MozillaCookieJar ignore HttpOnly cookies -> MozillaCookieJar ignores HttpOnly cookies ___ Python tracker ___ ___

<    1   2   3   >