[issue43211] Python is not responding after running program

2021-02-12 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi Diasy, welcome! Please don't post screen shots of code. That makes it difficult or impossible for the blind and visually impaired to contribute, and it means that we have to retype your code from scratch to run it, which may introduce new errors.

[issue43202] Cleanup codeop._maybe_compile

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b676f5f809007533db3e3fdd01243959dd233d57 by Terry Jan Reedy in branch 'master': bpo-43202: More codeop._maybe_compile clean-ups (GH-24512) https://github.com/python/cpython/commit/b676f5f809007533db3e3fdd01243959dd233d57 --

[issue43142] Do not add duplicate FDs to list in duplicate_for_child()

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I can't (lacking multiprocessing knowledge), but someone else might. PS: when replying via email, please delete post you are responding to. When added to the web page, the copy is redundant noise. -- ___ Python

[issue43205] Python Turtle Colour

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python consistently uses American (USA) vocabulary and spellings for its English. Anyone over, say, 14, should learn them to the extent used in Python. Kids under 10 are different. Issue 24990 was rejected because it proposed to hardcode translation. A

[issue43200] link to copy module in shutil document, not to shutil.copy

2021-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: docs@python -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9 ___ Python tracker

[issue43200] link to copy module in shutil document, not to shutil.copy

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 242f6c9ffe3dd8f613942d5364b816cc89c384be by Miss Islington (bot) in branch '3.9': bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505) https://github.com/python/cpython/commit/242f6c9ffe3dd8f613942d5364b816cc89c384be --

[issue43185] AssertRaises() causes core dump in handling recursion

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: #43186, #43187 also have recursive code that fails in 3.9 and recovers in 3.10. Am closing them in favor of this. Also suspect #43188, #43189, #43190 are duplicates. Yang, recheck after Mark does the backport here. --

[issue43190] < test.support > check_free_after_iterating( ) causes core dump in handling iteration.

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suspect this is another duplicate of #43185 -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue43188] multiple operations of dict causes core dump of Python interpreter.

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Like the code in #43185, #43186, #43187, this works better in 3.10.0a5, so I suspect it is another duplicate. -- nosy: +terry.reedy ___ Python tracker

[issue43200] link to copy module in shutil document, not to shutil.copy

2021-02-12 Thread miss-islington
miss-islington added the comment: New changeset 4230bd52e3f9f289f02e41ab17a95f50ed4db5a6 by Miss Islington (bot) in branch '3.8': bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505) https://github.com/python/cpython/commit/4230bd52e3f9f289f02e41ab17a95f50ed4db5a6 --

[issue43200] link to copy module in shutil document, not to shutil.copy

2021-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +23308 pull_request: https://github.com/python/cpython/pull/24524 ___ Python tracker ___

[issue43200] link to copy module in shutil document, not to shutil.copy

2021-02-12 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +23307 pull_request: https://github.com/python/cpython/pull/24523 ___ Python tracker

[issue43200] link to copy module in shutil document, not to shutil.copy

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 762fe7deed34a1d5294bf82071d318c8427b4893 by Zackery Spytz in branch 'master': bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505) https://github.com/python/cpython/commit/762fe7deed34a1d5294bf82071d318c8427b4893 -- nosy:

[issue43186] Recursive call causes core dump in assertRaises

2021-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- superseder: Recursive call causes core dump in assertRaises -> AssertRaises() causes core dump in handling recursion ___ Python tracker ___

[issue43186] Recursive call causes core dump in assertRaises

2021-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Recursive call causes core dump in assertRaises ___ Python tracker

[issue43185] AssertRaises() causes core dump in handling recursion

2021-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg386896 ___ Python tracker ___ ___ Python-bugs-list

[issue43213] Shortcut for checking if PurePath object contains str

2021-02-12 Thread Tomas Gustavsson
Change by Tomas Gustavsson : -- keywords: +patch Added file: https://bugs.python.org/file49806/pure_path_contains.patch ___ Python tracker ___

[issue43213] Shortcut for checking if PurePath object contains str

2021-02-12 Thread Tomas Gustavsson
New submission from Tomas Gustavsson : While using pathlib I realised there are situations where I easily want to check if part of a returned path object contains a particular given path (as a string). Today the following will give an error: ... path = PosixPath('/usr/share/doc/') if 'share'

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-02-12 Thread Ken Jin
Ken Jin added the comment: Hi Guido, after a month of observing how people stumbled over the related collections.abc.Callable bugs, and experience from implementing this PEP, I learnt a few things which I think may interest you: Previously it was *recommended* that everything in typing be

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

