[issue45914] Very first multiprocessing example not working on Windows 11

2021-11-27 Thread Alex Waygood
Change by Alex Waygood : -- type: crash -> behavior versions: -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

[issue23010] "unclosed file" warning when defining unused logging FileHandler in dictConfig

2021-11-27 Thread Vinay Sajip
Vinay Sajip added the comment: This had dropped off my radar completely, but I still can't see where there's an actual bug here. This simplified script: import logging import sys LOGGING = { 'version': 1, 'handlers': { 'logfile': { 'level': 'DEBUG',

[issue23599] single and double quotes stripped upon paste with MacPorts libedit

2021-11-27 Thread Ned Deily
Ned Deily added the comment: Getting back to this old issue, retesting with a current MacPorts Python 3.9.9 and libedit @20210910-3.1_1, I no longer see the problematic disappearance of the smart quotes; the example now produces the expected "invalid character in identifier" SyntaxError. So

[issue45904] Pasting the U00FF character into Python REPL misinterprets character

2021-11-27 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. macOS does not ship with the GNU readline library due to its GPL licensing and instead relies on the BSD editline library, libedit, which, while providing similar functionality, has a different API than GNU readline. However, editline does

[issue45914] Very first multiprocessing example not working on Windows 11

2021-11-27 Thread Eryk Sun
Eryk Sun added the comment: > AttributeError: Can't get attribute 'f' > on The Windows API only supports the spawn method of process creation. In POSIX (except macOS), the default is the fork method, for which the child inherits the interactive main module of the parent. If you switch to

[issue45116] Performance regression 3.10b1: inlining issue in the big _PyEval_EvalFrameDefault() function with Visual Studio (MSC)

2021-11-27 Thread neonene
neonene added the comment: I requested the MSVC team to reconsider the inlining issues, including __forceinline. https://developercommunity.visualstudio.com/t/1595341 The stuck at link due to __forceinline can be avoided by completing the _Py_DECREF optimization outside

[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

2021-11-27 Thread Ma Lin
Ma Lin added the comment: This issue is not resolved, but was covered by a problematic behavior. Maybe this issue will be solved in issue44092, I'll study that issue later. -- ___ Python tracker

[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

2021-11-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- stage: resolved -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45914] Very first multiprocessing example not working on Windows 11

2021-11-27 Thread Chang Zhou
New submission from Chang Zhou : Very first multiprocessing example not working on Windows 11 https://docs.python.org/3/library/multiprocessing.html from multiprocessing import Pool def f(x): return x*x if __name__ == '__main__': with Pool(5) as p: print(p.map(f, [1, 2, 3]))

[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

2021-11-27 Thread Ma Lin
Ma Lin added the comment: Since 243b6c3b8fd3144450c477d99f01e31e7c3ebc0f (21-08-19), this bug can't be reproduced. In `pysqlite_do_all_statements()`, 243b6c3 resets statements like this: sqlite3_stmt *stmt = NULL; while ((stmt = sqlite3_next_stmt(self->db, stmt))) { if

[issue19460] Add test for MIMENonMultipart

2021-11-27 Thread jiahua wang
Change by jiahua wang : -- keywords: +patch nosy: +180909 nosy_count: 4.0 -> 5.0 pull_requests: +28049 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29817 ___ Python tracker

[issue45913] Doctest Seg Fault with Python 3.10 on CI

2021-11-27 Thread Dan Yeaw
New submission from Dan Yeaw : When running pytest --doctest-modules, I am getting seg faults on the GitHub Actions CI when running doctests covering module docstrings. runner@fv-az177-300:~/work/gaphor/gaphor$ source .venv/bin/activate (.venv) runner@fv-az177-300:~/work/gaphor/gaphor$

[issue45912] [argparse] Print texts starting with capital letters and finish with dot for more formality

2021-11-27 Thread Silvio Clecio
New submission from Silvio Clecio : Using a simple program as example, the argparse library prints the following text: usage: app.py [-h] options: -h, --help show this help message and exit However, for more formality, it would be nice to print something like this: Usage: app.py [-h]

[issue45911] SystemError occured while running an extention

2021-11-27 Thread xmlsax
New submission from xmlsax <1627213...@qq.com>: I got an while running openfile.open. Python release 3.9.6 -- components: C API files: openfile.c messages: 407182 nosy: xmlsax priority: normal severity: normal status: open title: SystemError occured while running an extention type:

[issue45902] Bytes and bytesarrays can be sorted with a much faster count sort.

2021-11-27 Thread Gregory P. Smith
Gregory P. Smith added the comment: General consensus: There isn't a common need for this. -- nosy: +gregory.p.smith resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Guido van Rossum
Guido van Rossum added the comment: Okay, so that's all hypothetical. It looks like the status quo is not likely to change, so we should just document it. I wonder if keeely is interested in submitting a PR for the docs? -- ___ Python tracker

[issue23819] test_asyncio fails when run under -O

2021-11-27 Thread Guido van Rossum
Guido van Rossum added the comment: I'm sure there's more to it, but I found at least this failure: ~/cpython$ ./python.exe -O -m test test_asyncio -m test_set_event_loop Raised RLIMIT_NOFILE: 256 -> 1024 0:00:00 load avg: 2.02 Run tests sequentially 0:00:00 load avg: 2.02 [1/1] test_asyncio

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Eryk Sun
Eryk Sun added the comment: > What does "the builtin readline support" refer to here? > Presumably not GNU Readline? That's referring to the readline(ish) support that's built into the console host for ReadFile() and ReadConsole() calls when the input stream is in line-input mode. I've

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks, Eryk, I only read the part of the issue that landed in my inbox (fhe first message and everything after Terry added me to the nosy list). Sorry. You wrote: > The console/terminal team at Microsoft apparently don't want to do anything > with the

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Eryk Sun
Eryk Sun added the comment: > AFAIK the reason command history works in cmd.py on Windows is > that it's built into the terminal program. Or maybe into the > operating system. As mentioned in msg406800, input editing, history (e.g. up/down arrows, F7 popup, F8 completion), and alias support

[issue45558] shutil.copytree: Give the option to disable copystat

2021-11-27 Thread Doron Behar
Doron Behar added the comment: > Can you provide a description of what motivated you to change the behavior or > what benefits this change would have for you or others? Sometimes, you wish to copy a whole directory from a read-only file system and you don't want it to be read-only in the

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Guido van Rossum
Guido van Rossum added the comment: AFAIK the reason command history works in cmd.py on Windows is that it's built into the terminal program. Or maybe into the operating system. Thus, the user can use line editing and history, but there is no API (in Python) to interact with these. I'm

[issue45614] traceback of exception with non-unicode __module__

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: New changeset 4dfae6f38e1720ddafcdd68043e476ecb41cb4d5 by Irit Katriel in branch 'main': bpo-45614: Fix traceback display for exceptions with invalid module name (GH-29726) https://github.com/python/cpython/commit/4dfae6f38e1720ddafcdd68043e476ecb41cb4d5

[issue45614] traceback of exception with non-unicode __module__

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Eryk Sun
Eryk Sun added the comment: > You can take the view that it's not a bug (with some justification), > but a few lines in the cmd docs would make all the difference in > terms of wasted time. If anything, I think the readline documentation should have a note explaining the situation in

[issue24040] plistlib assumes dict_type is descendent of dict

2021-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch LGTM, and I have nothing to add. Ronald, do you mind to create a PR. -- assignee: -> ronaldoussoren nosy: +serhiy.storchaka ___ Python tracker

[issue45902] Bytes and bytesarrays can be sorted with a much faster count sort.

2021-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Raymond. It is difficult to find any use case for sorting bytes objects (I cannot find any). As for using radix sort in list.sort() in special case of small integer keys, it is difficult to implement, because we should preserve the initial

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Guido and Raymond, you are the two active coredevs that have contributed the most lines to cmd module. What do either of you think? -- nosy: +gvanrossum, rhettinger ___ Python tracker

[issue45908] dict.fromkeys insertion order

2021-11-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sorry, you obviously mean https://docs.python.org/3/library/cmd.html#module-cmd What to add where still applies. -- ___ Python tracker ___

[issue45908] dict.fromkeys insertion order

2021-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What else can it be? dict.fromkeys() adds keys in the order of obtaining them, and it obtains them by iterating its argument. If we need a special note here, we need a special note for list(), tuple(), filter(), enumerate() and all other functions which

[issue45908] dict.fromkeys insertion order

2021-11-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the suggestion but I’m going to decline. We has many APIS that consume an iterable and all of them do so In iteration order. Even the regular dict() constructor takes an iterable of tuples and adds them in iteration order. Also, I’m not

[issue45881] Cross compiling on Linux is untested, undocumented, and broken

2021-11-27 Thread Christian Heimes
Christian Heimes added the comment: New changeset 545aebd2ecef9f6c3b2ca1973e3e0515d8355ce3 by Christian Heimes in branch '3.10': [3.10] bpo-45881: Use CC from env first for cross building (GH-29752). (GH-29753)

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: What specific sentences would you like where in which doc. (Please link as 'cmd doc' is too vague.) -- ___ Python tracker ___

[issue43286] [doc] Clarify that Popen.returncode does not get auto-set when the process terminates

2021-11-27 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33581] Document "optional components that are commonly included in Python distributions."

2021-11-27 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27161] Confusing exception in Path().with_name

2021-11-27 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45909] sysconfig --generate-posix-vars creates wrong file when cross compiling

2021-11-27 Thread Christian Heimes
Christian Heimes added the comment: I just realized that PYTHON_FOR_BUILD is far more complicated. Our WASM build system sets the env var to "$(pwd)/cpython/builddir/build/python". The configure script expects us to set several additional env vars. The logic goes like this for cross

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread keeely
keeely added the comment: You can take the view that it's not a bug (with some justification), but a few lines in the cmd docs would make all the difference in terms of wasted time. I have now abandoned my Windows port and suggested users install WSL2 instead which is the easiest way

[issue43286] [doc] Clarify that Popen.returncode does not get auto-set when the process terminates

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- components: +Library (Lib) keywords: +easy title: Clarify that Popen.returncode does not get auto-set when the process terminates -> [doc] Clarify that Popen.returncode does not get auto-set when the process terminates versions: +Python 3.11, Python 3.9

[issue25477] text mode for pkgutil.get_data

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: Closing due to lack of interest (the OP removed himself from the nosy list, and it is empty now). -- nosy: +iritkatriel resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue33581] Document "optional components that are commonly included in Python distributions."

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue27161] Confusing exception in Path().with_name

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: I agree that it's not worth changing the code for this. If someone tries to pass {"a": "b"} as a name then, yeah, they get a weird error message. -- nosy: +iritkatriel resolution: -> rejected stage: -> resolved status: open -> closed

