[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please open a new issue for "surrogates not allowed". -- ___ Python tracker ___ ___

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: W.r.t. the SyntaxError I got (msg380552): It looks like it will be possible to work around that problem in _tkinter.c:unicodeFromTclStringAndSize by merging surrogate pairs. -- ___ Python tracker

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that the main installers for Python 3.8 and 3.9 will continue to use Tk 8.6.8 due to problems when building later Tk version on macOS 10.9. The current plan is to add an installer variant to (amongst others) uses Tk 8.6.10 (and .11 when that's

[issue40624] add support for != (not-equals) in ElementTree XPath

2020-11-08 Thread Stefan Behnel
Change by Stefan Behnel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40624] add support for != (not-equals) in ElementTree XPath

2020-11-08 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 97e8b1eaeaf3aa325c84ff2e13417c30414d0269 by Ammar Askar in branch 'master': bpo-40624: Add support for the XPath != operator in xml.etree (GH-22147) https://github.com/python/cpython/commit/97e8b1eaeaf3aa325c84ff2e13417c30414d0269 --

[issue42233] GenericAlias does not support union type expressions

2020-11-08 Thread Ken Jin
Change by Ken Jin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42233] GenericAlias does not support union type expressions

2020-11-08 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 4eb41d055e8307b8206f680287e492a6db068acd by kj in branch 'master': bpo-42233: Add union type expression support for GenericAlias and fix de-duplicating of GenericAlias (GH-23077)

[issue36388] pdb: do_debug installs sys.settrace handler when used inside post_mortem

2020-11-08 Thread daniel hahler
Change by daniel hahler : -- pull_requests: +22102 pull_request: https://github.com/python/cpython/pull/23202 ___ Python tracker ___

[issue42179] Clarify chaining exceptions in tutorial/errors.rst

2020-11-08 Thread Inada Naoki
Inada Naoki added the comment: >> 1. Such understanding of a tutorial is debatable. Tutorial is just a >> material for learning written with some system in mind, which is more >> interesting to read than dry reference material. A tutorial, generally >> dpeaking, may be both for beginners and

[issue42289] Found a secret/private key in code.

2020-11-08 Thread Zachary Ware
Zachary Ware added the comment: That commit does not appear to be part of any branch of the main repository, and also appears to contain non-changes to every file in the repository. There are known private keys somewhere in Lib/test for use in tests. If you're referring to something else,

[issue42293] Installation of pyinstaller in Windows fails with utf8 error

2020-11-08 Thread Eryk Sun
Eryk Sun added the comment: This looks to be a bug in the constructor of pip's BuildEnvironment class: https://github.com/pypa/pip/blob/a4f4bfbf8ba7fd1e60884a439907e3f2a32e117a/src/pip/_internal/build_env.py#L82 Python 3 source files are UTF-8 by default, but text files default to the

[issue8508] 2to3 fixer for gettext's .ugettext

2020-11-08 Thread Irit Katriel
Irit Katriel added the comment: Should we close this as won't fix? -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___

[issue8730] Spurious test failure in distutils

2020-11-08 Thread Irit Katriel
Irit Katriel added the comment: The skip has been added: @unittest.skipUnless(find_executable('compress'), 'The compress program is required') def test_compress_deprecated(self):

[issue16879] distutils.command.config uses fragile constant temporary file name

2020-11-08 Thread Éric Araujo
Change by Éric Araujo : -- assignee: eric.araujo -> stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16879] distutils.command.config uses fragile constant temporary file name

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16879] distutils.command.config uses fragile constant temporary file name

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.6, Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___

[issue15099] [doc] exec of function doesn't call __getitem__ or __missing__ on undefined global

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- title: exec of function doesn't call __getitem__ or __missing__ on undefined global -> [doc] exec of function doesn't call __getitem__ or __missing__ on undefined global versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, does Ronald's report above re 8.6.10 on macOS suggest what might be needed to make print("") work on Mac? As I remember, your year-old _tkinter patch to make print() work on Linux and Windows converts Python strings differently on the two systems.

[issue42293] Installation of pyinstaller in Windows fails with utf8 error

2020-11-08 Thread giomach
New submission from giomach : Python 3.9 freshly installed in Windows 10 to C:\Program Files\Python39, everything done as administrator, installed for all users, added to PATH. Installation of pyinstaller fails with message "SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xe1 in

[issue39892] Enable DeprecationWarnings by default when not explicit in unittest.main()

2020-11-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: my bad :) -- resolution: -> not a bug stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue1397474] [doc] timeit execution enviroment

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- title: timeit execution enviroment -> [doc] timeit execution enviroment versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue12488] multiprocessing.Connection does not communicate pipe closure between parent and child

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.6, Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___