2021-02-12 Thread Richie Thomas
Richie Thomas added the comment: That works for me. Thank you! On Fri, Feb 12, 2021 at 11:12 PM Dustin Rodrigues wrote: > > Dustin Rodrigues added the comment: > > You'll probably need to contact the pyenv project ( > https://github.com/pyenv/pyenv) if the following doesn't work for you. >

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

2021-02-12 Thread Dustin Rodrigues
Dustin Rodrigues added the comment: You'll probably need to contact the pyenv project (https://github.com/pyenv/pyenv) if the following doesn't work for you. However, doing something like CFLAGS="-I$(brew --prefix)/include" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew

[issue8264] [doc] hasattr doesn't show private (double underscore) attributes exist

2021-02-12 Thread Ken Jin
Ken Jin added the comment: Thanks for merging this Ethan! I think we can close this now (unless you want me to backport this to 3.9 and 3.8 as well). -- ___ Python tracker

[issue29515] socket module missing IPPROTO_IPV6, IPPROTO_IPV4 on Windows

2021-02-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: As of June last year, Python 3.7 is in security fix only mode, so there's nothing more to be done here. -- nosy: +jaraco resolution: -> fixed stage: patch review -> resolved status: pending -> closed ___ Python

[issue43105] Can't import extension modules resolved via relative paths in sys.path on Windows

2021-02-12 Thread Eryk Sun
Change by Eryk Sun : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43105] Can't import extension modules resolved via relative paths in sys.path on Windows

2021-02-12 Thread Eryk Sun
Eryk Sun added the comment: > and it happens that "pkg" is found in a folder that is > given in sys.path as a relative path I'd prefer that Python disallowed relative paths in sys.path [1]. But since they're allowed, I think importlib at least could try to resolve relative paths in a copy

[issue43142] Do not add duplicate FDs to list in duplicate_for_child()

2021-02-12 Thread Sanchit
Sanchit added the comment: But can you please add this fix in versions 3.8 & beyond? Thanks! From: report=bugs.python@roundup.psfhosted.org on behalf of Terry J. Reedy Sent: Friday, February 12, 2021 3:43 PM To: SANCHIT JAIN Subject: [issue43142] Do

[issue43185] AssertRaises() causes core dump in handling recursion

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: #43185 has other recursive code that has a 'fatal Python error' in 3.9 and recovers in 3.10. Am closing it in favor of this. -- nosy: +terry.reedy ___ Python tracker

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

2021-02-12 Thread Richie Thomas
Richie Thomas added the comment: Hello, can you give me a few more details around the workaround for this. I am using pyenv to install 3.9.1 and not sure how I would include the xz installed using homebrew. Where do I find the setup.py or configure command? Thanks for the help! --

[issue43182] TURTLE: Default values for basic Turtle commands

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Enhancements only go in future versions. -- nosy: +terry.reedy versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue43177] How to use `long double` as a PyObject?

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: You immediate questions are answered. Adding 128 bit floats to Python itself need a discussion on python-ideas and very likely a PEP. Maybe a decade? -- nosy: +terry.reedy resolution: -> postponed stage: -> resolved status: open -> closed

[issue38593] Python 3.7 does not catch infinite recursion for some values of sys.getrecursionlimit()

2021-02-12 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +Mark.Shannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43154] code.InteractiveConsole can crash if sys.excepthook is broken

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: unraiseable hook is not needed. The REPL does: >>> sys.excepthook = lambda: None >>> 1/0 Error in sys.excepthook: TypeError: () takes 0 positional arguments but 3 were given Original exception was: Traceback (most recent call last): File "", line 1, in

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2021-02-12 Thread Irit Katriel
Irit Katriel added the comment: I think this issue is out of date. For Mihai's example I get: >>> class A(object): ... def __init__(self): ... raise Exception('init error') ... self.m = 'Hello world' ... def __del__(self): ... #raise RuntimeError('my runtime error') ...

[issue18163] Add a 'key' attribute to KeyError

2021-02-12 Thread Stéphane Blondon
Stéphane Blondon added the comment: I'm interested by such feature. I see examples of versions of the message provided by KeyError: - sometimes with a message (for example `PyErr_SetString(PyExc_KeyError, "name too long");` at [1]) - sometimes with the missing key (for example

[issue43212] Link to class and function source code on GitHub