[issue42268] ./configure failing when --with-memory-sanitizer specified

2021-11-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +28048 pull_request: https://github.com/python/cpython/pull/29815 ___ Python tracker ___

[issue42268] ./configure failing when --with-memory-sanitizer specified

2021-11-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e71c12efcddc1076d5367461a5b416092267aa77 by Pablo Galindo Salgado in branch 'main': bpo-42268: Fail the configure step if the selected compiler doesn't support memory sanitizer (GH-29806)

[issue23991] ZipFile sanity checks

2021-11-27 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25477] text mode for pkgutil.get_data

2021-11-27 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45907] Optimize literal comparisons and contains

2021-11-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: On the other hand, we can probably just remove the TODO -- ___ Python tracker ___ ___

[issue45907] Optimize literal comparisons and contains

2021-11-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I agree with Serhiy and Batuhan. Please reach to python-dev of you really want to pursue this even after what has been already discussed. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed

[issue24851] infinite loop in faulthandler._stack_overflow

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: I think this was fixed in issue38965. -- nosy: +iritkatriel, ned.deily resolution: -> duplicate status: open -> pending superseder: -> test_stack_overflow (test.test_faulthandler.FaultHandlerTests) is stuck with GCC10

[issue23991] ZipFile sanity checks

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: I get NotADirectory errors now, I believe they were added in issue40564. -- nosy: +iritkatriel resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Using zipfile.Path with several files prematurely closes zip

