[issue42518] Error Message

2020-11-30 Thread Eryk Sun
Change by Eryk Sun : -- components: -Windows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42518] Error Message

2020-11-30 Thread Eryk Sun
Change by Eryk Sun : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42518] Error Message

2020-11-30 Thread Eric V. Smith
Eric V. Smith added the comment: This appears to be similar to issue42488, which it looks like you also reported, with a different account. It's not clear to me why you expect the output to be False. But in any event, this is not a bug in Python. >>> 100 ^ 1000 908 Please do not create

[issue42518] Error Message

2020-11-30 Thread Kshitish
New submission from Kshitish : print (5 + 2 == 7 and 10 <= 1232 and 100 ^ 1000 >= 128) # Incorrect Output: True This argument should be false but it prints true. This is the logical error vulnerability. Try this code in another language too. You find out they print false because the

[issue34079] Multiprocessing module fails to build on Solaris 11.3

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

[issue34079] Multiprocessing module fails to build on Solaris 11.3

2020-11-30 Thread Clint Allen
Clint Allen added the comment: I don't see anything further needed with this issue. Closing it is fine with me. -- status: pending -> open ___ Python tracker ___

[issue9625] argparse: Problem with defaults for variable nargs when using choices

2020-11-30 Thread Borhan Hafez
Change by Borhan Hafez : -- nosy: +zumoshi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38200] Adding itertools.pairwise to the standard library?

2020-11-30 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38200] Adding itertools.pairwise to the standard library?

2020-11-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset cc061d0e6fb2569efa91531686f75b89e94ec865 by Raymond Hettinger in branch 'master': bpo-38200: Add itertools.pairwise() (GH-23549) https://github.com/python/cpython/commit/cc061d0e6fb2569efa91531686f75b89e94ec865 --

[issue41626] port shebang of tools from python2 to python3

2020-11-30 Thread hai shi
Change by hai shi : -- pull_requests: +22459 pull_request: https://github.com/python/cpython/pull/23581 ___ Python tracker ___ ___

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-11-30 Thread Ken Jin
Ken Jin added the comment: FWIW, current code for extracting args type and return type from Callable seems to be something like this (at least from the typing module): arg_types = __args__[:-1] return_type = __args__[-1] Once ParamSpec is added in, library authors would need to check

[issue42482] TracebackException should not hold reference to the exception traceback

2020-11-30 Thread miss-islington
miss-islington added the comment: New changeset 1cc5c943c007b92116f06b3ec8e71f2a510d1898 by Miss Islington (bot) in branch '3.8': bpo-42482: remove reference to exc_traceback from TracebackException (GH-23531) https://github.com/python/cpython/commit/1cc5c943c007b92116f06b3ec8e71f2a510d1898

[issue42482] TracebackException should not hold reference to the exception traceback

2020-11-30 Thread miss-islington
miss-islington added the comment: New changeset 427613f005f0f412d12f0d775d2b609bae0ae1ad by Irit Katriel in branch 'master': bpo-42482: remove reference to exc_traceback from TracebackException (GH-23531) https://github.com/python/cpython/commit/427613f005f0f412d12f0d775d2b609bae0ae1ad

[issue42482] TracebackException should not hold reference to the exception traceback

2020-11-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +22458 pull_request: https://github.com/python/cpython/pull/23579 ___ Python tracker ___

[issue42482] TracebackException should not hold reference to the exception traceback

2020-11-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +22457 pull_request: https://github.com/python/cpython/pull/23578 ___ Python tracker

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR 23577 makes fix suggested above for easier review. -- stage: patch review -> ___ Python tracker ___

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +22456 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23577 ___ Python tracker ___