2021-02-12 Thread Борис Верховский
New submission from Борис Верховский : We can use shpinx.ext.linkcode to link classes and functions/methods to their source code on GitHub from the documentation. See linked PR for screen shots. This is far from linking all the symbols in the docs, but it's gets quite a few. It would be hard

[issue43139] test_ttk test_compound and test_tk test_type fails with Tk 8.6.11.1

2021-02-12 Thread Felix Yan
Felix Yan added the comment: It's Arch Linux x86_64 with system tcl/tk. It's build in a clean chroot for packaging and always reproducible. -- ___ Python tracker ___

[issue43208] Ctypes._FuncPtr.restype doesn't handle NoneType correctly

2021-02-12 Thread Eryk Sun
Eryk Sun added the comment: NoneType would have to be replaced with None in make_funcptrtype_dict() and PyCFuncPtr_set_restype() in Modules/_ctypes/_ctypes.c. In the C API, NoneType is (PyObject *)&_PyNone_Type. -- nosy: +eryksun ___ Python

[issue43105] Can't import extension modules resolved via relative paths in sys.path on Windows

2021-02-12 Thread Steve Dower
Change by Steve Dower : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue43146] 3.10a5 regression: AttributeError: 'NoneType' object has no attribute '__suppress_context__' in traceback.py

2021-02-12 Thread Irit Katriel
Irit Katriel added the comment: In 3.9 you had to give exc,val,tb. In 3.10 the shortcut was added. Issue 26389. -- ___ Python tracker ___

[issue43146] 3.10a5 regression: AttributeError: 'NoneType' object has no attribute '__suppress_context__' in traceback.py

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: It seems to me that print_exception(None), etc, *should* raise something. Printing "NoneType: None\n" makes no sense to me since NoneType is not an exception. In 3.9, it raised TypeError for # of arguments. I do note that in 3.9 >>>

[issue26389] Expand traceback module API to accept just an exception as an argument

2021-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43140] built-in open() doesn't use locale.getpreferredencoding() as the default encoding

2021-02-12 Thread Eryk Sun
Eryk Sun added the comment: > If my understanding is right, the open() will invoke > locale.getpreferredencoding() by setting the do_setlocale=False > -- i.e. locale.getpreferredencoding(False) -- to avoid invoking > setlocale(LC_CTYPE, ""). Yes, that's the case in POSIX systems. With

[issue43145] Leak of locks from multiprocessing.Process

2021-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43144] test_unicodedata: test_normalization uses network but doesn't depend on network resource

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: After a week without response, I consider making a PR open to anyone. Whoever should add "Original patch by ..." in the message part. The patch is obvious enough that I would be willing to merge if no one else. -- keywords: +easy nosy: +terry.reedy

[issue43211] Python is not responding after running program

2021-02-12 Thread Diasy Barrett
Change by Diasy Barrett : Added file: https://bugs.python.org/file49805/Screen Shot 2021-02-12 at 23.56.46.png ___ Python tracker ___ ___

[issue43211] Python is not responding after running program

2021-02-12 Thread Diasy Barrett
New submission from Diasy Barrett : Good day all I am very new to Python programming so forgive me. The Python application is not responding after I run my program. -- components: macOS files: Screen Shot 2021-02-12 at 23.55.56.png messages: 386882 nosy: diasybarrett, ned.deily,

[issue43141] `asdict` fails with frozen dataclass keys, using raw dict form

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: On freshly compiled master on Win10, the example code gives "TypeError: unhashable type: 'dict'". -- nosy: +terry.reedy title: `asdict` fails with frozen dataclass keys; tries to use raw dict form as key -> `asdict` fails with frozen dataclass keys,

[issue43142] Do not add duplicate FDs to list in duplicate_for_child()

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.7 and before only get security fixes. -- nosy: +davin, pitrou, terry.reedy versions: -Python 3.6, Python 3.7 ___ Python tracker ___

[issue43140] built-in open() doesn't use locale.getpreferredencoding() as the default encoding

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eryk, are you suggesting that this should be closed as 'Not a bug'? -- nosy: +terry.reedy ___ Python tracker ___

[issue43139] test_ttk test_compound and test_tk test_type fails with Tk 8.6.11.1

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: When system? It appears to be some *nix. Is this a buildbot? Whose tcl/tk? Distributed with system or locally compiled? -- nosy: +serhiy.storchaka, terry.reedy ___ Python tracker