[issue45910] mailbox should support options for calling email parser

2021-11-27 Thread bpoaugust
New submission from bpoaugust : It looks like mailbox uses email.message_from_... for parsing emails. However it does not allow for passing any options to the parser. In particular the policy cannot be provided. It would be useful if there was a way to pass such options. --

[issue45908] dict.fromkeys insertion order

2021-11-27 Thread Vedran Čačić
Vedran Čačić added the comment: Absolutely, but that's not my problem. I take your sentence to mean that when I do something with a _dict_ argument, it should try to preserve its insertion order as much as possible (given the semantics of the concrete method in question). I agree. But my

[issue21557] [doc] os.popen & os.system lack shell-related security warnings

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- title: os.popen & os.system lack shell-related security warnings -> [doc] os.popen & os.system lack shell-related security warnings versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5 ___ Python

[issue17708] sys.flags.hash_randomization doesn't return correct value

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: This is working now (note that since 3.10 hash randomisation is enabled by default): cpython % export PYTHONHASHSEED=random cpython % ./python.exe -c "import sys; print(sys.flags.hash_randomization)" 1 cpython % export PYTHONHASHSEED=0

[issue22755] contextlib.closing documentation should use a new example

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___

[issue23010] "unclosed file" warning when defining unused logging FileHandler in dictConfig

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.11 -Python 3.4 ___ Python tracker ___