[issue24775] Python client failing to connect to server but completing as if successful

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Python 2 is past its EOL. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue28931] urllib ignores FTP 226 response, breaking further FTP requests

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Fixed in Python 3, Python 2 past EOL. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue24923] Append system paths in setup.py instead of prepending

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Fixed in Python 3 (in https://github.com/python/cpython/commit/807bd0a8a47191f7aa25cd9d5619bbc46a3f2a2a). Too late for 2.7. -- nosy: +iritkatriel resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue42507] test_ttk_guionly test failures on macOS with Tcl/Tk 8.6.10

2020-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have no ideas. Try to add more calls of update() in these tests. -- ___ Python tracker ___

[issue25884] inspect.getmro() fails when base class lacks __bases__ attribute.

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: The _searchbases function was removed here, when getmro was simplified following the removal of old style classes: https://github.com/python/cpython/commit/b82c8e5b27a8d8ec441aeab5d01d6d9bd8e6d7ef -- nosy: +iritkatriel resolution: -> out of date

[issue24295] Backport of #17086 causes regression in setup.py

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Python 2-only issue. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ff51e5ec26168574761e128cc607b879d4d5aa50 by Miss Islington (bot) in branch '3.9': bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570) (GH-23571)

[issue42370] test_ttk_guionly: test_to() fails on the GitHub Ubuntu job

2020-11-30 Thread miss-islington
miss-islington added the comment: New changeset b2652f2d7e1f3b868e9bec6669b3f3f905257991 by Miss Islington (bot) in branch '3.9': bpo-42370: Check element before making mouse click in ttk tests (GH-23491) https://github.com/python/cpython/commit/b2652f2d7e1f3b868e9bec6669b3f3f905257991

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: After hours of failure to understand crazy 'impossible' behavior, I went back to 'timing issue' and this code. def run_module_event(self, event): if macosx.isCocoaTk(): # Tk-Cocoa in MacOSX is broken until at least # Tk

[issue42517] Enum: do not convert private names into members

2020-11-30 Thread Ethan Furman
New submission from Ethan Furman : Currently, private names such as '__location' will get both name mangled and converted into an attribute, while `__location_` will get mangled, but not converted as the final name is sundered (e.g. `_MyEnum__location_`). Just in case anyone is actually

[issue42516] Add function to get caller's name

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

[issue42516] Add function to get caller's name

2020-11-30 Thread Steve Dower
Change by Steve Dower : -- components: +Interpreter Core stage: -> test needed type: -> enhancement versions: +Python 3.10 ___ Python tracker ___

[issue42516] Add function to get caller's name

2020-11-30 Thread Steve Dower
New submission from Steve Dower : We have a lot of stdlib code that looks like: try: nm_tpl.__module__ = sys._getframe(2).f_globals.get('__name__', '__main__') except (AttributeError, ValueError): pass While technically it handles sys._getframe being missing, it would

[issue31904] Python should support VxWorks RTOS

2020-11-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1244c816d7cdfa8a26d1671cab67122a8c5271a7 by pxinwr in branch 'master': bpo-31904: Support signal module on VxWorks (GH-23391) https://github.com/python/cpython/commit/1244c816d7cdfa8a26d1671cab67122a8c5271a7 --

[issue28468] Add platform.freedesktop_os_release()

2020-11-30 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue28468] Add platform.freedesktop_os_release()

2020-11-30 Thread STINNER Victor
STINNER Victor added the comment: I merged Christian's PR 23492. The initial issue, add a function to parse the os-release file, is now solved, so I close the issue. If you want to use it in a test, please open a new issue. Thanks everyone for this constructive discussion, IMO the final

[issue28468] Add platform.freedesktop_os_release()

2020-11-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5c73afc36ee6cca41009a510092e1f901c5dc0a0 by Christian Heimes in branch 'master': bpo-28468: Add platform.freedesktop_os_release() (GH-23492) https://github.com/python/cpython/commit/5c73afc36ee6cca41009a510092e1f901c5dc0a0 --

[issue28468] Add platform.freedesktop_os_release()