[issue43139] test_ttk test_compound and test_tk test_type fails with Tk 8.6.11.1

2021-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Tkinter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43210] Fix inaccurate byteswap comment in sha512module.c

2021-02-12 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Introduced by 1ae035b7e847064d09df01ca62b8a761e9b5aae3 -- ___ Python tracker ___ ___

[issue43172] Fix test_readline when compiled using --with-readline=edit

2021-02-12 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker ___

[issue43172] Fix test_readline when compiled using --with-readline=edit

2021-02-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset fd053fdd39fbdf114b4218ea4309666bafa95788 by Gregory P. Smith in branch 'master': bpo-43172: readline now passes its tests when built against libedit (GH-24499) https://github.com/python/cpython/commit/fd053fdd39fbdf114b4218ea4309666bafa95788

[issue19094] urljoin should raise a TypeError if URL is not a string

2021-02-12 Thread Irit Katriel
Irit Katriel added the comment: Still broken in 3.10: Running Release|x64 interpreter... Python 3.10.0a5+ (heads/master:bf2e7e55d7, Feb 11 2021, 23:09:25) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib.parse >>>

[issue43210] Fix inaccurate byteswap comment in sha512module.c

2021-02-12 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- title: Fix inaccurate byteswap comment in sha512.module.c -> Fix inaccurate byteswap comment in sha512module.c ___ Python tracker ___

[issue43205] Python Turtle Colour

2021-02-12 Thread Vedran Čačić
Vedran Čačić added the comment: It is just a matter of a different (though not very different) language. As such, it is a duplicate of https://bugs.python.org/issue24990. -- nosy: +veky ___ Python tracker

[issue43210] Fix inaccurate byteswap comment in sha512.module.c

2021-02-12 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch pull_requests: +23305 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24518 ___ Python tracker

[issue43210] Fix inaccurate byteswap comment in sha512.module.c

2021-02-12 Thread Erlend Egeberg Aasland
New submission from Erlend Egeberg Aasland : Include/internal/pycore_bitutils.h is included bco. _Py_bswap64(), not _Py_bswap32(). -- components: Library (Lib) messages: 386873 nosy: christian.heimes, erlendaasland priority: normal severity: normal status: open title: Fix inaccurate

[issue43209] system cannot find the file specified in subprocess.py

2021-02-12 Thread Steve Dower
Steve Dower added the comment: This line won't work on Windows: shell.run("rm -rf .cache".split(), cwd=repository) You should probably use shutil.rmtree(".cache") instead if you want it to be cross platform. -- ___ Python tracker

[issue30799] Improved test coverage Lib/_osx_support.py 99%

2021-02-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +macOS ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43209] system cannot find the file specified in subprocess.py

2021-02-12 Thread robert j richardson
New submission from robert j richardson : When using >python synth.py in the directory google-api-java-client-services-master python returns: synthtool > Cloning https://github.com/googleapis/discovery-artifact-manager.git. synthtool > Cleaning output directory. Traceback (most recent call

[issue43155] PyCMethod_New not defined in python3.lib

2021-02-12 Thread Petr Viktorin
Petr Viktorin added the comment: > Is there a test suite that checks that the limited API functions can all be > linked against? Not yet. There's not even consensus about exactly what functions are part of the limited API. I plan to address both issues in PEP 652 (currently in Draft

[issue43203] Default value incorrectly read with unittests on Windows & macOS but not Linux

2021-02-12 Thread Steve Dower
Steve Dower added the comment: I'm afraid there's nowhere near enough context in your post for us to look into this. Can you provide some code that you think *should* work but does not? Ideally in a post (as in, it should be that short) or as an attachment? --

[issue43206] Optional parameter got passed even when not in the call

2021-02-12 Thread Abhilash Jindal
Abhilash Jindal added the comment: Aah TIL. Thanks. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue43207] InspectLoader.is_package is not an abstract method

2021-02-12 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +23304 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24517 ___ Python tracker

[issue43208] Ctypes._FuncPtr.restype doesn't handle NoneType correctly

2021-02-12 Thread Thijs Miedema
New submission from Thijs Miedema : When setting the restype of a ctypes._FuncPtr you can use None to indicate a void function. However, I use inspect.signature to dynamically bind python functions to a DLL, and that doesn't return None but NoneType if the type hint return type is None

[issue43207] InspectLoader.is_package is not an abstract method