[issue45902] Bytes and bytesarrays can be sorted with a much faster count sort.

2021-11-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I’m -1 on this. Given that use cases are rare, there is no need to burden the code base with an optimization of something we can already do in other ways. Also, I don’t like that the APIs for list.sort(), bytes.sort(), and bytearray.sort() wouldn’t match.

[issue22996] Order of _io objects finalization can lose data in reference cycles

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4, Python 3.5 ___ Python tracker

[issue24301] gzip module failing to decompress valid compressed file

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11: >>> from gzip import GzipFile >>> from io import BytesIO >>> file = BytesIO() >>> with GzipFile(fileobj=file, mode="wb") as z: ... z.write(b"data") ... 4 >>> file.write(b"garbage") 7 >>> file.seek(0) 0 >>> GzipFile(fileobj=file).read()

[issue28352] winfo_pathname(..) | window id "xyz" doesn't exist in this application. | Python 3.4.4

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: Closing as there is not enough information to understand the issue and there were no replies to followup questions. Please create a new issue if you are still seeing this problem on a current version (>= 3.9). -- nosy: +iritkatriel resolution: ->

[issue23950] Odd behavior with "file" and "filename" attributes in cgi.FieldStorage

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45908] dict.fromkeys insertion order

2021-11-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: All the dict methods retain insertion order. There is nothing special about fromkeys(). -- ___ Python tracker ___

[issue25477] text mode for pkgutil.get_data

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- type: -> enhancement versions: +Python 3.11 -Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue26346] PySequenceMethods documentation missing sq_slice and sq_ass_slice

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- components: +C API type: -> enhancement versions: +Python 3.11 -Python 3.5 ___ Python tracker ___ ___

[issue45907] Optimize literal comparisons and contains

2021-11-27 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: We just rejected the same issue 2 days ago. If you feel very strong about this; instead of creating new ticket in the same place, you might want to try python-dev instead. Re: the todo comment, feel free to send a patch that removes it. I don't thank

[issue45907] Optimize literal comparisons and contains

2021-11-27 Thread theeshallnotknowethme
theeshallnotknowethme added the comment: List and sets as right operands in literal contains are optimized to constant tuples and frozensets, and I'd like to take this optimization a step further. -- ___ Python tracker

[issue45909] sysconfig --generate-posix-vars creates wrong file when cross compiling

