[issue42612] Software Designer

2020-12-12 Thread Carol Willing
Carol Willing added the comment: Hi @Deepanshu. I'm sorry that you are having difficulty with your script. While we wish to be helpful, it's difficult to troubleshoot whether this is a program issue or a CPython bug. I recommend asking on Stack Overflow or the Python Discourse Users channel

[issue41879] Outdated description of async iterables in documentation of async for statement

2020-12-12 Thread miss-islington
miss-islington added the comment: New changeset be9e4402db64564f7bf0fedb3769cead46c0d4c4 by Miss Islington (bot) in branch '3.9': [3.9] bpo-41879: Doc: Fix description of async for statement (GH-23548) (GH-23749)

[issue42612] Software Designer

2020-12-12 Thread Josh Rosenberg
Josh Rosenberg added the comment: A rough description is not sufficient. If you have code that reproduces the problem, post the reproducer so we can check, but odds are you've got a bug in your code. -- nosy: +josh.r status: open -> pending ___

[issue40505] getpath.c doesn't know about lib64

2020-12-12 Thread Daniel Pflager
Daniel Pflager added the comment: Python-3.9.1 OpenSUSE 15.1 While ./configure --with-platlibdir=lib64 does work-around the problem on OpenSUSE by putting everything into lib64/, this is not the default behavior. In other words, should Python-3.9.1 be built on OpenSUSE 15.1 without

[issue41972] bytes.find consistently hangs in a particular scenario

2020-12-12 Thread Dennis Sweeney
Change by Dennis Sweeney : Added file: https://bugs.python.org/file49674/twoway_demo.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41972] bytes.find consistently hangs in a particular scenario

2020-12-12 Thread Dennis Sweeney
Change by Dennis Sweeney : Removed file: https://bugs.python.org/file49672/twoway_demo.py ___ Python tracker ___ ___ Python-bugs-list

[issue26451] CSV documentation doesn't open with an example

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

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-12-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +22609 pull_request: https://github.com/python/cpython/pull/23751 ___ Python tracker ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-12-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +22608 pull_request: https://github.com/python/cpython/pull/23750 ___ Python tracker ___

[issue22442] Deprecate PIPE with subprocess.check_call() and call()

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

[issue41879] Outdated description of async iterables in documentation of async for statement

2020-12-12 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +22607 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/23749 ___ Python tracker

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

2020-12-12 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +22606 pull_request: https://github.com/python/cpython/pull/23748 ___ Python tracker

[issue42059] TypedDict(...) as function does not respect "total" when setting __required_keys__ and __optional_keys__

2020-12-12 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +22605 pull_request: https://github.com/python/cpython/pull/23747 ___ Python tracker

[issue40084] HTTPStatus has incomplete dir() listing

2020-12-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +22604 pull_request: https://github.com/python/cpython/pull/23746 ___ Python tracker ___

[issue42629] PyObject_Call not behaving as documented

2020-12-12 Thread Max Bachmann
New submission from Max Bachmann : The documentation of PyObject_Call here: https://docs.python.org/3/c-api/call.html#c.PyObject_Call states, that it is the equivalent of the Python expression: callable(*args, **kwargs). so I would expect: PyObject* args = PyTuple_New(0); PyObject* kwargs =

[issue42603] Tkinter: pkg-config is not used to get location of tcl and tk headers/libraries

2020-12-12 Thread Ned Deily
Change by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42623] IDLE: Syntax Error showing pointer in wrong location

2020-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: "Your message to 1051...@student.auhsd.us has been blocked. ... This email has been rejected because it is directed outside the AUHSD domain." Makes no sense unless the link back here was an issue. Oh well, I tried. --

[issue42623] IDLE: Syntax Error showing pointer in wrong location

2020-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current IDLE indicates the SyntaxError position given by Python by highlighting the character, as in the editor. No more caret. End of problem. There is no fixed-width Unicode font. I revised the font sample in part to let people see which alphabets

[issue39717] Fix exception causes in tarfile module

2020-12-12 Thread Ethan Furman
Change by Ethan Furman : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39717] Fix exception causes in tarfile module

2020-12-12 Thread Ethan Furman
Ethan Furman added the comment: New changeset b5a6db9111562454617b6771b61f2734ea0420c9 by Ethan Furman in branch 'master': bpo-39717: [tarfile] update nested exception raising (GH-23739) https://github.com/python/cpython/commit/b5a6db9111562454617b6771b61f2734ea0420c9 --

[issue42628] binascii doesn't work on some base64

2020-12-12 Thread Kent Watsen
New submission from Kent Watsen : [Tested on 3.8.2 and 3.9.0, bug may manifest in other versions too] The IETF sometimes uses the dummy base64 value "base64encodedvalue==" in specifications in lieu of a block of otherwise meaningless b64. Even though it is a dummy value, the value should

[issue42627] urllib.request.getproxies() misparses Windows registry proxy settings