[issue42288] typing.get_type_hints() returns Optional[Any] if the default value of the argument is None

2020-11-08 Thread Guido van Rossum
Guido van Rossum added the comment: There is actually a difference between Any and Optional[Any]. Try the following using e.g. mypy: def f(a: Optional[Any]): a+1 def g(a: Any): a+1 You'll get an error in f but not in g. So this behavior is not a bug. -- resolution: ->

[issue10548] document (lack of) interaction between @expectedFailure on a test_method and setUp

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- title: document (lack of) interaction between @expectedException on a test_method and setUp -> document (lack of) interaction between @expectedFailure on a test_method and setUp versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2

[issue10548] document (lack of) interaction between @expectedException on a test_method and setUp

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch nosy: +iritkatriel nosy_count: 5.0 -> 6.0 pull_requests: +22101 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23201 ___ Python tracker

[issue9023] distutils relative path errors

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___

[issue23276] hackcheck is broken in association with __setattr__

2020-11-08 Thread Irit Katriel
Irit Katriel added the comment: I tried to look up what pyqtWrapperType is and found that it has been removed from QtCore. Is this issue still relevant? -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue1570255] redirected cookies

2020-11-08 Thread Irit Katriel
Irit Katriel added the comment: Paul's script (with urllib.request instead of urllib2) works for me. Is this issue still relevant? -- nosy: +iritkatriel ___ Python tracker

[issue18148] Make of Python 3.2.2 fails on Solaris SPARC

2020-11-08 Thread Irit Katriel
Irit Katriel added the comment: Python 3.2 is no longer maintained. If this issue existing in more recent versions please open a new issue for it. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___

[issue42292] C API: Allocating Objects on the Heap. Misleading documentation.

2020-11-08 Thread igo95862
Change by igo95862 : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42292] C API: Allocating Objects on the Heap. Misleading documentation.

2020-11-08 Thread igo95862
New submission from igo95862 : The issue is that the function names are too similar to other function that do completely different things. `PyObject_Init` this function does not use `__init__` at all. What it does is sets the already allocated object pointer to the specific type and

[issue13508] ctypes' find_library breaks with ARM ABIs

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___

[issue25858] Structure field size/ofs __str__ wrong with large size fields

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___

[issue25006] List pybind11 binding generator

2020-11-08 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___

[issue6860] Inconsistent naming of custom command in setup.py help output

2020-11-08 Thread Irit Katriel
Irit Katriel added the comment: As per Camilla's comment, this is no longer an issue. -- nosy: +iritkatriel resolution: accepted -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: So close... the problem we're running into is that "-isysroot" is only added for universal builds, not for regular builds. Furthermore unixccompiler doesn't know that is should always look in the SDK and not in the regular location (for system locations).

[issue42142] test_ttk timeout: FAIL tkinter ttk LabeledScale test_resize, and more

2020-11-08 Thread E. Paine
E. Paine added the comment: This is starting to get *very* annoying. Today's failure was a new one (but still `wait_visibility`): test_variable_change (tkinter.test.test_ttk.test_extensions.LabeledScaleTest) ... Timeout (0:20:00)! Thread 0x7f31dade1080 (most recent call first): File

[issue16830] Add skip_host and skip_accept_encoding to HTTPConnection.request()

2020-11-08 Thread Bryan Bishop
Bryan Bishop added the comment: I'll go ahead and close this. The putrequest/putheader/endheaders suggestion is probably sufficient. Although I do wonder if a docs update is warranted, explaining the default behavior.. -- resolution: -> wont fix stage: -> resolved status: pending

[issue42278] Remove usage of tempfile.mktemp in stdlib

2020-11-08 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +22100 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23200 ___ Python tracker ___

[issue42278] Remove usage of tempfile.mktemp in stdlib