2021-02-12 Thread Jun
New submission from Jun : In the documentation of importlib: https://docs.python.org/3/library/importlib.html#importlib.abc.InspectLoader It says InspectLoader.is_package is an abstract method while it is not in the implementation. @abc.abstractmethod decorator was removed with this commit

[issue43206] Optional parameter got passed even when not in the call

2021-02-12 Thread Eric V. Smith
Eric V. Smith added the comment: It's hard to tell because you didn't show the whole program, but this looks like a mutable default argument problem. Basically you're changing the default value in a different call to Row().

[issue43206] Optional parameter got passed even when not in the call

2021-02-12 Thread Abhilash Jindal
New submission from Abhilash Jindal : Seeing a very unexpected behavior. A call to __init__ method is receiving extra arguments not present in the caller. Following is a debugger session to demonstrate. Notice that "data_dict" is not being passed in the caller, yet the callee is receiving

[issue43193] Installer for All users

2021-02-12 Thread Steve Dower
Steve Dower added the comment: I don't think this is resolvable without either being fixed by WiX Toolset or us completely rewriting the installer. And they've already shown very little interest in fixing this. That said, WiX Toolset was eventually funded to fix the MSI hijacking issue

[issue43205] Python Turtle Colour

2021-02-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- nosy: +gregorlingl, willingc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42624] sqlite3 package document mistake

2021-02-12 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: *error handling => exception emitted -- ___ Python tracker ___ ___ Python-bugs-list

[issue42624] sqlite3 package document mistake

2021-02-12 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: ... and also bpo-16379 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42624] sqlite3 package document mistake

2021-02-12 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Ref. bpo-24139 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42624] sqlite3 package document mistake

2021-02-12 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Exception originates from _pysqlite_seterror() in Modules/_sqlite/util.c, line 64: https://github.com/python/cpython/blob/master/Modules/_sqlite/util.c#L64 Error code 1 (SQLITE_ERROR, https://sqlite.org/rescode.html#error) is a generic sqlite3

[issue43205] Python Turtle Colour

2021-02-12 Thread Mr Johnson
New submission from Mr Johnson : An incredibly small annoyance, but as a teacher in the UK, using the Turtle library to teach students how to code, I spend more time explaining that they should use "color" instead of "colour" then actually teaching them coding! Would it be possible to add a

[issue43204] Fix LibTom URL's in hashlib comments

2021-02-12 Thread miss-islington
miss-islington added the comment: New changeset df2197f2ec410817299f671e353c2fb0a3d61cbd by Miss Islington (bot) in branch '3.9': bpo-43204: Fix LibTomCrypt URL in md5module.c and sha*module.c comments (GH-24507)

[issue43054] What does the existence of a struct in a header file imply about the C-API

2021-02-12 Thread Mark Shannon
Mark Shannon added the comment: Why do you think the distinction between category 1 and 2 is not clear? If the struct if not produced, or initialized, by an API function, then it cannot be accessed in the first place. If you can't access the struct in the first place, then you can't access

[issue43204] Fix LibTom URL's in hashlib comments

2021-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +23302 pull_request: https://github.com/python/cpython/pull/24515 ___ Python tracker ___

[issue43204] Fix LibTom URL's in hashlib comments

2021-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +23303 pull_request: https://github.com/python/cpython/pull/24516 ___ Python tracker ___

[issue43204] Fix LibTom URL's in hashlib comments

2021-02-12 Thread miss-islington
miss-islington added the comment: New changeset 5ec7d535581bc99918e032891167a96abd224ed6 by Erlend Egeberg Aasland in branch 'master': bpo-43204: Fix LibTomCrypt URL in md5module.c and sha*module.c comments (GH-24507)

[issue43204] Fix LibTom URL's in hashlib comments

2021-02-12 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch pull_requests: +23301 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24507 ___ Python tracker

[issue43204] Fix LibTom URL's in hashlib comments

2021-02-12 Thread Erlend Egeberg Aasland
New submission from Erlend Egeberg Aasland : The comments in Modules/md5module.c, Modules/sha1module.c, Modules/sha256module.c, and Modules/sha512module.c all point to http://libtom.org. However the LibTom website has in fairly recent years been relaunched at https://libtom.net. The old URL

[issue43054] What does the existence of a struct in a header file imply about the C-API

2021-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: To channel Victor: Another thing to look into is to introduce accessors for struct fields in category 1 and 2 so that the struct can be made private in the future. The difference between category 1 and 2 is sadly not very clear cut. Anything defined in