2020-11-30 Thread STINNER Victor
STINNER Victor added the comment: > In this case, please also provide a way to provide the value of the > VERSION_ID field. I'm not sure what you mean. PR 23492 exposes the whole content of the os-release file as a dict. There is no special case for any field. VERSION_ID can be retrieved

[issue28468] Add platform.freedesktop_os_release()

2020-11-30 Thread STINNER Victor
STINNER Victor added the comment: Matthias Klose: > It doesn't make sense to blacklist whole distributions in tests. Adding freedesktop_os_release() and using it are two different topics. I understand the the SC decision is on adding the function. Using it to skip tests should be decided on

[issue42487] collections.ChainMap.__iter__ calls __getitem__ on underlying maps

2020-11-30 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42501] Improve error messages for argparse choices using enum

2020-11-30 Thread Raymond Hettinger
Change by Raymond Hettinger : -- components: +Documentation -Library (Lib) resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42501] Improve error messages for argparse choices using enum

2020-11-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset aab93903347ec6d7f23dda2994dd26f6111d19d2 by Miss Islington (bot) in branch '3.9': bpo-42501: Revise the usage note for Enums with the choices (GH-23563) (GH-23573)

[issue42515] Devguide recommend against using PRs to update fork

2020-11-30 Thread Mariatta
Mariatta added the comment: No need to feel embarrassed about it :) I've made similar mistake in the past. Sounds good to rename the "Syncing with Upstream" section with "Updating your CPython fork". If you can open an issue in github.com/python/devguide, that would be great. We can

[issue31990] Pickling deadlocks in thread with python -m

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Which system are seeing this on? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31990] Pickling deadlocks in thread with python -m

2020-11-30 Thread Werner Smidt
Werner Smidt added the comment: The condition still stands. if I execute: python3 testqueuepickle3.py Everything is fine. If, however I execute: python3 -m testqueuepickle3.py It hangs. -- versions: +Python 3.8 ___ Python tracker

[issue31990] Pickling deadlocks in thread with python -m

2020-11-30 Thread Werner Smidt
Change by Werner Smidt : -- status: pending -> open Removed file: https://bugs.python.org/file47255/testqueuepickle.py ___ Python tracker ___

[issue42455] Add decorator_factory function to functools module

2020-11-30 Thread Yurii Karabas
Yurii Karabas <1998uri...@gmail.com> added the comment: I have posted this idea to python-ideas Link to thread https://mail.python.org/archives/list/python-id...@python.org/thread/OIRAB3QA4AAD3JGH2S5HMGCPDLGG7T52/ -- ___ Python tracker

[issue21114] wsgiref.simple_server doesn't handle multi-line headers correctly

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Python 2-only issue. -- nosy: +iritkatriel resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue39096] "Format Specification Mini-Language" doc mistake for Decimal

2020-11-30 Thread Mark Dickinson
Mark Dickinson added the comment: > Should this issue be closed, or are you thinking of more changes? I've made one more round of changes in GH-23575. Once that's gone in, I think we can close this issue. I don't think we're ever going to be able to make this table perfectly accurate; at

[issue42495] socket.gethostbyaddr raises error if invalid unicode in hosts

2020-11-30 Thread Steve Dower
Steve Dower added the comment: This is covered by issue26227 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname ___ Python tracker

[issue39096] "Format Specification Mini-Language" doc mistake for Decimal

2020-11-30 Thread Mark Dickinson
Change by Mark Dickinson : -- pull_requests: +22455 pull_request: https://github.com/python/cpython/pull/23575 ___ Python tracker ___

[issue28468] Add platform.freedesktop_os_release()

2020-11-30 Thread Matthias Klose
Matthias Klose added the comment: I don't agree with this decision, but ok. In this case, please also provide a way to provide the value of the VERSION_ID field. It doesn't make sense to blacklist whole distributions in tests. -- ___ Python

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2020-11-30 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42515] Devguide recommend against using PRs to update fork

2020-11-30 Thread E. Paine
New submission from E. Paine : Simple enough: we should make it very clear in the Devguide that creating a PR from python:master to :master is not a good way to update your fork. For context, I recently saw that a commit on a fork was showing as a mention on a lot of the more recent commits