2020-11-08 Thread E. Paine
E. Paine added the comment: > Most of them are in tests. There is no security issue there TBH, I don't know enough about the exploit to comment, but it seems that the tempfile tests take this seriously (Lib/test/test_tempfile.py:782 "For safety, all use of mktemp must occur in a private

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: The crash I had on macOS with tk 8.6.8 appears to be gone when using tk 8.6.10. What I got back was a SyntaxError when pasting a smiley emoji in an IDLE shell window when trying to type execute print(""). The SyntaxError message says: 'utf-8' codec can't

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-08 Thread Ian Strawbridge
Ian Strawbridge added the comment: On Ubuntu, Tk version is showing as 8.6.10 On Windows 10, Tk version is showing as 8.6.9 -- ___ Python tracker ___

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've filed a Tk issue about this: https://core.tcl-lang.org/tk/tktview/f9fa92d8e06972b5f0583b07a3c98eaac0a0 What versions of Tk are used? - On macOS I've tested with the Python.org installer, which uses Tk 8.6.8. --

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-08 Thread Ian Strawbridge
Ian Strawbridge added the comment: Further to the information I posted on Stack Overflow (referred to above) relating to reproducing emoticon characters from Idle under Ubuntu, I have done more testing. Based on some of the code/comments above, I tried modifications which I hoped might

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

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset db087f6d9ef9a7c873cd883ee120126fc0ca0c72 by Miss Islington (bot) in branch '3.8': bpo-41754: Ignore NotADirectoryError in invocation of xdg-settings (GH-23075) (GH-23198)

[issue28491] Remove bundled libffi for OSX

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: This was implemented in bpo-41100 -- dependencies: -Build failure on macOS 11 (beta) resolution: -> fixed stage: test needed -> resolved status: open -> closed superseder: -> Build failure on macOS 11 (beta)

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

2020-11-08 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37586] macOS: posix_spawn(..., setsid=True)

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in bpo-41100. -- dependencies: -Build failure on macOS 11 (beta) resolution: -> fixed stage: needs patch -> resolved superseder: -> Build failure on macOS 11 (beta) ___ Python tracker

[issue37586] macOS: posix_spawn(..., setsid=True)

2020-11-08 Thread Ronald Oussoren
Change by Ronald Oussoren : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32682] test_zlib improve version parsing

2020-11-08 Thread pmp-p
Change by pmp-p : -- status: closed -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8041] No documentation for Py_TPFLAGS_HAVE_STACKLESS_EXTENSION or Py_TPFLAGS_HAVE_VERSION_TAG.

2020-11-08 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42291] Incorrect signature of CodeType.replace()

2020-11-08 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22099 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23199 ___ Python tracker

[issue42291] Incorrect signature of CodeType.replace()

2020-11-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently the signature of types.CodeType.replace() is replace(self, /, *, co_argcount=-1, co_posonlyargcount=-1, co_kwonlyargcount=-1, co_nlocals=-1, co_stacksize=-1, co_flags=-1, co_firstlineno=-1, co_code=None, co_consts=None, co_names=None,

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

2020-11-08 Thread miss-islington
miss-islington added the comment: New changeset 371c33567a0b6afb93ffde2fb4564fe57a41945b by Miss Islington (bot) in branch '3.9': bpo-41754: Ignore NotADirectoryError in invocation of xdg-settings (GH-23075) https://github.com/python/cpython/commit/371c33567a0b6afb93ffde2fb4564fe57a41945b

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

2020-11-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +22098 pull_request: https://github.com/python/cpython/pull/23198 ___ Python tracker ___

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

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

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

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 23831a7a90956e38b7d70304bb6afe30d37936de by Ronald Oussoren in branch 'master': bpo-41754: Ignore NotADirectoryError in invocation of xdg-settings (GH-23075) https://github.com/python/cpython/commit/23831a7a90956e38b7d70304bb6afe30d37936de

[issue42283] test_idle is interactive on macOS 11

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: I was using a Tk 8.6.8 build on macOS 11. Looking at this more closely there are clearly other problems with that build: All windows that were created by the test were completely black except for the window chrome. @terry.reedy: I got those crash reporter

[issue31359] `configure` script incorrectly detects symbols as available on Mac w/ Xcode 8+

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is fixed in bpo-41100 -- dependencies: -Build failure on macOS 11 (beta) resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> Build failure on macOS 11 (beta) ___ Python tracker

[issue34597] Python needs to check existence of functions at runtime for targeting older macOS platforms

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is fixed in bpo-41100 -- dependencies: -Build failure on macOS 11 (beta) resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> Build failure on macOS 11 (beta) type: crash -> behavior

[issue41100] Build failure on macOS 11 (beta)

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 41761933c1c30bb6003b65eef1ba23a83db4eae4 by Ronald Oussoren in branch 'master': bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) https://github.com/python/cpython/commit/41761933c1c30bb6003b65eef1ba23a83db4eae4 --

[issue42278] Remove usage of tempfile.mktemp in stdlib

2020-11-08 Thread Steve Dower
Steve Dower added the comment: Yeah, once tests are excluded and the (deprecated or nearly deprecated) distutils and msilib are dropped, the problems are pydoc (which looks non-exploitable) and anywhere we need to generate a named pipe. Both cases where named pipes are being created are as