2021-11-27 Thread Ethan Smith
Change by Ethan Smith : -- nosy: +ethan smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23360] Content-Type when sending data with urlopen()

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: Martin, I think you fixed this in https://github.com/python/cpython/commit/3c0d0baf2badfad7deb346d1043f7d83bb92691f#diff-533bd604631e0e26ce55dfa75a878788f3c4d7d7ccb3bbaeaa2ee2a9c956ffe8 -- nosy: +iritkatriel resolution: -> out of date status: open ->

[issue24040] plistlib assumes dict_type is descendent of dict

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19737] Documentation of globals() and locals() should be improved

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___

[issue25415] [doc] "there is no public constructor" should be reworded in io module documentation

2021-11-27 Thread Irit Katriel
Irit Katriel added the comment: Martin's patch needs to be converted to a GitHub PR and reviewed. -- keywords: +easy -patch nosy: +iritkatriel title: I can create instances of io.IOBase -> [doc] "there is no public constructor" should be reworded in io module documentation type: ->

[issue23323] [doc] mention that flags arg to imaplib's append should be a string

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: Issue with imaplib and append messages passing a tuple with flags -> [doc] mention that flags arg to imaplib's append should be a string type: -> enhancement versions: +Python 3.11 -Python 2.7, Python 3.4, Python 3.5

[issue21914] Create unit tests for Turtle guionly

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- type: -> enhancement versions: +Python 3.11 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list

[issue45881] Cross compiling on Linux is untested, undocumented, and broken

2021-11-27 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: +sysconfig --generate-posix-vars creates wrong file when cross compiling ___ Python tracker ___

[issue45909] sysconfig --generate-posix-vars creates wrong file when cross compiling

2021-11-27 Thread Christian Heimes
New submission from Christian Heimes : "sysconfig --generate-posix-vars" creates pybuilddir.txt and a platform-specific sysconfig data file like build/lib.linux-x86_64-3.11/_sysconfigdata__linux_x86_64-linux-gnu.py When creating a cross-compile build of Python, sysconfig mixes data from the

[issue15498] Eliminate the use of deprecated OS X APIs in getpath.c

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22811] _top_level_dir state leaks on defaultTestLoader

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods ___ Python tracker

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11 -Python 2.7, Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue23819] test_asyncio fails when run under -O

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10483] http.server - what is executable on Windows

2021-11-27 Thread mike mcleod
mike mcleod added the comment: I will work on this next week. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1284670] Allow to restrict ModuleFinder to get "direct" dependencies

2021-11-27 Thread mike mcleod
mike mcleod added the comment: Ok, I will work on this soon and make further comments. -- ___ Python tracker ___ ___

[issue45907] Optimize literal comparisons and contains

2021-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > It doesn't seem to make sense why other operations on literals are optimized > but these particular ones aren't optimized (much). The existing optimizer optimizes the following cases (note that the parser does not produce negative or complex numbers,

[issue45653] Freeze the encodings module.

2021-11-27 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +28047 pull_request: https://github.com/python/cpython/pull/29814 ___ Python tracker ___

[issue20126] sched doesn't handle at the expected time those events which are added after scheduler starts

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- title: sched doesn't handle events added after scheduler starts as expected -> sched doesn't handle at the expected time those events which are added after scheduler starts ___ Python tracker

[issue45903] What’s New In Python 3.11: wrong reference to Signature.from_callable

2021-11-27 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Thanks Jakub! I've made https://github.com/python/cpython/pull/29813 to fix it. -- ___ Python tracker ___

[issue45320] Remove deprecated inspect functions

2021-11-27 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +28046 pull_request: https://github.com/python/cpython/pull/29813 ___ Python tracker ___

[issue45903] What’s New In Python 3.11: wrong reference to Signature.from_callable

2021-11-27 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +28045 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29813 ___ Python tracker

[issue45908] dict.fromkeys insertion order

2021-11-27 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +methane, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45908] dict.fromkeys insertion order

2021-11-27 Thread Vedran Čačić
New submission from Vedran Čačić : I'm sure this is exactly how it should work, I just want to know if you think it is documented properly, so I can rely on it. In my opinion the docs should be more precise. >>> ''.join(dict.fromkeys('axbxc')) 'axbc' Is this guaranteed by the documentation?