[issue23276] hackcheck is broken in association with __setattr__

2020-11-30 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue31990] Pickling deadlocks in thread with python -m

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: I don't see the hang on Linux (3.7) or windows (3.10). I think this might be a python 2-only issue. There were problems in Python 2 with importer race conditions, and since you start threads at import time, that could be what was causing what you saw. Python

[issue28468] Add platform.freedesktop_os_release()

2020-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: This issue was brought to the Python Steering Council, and we deliberated it at today's SC meeting. With a vote of 4 approvals and one abstention, we have approved the addition of this API. -- nosy: +barry ___

[issue42514] Relocatable framework for macOS

2020-11-30 Thread Greg Neagle
Greg Neagle added the comment: A Python.app you could drop somewhere convenient would by definition need a relocatable Python.framework within. :-) -- ___ Python tracker ___

[issue28926] subprocess.Popen + Sqlalchemy doesn't wait for process

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Python 2.7 is no longer maintained. Are you seeing this issue in Python3 as well? Can you attached a script that reproduces the problem? (A script is always better than a verbal description). Information about the system on which you observed the issue can

[issue42481] Add to pathlib function to check permission similar to os.access

2020-11-30 Thread Eryk Sun
Eryk Sun added the comment: > takes extended file attributes like immutable bit Just to clarify, immutable isn't an extended attribute. It's one of the flag values in a Linux inode, which is supported by some filesystems such as ext4. It's in the API as STATX_ATTR_IMMUTABLE from the statx()

[issue42454] Move slice creation to the compiler for constants

2020-11-30 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > I have to say that I feel that this will complicate things too much. Part of > the appeal of this change is how straightforward and maintainable is. > Fiddling with code objects lowers the watermark. Agreed. And I'd go for either making slices hashable

[issue42485] Full grammar specification should link to PEP 617

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

[issue42485] Full grammar specification should link to PEP 617

2020-11-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset bcc9579227578de5dd7f8825d24ba51b618ad3c2 by James Gerity in branch 'master': bpo-42485: [Doc] Link to PEP 617 from full grammar specification (GH-23532) https://github.com/python/cpython/commit/bcc9579227578de5dd7f8825d24ba51b618ad3c2

[issue42507] test_ttk_guionly test failures on macOS with Tcl/Tk 8.6.10

2020-11-30 Thread Ned Deily
Ned Deily added the comment: I tested on 3.9 with the backport of GH-23474 merged. The six failures are still there plus there is now an additional failure: == FAIL: test_horizontal_range

[issue42454] Move slice creation to the compiler for constants

2020-11-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I thought about using code.__hash__ in the first place, but the compiler's > underlying store system (both compiler_unit->u_consts and > compiler->c_const_cache) uses dictionary's where the keys are constant > objects themselves (or tuples where

[issue42497] New pathlib.Path attribute

2020-11-30 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Add to pathlib function to check permission similar to os.access ___ Python tracker

[issue42514] Relocatable framework for macOS

2020-11-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: There's also macholib (which is used by py2app for rewriting mach-o headers). Note that resigning for arm64 is possible using the following command: $ codesign -s - --preserve-metadata=identifier,entitlements,flags,runtime -f . This was mentioned in the

[issue42454] Move slice creation to the compiler for constants

2020-11-30 Thread Josh Rosenberg
Josh Rosenberg added the comment: Yep, Mark Shannon's solution of contextual hashing is what I was trying (without success) when my last computer died (without backing up work offsite, oops) and I gave up on this for a while. And Batuhan Taskaya's note about compiler dictionaries for the

[issue42514] Relocatable framework for macOS

2020-11-30 Thread Greg Neagle
New submission from Greg Neagle : The current Python.framework installed by the macOS packages is hard-coded to /Library/Frameworks/Python.framework and breaks if renamed or moved. A relocatable framework would allow users/admins/developers to install a specific framework to an alternate

[issue42454] Move slice creation to the compiler for constants

2020-11-30 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > By leaving slices unhashable, and accounting for their presence in > code.__hash__, we get both the performance improvement and full backwards > compatibility. I thought about using code.__hash__ in the first place, but the compiler's underlying store

[issue42433] mailbox.mbox fails on non ASCII characters

2020-11-30 Thread R. David Murray
R. David Murray added the comment: After thinking about it some more, I think given that when there is no non-ascii mbox will happily treat *anything* as valid on the "From " line, that we should consider blowing up on non-ascii to be a bug. --

[issue41896] Moving index with wordstart expression includes non-alphanumberic and underline characters if word is tagged and iat the edge of a text widget

2020-11-30 Thread pyTama
Change by pyTama : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42501] Improve error messages for argparse choices using enum