2020-12-12 Thread benrg
New submission from benrg : If `HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer` contains the string `http=host:123;https=host:456;ftp=host:789`, then getproxies_registry() should return {'http': 'http://host:123', 'https': 'http://host:456', 'ftp':

[issue42617] Enhancement request for PyType_FromSpecWIthBases add option for meta class

2020-12-12 Thread Karl Nelson
Karl Nelson added the comment: Perhaps just having PyType_InitHeapFromSpec which have just heap type linkage and slot copy section would help with the issue. The major problem I have is maintaining the slot code which may change at some point in the future. There would still be some

[issue42625] Segmentation fault of PyState_AddModule()

2020-12-12 Thread Petr Viktorin
Petr Viktorin added the comment: When does this actually happen? Is there a common situation where you'd mistakenly pass NULL to PyState_AddModule? -- ___ Python tracker ___

[issue30858] Keyword can't be an expression?

2020-12-12 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: I like the current error message. What bugs me a little is the position of the caret, which I think is a bit misleading. Guido, Pablo, should we move the caret to point at the `=` sign or whatever comes after it? I think I prefer the former. --

[issue42626] readline history, vi-editingmode and ANSI color codes bug

2020-12-12 Thread Joakim Nilsson
New submission from Joakim Nilsson : Tested on Debian Bullseye with Python 3.9. If 'set editing-mode vi' is used in .inputrc and the attached program is run, a bug occurs when navigating the readline history. It seems only to occur when ANSI color escape characters are input to the 'input()'

[issue41429] Let fnmatch.filter accept a tuple of patterns

2020-12-12 Thread Andrés Delfino
Andrés Delfino added the comment: Serhiy, could you take a look at this when you have some spare time? :) -- ___ Python tracker ___

[issue42625] Segmentation fault of PyState_AddModule()

2020-12-12 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +22603 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23745 ___ Python tracker ___

[issue42625] Segmentation fault of PyState_AddModule()

2020-12-12 Thread hai shi
New submission from hai shi : PyState_AddModule(NULL, &_testcapimodule) in _testcapi module will get a segmentation fault. And it's a C API, so a little improvement will be better. -- assignee: shihai1991 components: C API messages: 382915 nosy: petr.viktorin, shihai1991, vstinner

[issue42623] Syntax Error showing pointer in wrong location

2020-12-12 Thread Steven D'Aprano
Steven D'Aprano added the comment: > @ Steven, did you mean to un-nosy Pratik? No. I have tried to re-add him, but I think that because his user name is all digits, the bug tracker won't accept it. When I try, I get this error: Edit Error: user has no node 1051371 --

[issue42623] Syntax Error showing pointer in wrong location

2020-12-12 Thread E. Paine
E. Paine added the comment: While Tkinter could do it, I see no point in doing so. One thing that may be worth looking into is only allowing IDLE to use fixed-width fonts, but maybe this is just another of my crazy ideas... I think this can be safely closed unless someone wants to make a

[issue38137] hashopenssl fails to compile on MacOS

2020-12-12 Thread Christian Heimes
Christian Heimes added the comment: I don't have access to macOS. Did the PR fix the issue? -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42617] Enhancement request for PyType_FromSpecWIthBases add option for meta class

2020-12-12 Thread hai shi
hai shi added the comment: >This code could be made much safer if there were a >PyType_FromSpecWithBasesMeta which used the meta class to allocate the memory IMHO, `PyType_FromSpecWithBases` is a atomic API of `TypeObject`. Adding a class as a param will result in `PyType_FromSpecWithBases`

[issue42609] Eval with too high string multiplication crashes newer Python versions

2020-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is known issue, but interesting that the cause of the crash is different in 3.7-3.8 and 3.9+. PR 23744 adds recursion checks in the AST validator and optimizer similar to the checks in the symtable. It should not break any existing code because too

[issue38137] hashopenssl fails to compile on MacOS

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +macOS nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38137] hashopenssl fails to compile on MacOS

2020-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: can this issue be closed? -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list

[issue42609] Eval with too high string multiplication crashes newer Python versions

2020-12-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch nosy: +serhiy.storchaka nosy_count: 6.0 -> 7.0 pull_requests: +22602 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23744 ___ Python tracker

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Linking extensions to libpython with a static build of python will cause problems (as you described in your initial message). The not very satisfactory response is "don't do that then". Note that distutils won't link against libpython by default. Longer

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've removed two spammy comments and adjusted the categories (the latter explains Larry's annoyance, someone selected all categories which automatically added him to the nosy list). -- ___ Python tracker

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +Distutils -2to3 (2.x to 3.x conversion tool), Argument Clinic, C API, Cross-Build, asyncio, ctypes nosy: +dstufft, eric.araujo, froody, ned.deily -Alex.Willmer, asvetlov, yselivanov, zhtw1234 versions: -Python 3.6, Python 3.7

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- Removed message: https://bugs.python.org/msg382879 ___ Python tracker ___ ___ Python-bugs-list

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- Removed message: https://bugs.python.org/msg382880 ___ Python tracker ___ ___ Python-bugs-list

[issue42614] Pathlib does not support a Cyrillic character 'й'

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +macOS nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42614] Pathlib does not support a Cyrillic character 'й'

2020-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: What filesystem is used on macOS? If it is HFS+ you're likely running into unicode normalisation in the filesystem. That is, 'й' can be represented as a single unicode codepoint (and likely is in your script), but in the NFD normalisation used by HFS+ the

[issue41972] bytes.find consistently hangs in a particular scenario

2020-12-12 Thread Dennis Sweeney
Dennis Sweeney added the comment: For convenience, attached is a quick and dirty Tkinter GUI that lets you step through the Crochemore/Perrin Algorithm on your choice of inputs, just for play/discovery. A good illustration of the memory for periodic needles can be found by testing:

[issue42624] sqlite3 package document mistake

2020-12-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +berker.peksag, ghaering ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42624] sqlite3 package document mistake

2020-12-12 Thread LIU Qingyuan
New submission from LIU Qingyuan : In the document about sqlite3 package, it was suggested that when users are trying to create a table already exists, sqlite3.ProgrammingError is going to be thrown. However, the actual exception thrown is sqlite3.OperationalError, which is inconsistent with