2020-11-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 7f82f22eba1312617e1aa19cb916da1aae1609a4 by Raymond Hettinger in branch 'master': bpo-42501: Revise the usage note for Enums with the choices (GH-23563) https://github.com/python/cpython/commit/7f82f22eba1312617e1aa19cb916da1aae1609a4

[issue42501] Improve error messages for argparse choices using enum

2020-11-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +22454 pull_request: https://github.com/python/cpython/pull/23573 ___ Python tracker

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread miss-islington
miss-islington added the comment: New changeset f4389bfbb5b9f67db1505dd0003987896eae560b by Miss Islington (bot) in branch '3.8': bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570) https://github.com/python/cpython/commit/f4389bfbb5b9f67db1505dd0003987896eae560b

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue exposed and is affected by an existing system and version independent bug. With that fixed as in PR 23570, running a file with "print('output')" with the new 3.9.1rc1 universal binary results in the following. output = RESTART:

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e41bfd15dd148627b4f39c2a5837bddd8894d345 by Terry Jan Reedy in branch 'master': bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570) https://github.com/python/cpython/commit/e41bfd15dd148627b4f39c2a5837bddd8894d345

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +22453 pull_request: https://github.com/python/cpython/pull/23572 ___ Python tracker ___

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +22452 pull_request: https://github.com/python/cpython/pull/23571 ___ Python tracker

[issue42487] collections.ChainMap.__iter__ calls __getitem__ on underlying maps

2020-11-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset cf22aa3bc698847459a6bf20c166aa80825b810a by Miss Islington (bot) in branch '3.9': bpo-42487: don't call __getitem__ of underlying maps in ChainMap.__iter__ (GH-23534) (GH-23569)

[issue42454] Move slice creation to the compiler for constants

2020-11-30 Thread Mark Shannon
Mark Shannon added the comment: I agree with Mark about slice hashing. This looks like a deliberate design decision. x[:] = [] should empty a sequence, not set the key-value pair (slice(None, None, None), []) in a mapping. However, code-objects can still be hashable even if slices are not.

[issue28288] Expose environment variable PYTHON_OPT as alternative to command line options

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: It's too late for the PYTHON3WARNINGS variable in 2.7, but Serhiy's suggestion for PYTHON_OPTS can still be implemented. Updating title and version accordingly. -- nosy: +iritkatriel title: Expose environment variable for Py_Py3kWarningFlag -> Expose

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +22451 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23570 ___ Python tracker ___

[issue21567] cannot create multipart alternative message with us-ascii charset

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: I'm not seeing the problem in 3.7(linux) and 3.10(windows). Is this a python 2-only issue? -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue42487] collections.ChainMap.__iter__ calls __getitem__ on underlying maps

2020-11-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +22450 pull_request: https://github.com/python/cpython/pull/23569 ___ Python tracker

[issue42406] Importing multiprocessing breaks pickle.whichmodule

2020-11-30 Thread Renato Cunha
Renato Cunha added the comment: No worries, Gregory. Glad I could help. :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42487] collections.ChainMap.__iter__ calls __getitem__ on underlying maps

2020-11-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 0be9ce305ff2b9e13ddcf15af8cfe28786afb36a by Andreas Poehlmann in branch 'master': bpo-42487: don't call __getitem__ of underlying maps in ChainMap.__iter__ (GH-23534)

[issue42454] Move slice creation to the compiler for constants

2020-11-30 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: One thing to add, the proposed implementation also optimizes extended slices (mostly used in scientific stacks) such as [:, 1]. -- ___ Python tracker

[issue28881] int no attribute 'lower' iterating email.Message

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Python 2-only issue. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue34079] Multiprocessing module fails to build on Solaris 11.3

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: _XOPEN_SOURCE is no longer defined in multiprocessing.h. Is there anything left to do here or can we close it as out of date? -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue35120] SSH tunnel support to ftp lib

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Mohit, Python 2.7 is no longer maintained. If you are seeing this issue in Python 3 then please create a new issue, and also include more information about what the problem is and how one can reproduce it. -- nosy: +iritkatriel resolution: -> out of

[issue42500] crash with unbounded recursion in except statement

2020-11-30 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +22449 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23568 ___ Python tracker ___

[issue42495] socket.gethostbyaddr raises error if invalid unicode in hosts

2020-11-30 Thread Peter Hunt
Peter Hunt added the comment: Ah, I just realised it may have been a different dash to the one that can be typed with the keyboard. >From the wiki article (https://en.wikipedia.org/wiki/Dash), using either the >"en" or "em" dash will cause the issue for me on Windows. --

[issue42484] get_obs_local_part fails to handle empty local part

2020-11-30 Thread R. David Murray
R. David Murray added the comment: Yep, you've found another in a category of bugs that have shown up in the parser: places where there is a missing check for there being any value at all before checking character [0]. In this case, the fix should be to add if not obs_local_part:

[issue34216] python platform no child error

2020-11-30 Thread Christian Heimes
Christian Heimes added the comment: The platform module no longer uses popen(). Victor replaced the broken code with subprocess in bpo-35346. -- nosy: +christian.heimes resolution: -> fixed stage: -> resolved status: pending -> closed type: compile error -> behavior

[issue42509] Recursive calls crash interpreter when checking exceptions

2020-11-30 Thread Mark Shannon
Mark Shannon added the comment: Duplicate of 42500 -- nosy: +Mark.Shannon resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___

[issue5773] Crash on shutdown after os.fdopen(2) in debug builds

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Python 2.7 is no longer being maintained. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue41837] Upgrade installers to OpenSSL 1.1.1h

2020-11-30 Thread Christian Heimes
Christian Heimes added the comment: Sorry, I missed the initial ping. The changes look unproblematic to me. Our test suite is passing with 1.1.1h, too. Python doesn't set VERIFY_X509_STRICT by default and does not support DTLS. Please go ahead. --

[issue42513] Socket.recv hangs

2020-11-30 Thread Barney Stratford
Change by Barney Stratford : -- keywords: +patch pull_requests: +22448 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23567 ___ Python tracker

[issue10837] Issue catching KeyboardInterrupt while reading stdin

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Python 2-only issue. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31481] telnetlib fails to read continous large output from Windows Telnet Server

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Nisar, Is this problem reproducible in Python 3? Can you provide a script that shows exactly what you mean? What is "large" (are you running out of memory?) -- nosy: +iritkatriel status: open -> pending ___ Python

[issue24063] Support Mageia and Arch Linux in the platform module

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Python 2.7 is no longer being updated. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue42513] Socket.recv hangs

2020-11-30 Thread Barney Stratford
New submission from Barney Stratford : import socket self.__socket = socket.create_connection ([host, port], 1) value = self.__socket.recv (4096) This code sometimes hangs despite having a non-None timeout specified. GDB says: (gdb) bt #0 0x76d33c94 in __GI___poll (fds=0x7ea55148,

  1   2   >