[issue15693] expose glossary link on hover

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

[issue42131] [zipimport] Update zipimport to use specs

2020-11-06 Thread Brett Cannon
Change by Brett Cannon : -- assignee: -> brett.cannon resolution: duplicate -> status: closed -> open superseder: zipimport is not PEP 3147 or PEP 488 compliant -> ___ Python tracker

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> "inspect" gets broken by some descriptors ___ Python tracker

[issue5248] Adding T_SIZET to structmember.h

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.9 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1475692] replacing obj.__dict__ with a subclass of dict

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: Calling the overridden __getitem__ is rejected due to performance. Forbidding dict subclasses is rejected because subclasses like ordereddict and defaultdict can be useful. I think the only remaining possibilities are to do nothing or to raise an error when

[issue5430] imaplib: must not replace LF or CR by CRLF in literals

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

[issue24397] Test asynchat makes wrong assumptions

2020-11-06 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 tracker ___

[issue1098749] Single-line option to pygettext.py

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.9 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42133] Update the stdlib to fall back to __spec__.parent if __loader__ isn't defined

2020-11-06 Thread Brett Cannon
Brett Cannon added the comment: New changeset 825ac383327255d38b69a753e5e41710bb3ed010 by Brett Cannon in branch 'master': bpo-42133: update parts of the stdlib to fall back to `__spec__.loader` when `__loader__` is missing (#22929)

[issue40952] GCC overflow warnings (format-overflow, stringop-overflow)

2020-11-06 Thread Nick Coghlan
Nick Coghlan added the comment: I *think* the lnotab one is the compiler failing to detect that the pointer has been updated to point inside the body of a Python object, but I'm also not 100% sure that it's a false alarm. -- nosy: +ncoghlan ___

[issue42281] Inconsistent ProcessPoolExecutor behaviour on macOS between 3.7 and 3.8/9

2020-11-06 Thread Mustafa Quraish
New submission from Mustafa Quraish : The code attached produces weird behaviour on macOS (Catalina at least) on Python3.8 / Python3.9. Issue has been reproduced on at least one other mac belonging to a friend. Does not occur on Linux as far as I have tested. I have simplified the code as

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

2020-11-06 Thread Dennis Sweeney
Dennis Sweeney added the comment: > Toward that end it would be fine to use "very high" cutoffs, and save tuning > for later. This feels reasonable to me -- I changed the cutoff to the more cautious `if (m >= 100 && n - m >= 5000)`, where the averages are very consistently faster by my

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

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: Bryan, as there isn't unanimous agreement about the feature you suggested: if you are still interested in working on this, could you bring it up on python-id...@python.org so that it can be discussed? -- nosy: +iritkatriel status: open -> pending

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-06 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +22091 pull_request: https://github.com/python/cpython/pull/23139 ___ Python tracker ___

[issue2931] optparse: various problems with unicode and gettext

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: The tests have not been merged yet. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue41832] PyType_FromSpec() should accept tp_doc=NULL

2020-11-06 Thread hai shi
hai shi added the comment: Thank you all:) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42131] [zipimport] Update zipimport to use specs

2020-11-06 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +patch pull_requests: +22090 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/23187 ___ Python tracker

[issue20543] ** operator does not overflow to inf

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: If there are no objections, I will close this as a duplicate of issue3222. -- nosy: +iritkatriel resolution: -> duplicate status: open -> pending superseder: -> inf*inf gives inf, but inf**2 gives overflow error

[issue9849] Argparse needs better error handling for nargs

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: This is fixed now: Python 3.10.0a2+ (heads/bpo-42184:f3cb814315, Nov 7 2020, 00:31:51) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import argparse >>> parser = argparse.ArgumentParser() >>>

[issue8488] Docstrings of non-data descriptors "ignored"

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: Ah yes. Bisect seems to be pointing at this commit: https://github.com/python/cpython/commit/fbf2786c4c89430e2067016603078cf3500cfe94 -- ___ Python tracker

[issue6981] locale.getdefaultlocale() envvars default code and documentation mismatch

2020-11-06 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 tracker ___

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-06 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +22092 pull_request: https://github.com/python/cpython/pull/23188 ___ Python tracker ___

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2020-11-06 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: No. setup.py still contains several hardcoded paths with "lib" (e.g. "/usr/local/lib", "/usr/lib/termcap"). There are also some places in setup.py which check both "lib64" and "lib", but such checks can possibly return incorrect results

[issue42282] Constant folding is skipped in named expressions

2020-11-06 Thread Nick Coghlan
New submission from Nick Coghlan : While working on the PEP 642 reference implementation I removed the "default:" case from the switch statement in astfold_expr as part of making sure the new SkippedBinding node was being handled everywhere it needed to be. This change picked up that

[issue42275] Jupyter Lab Terminals not available (error was No module named 'winpty.cywinpty')

2020-11-06 Thread shakir_juolay
New submission from shakir_juolay : I get the below message when I run Jupyter Lab D:\Users\sjuolay>jupyter lab [W 12:37:50.862 LabApp] Terminals not available (error was No module named 'winpty.cywinpty') [I 12:37:51.170 LabApp] JupyterLab extension loaded from

[issue42271] Remove the error and the zipfile.ZipFile.BadZipfile aliases

2020-11-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +alanmcintyre, serhiy.storchaka, twouters ___ Python tracker ___ ___ Python-bugs-list

[issue42275] Jupyter Lab Terminals not available (error was No module named 'winpty.cywinpty')

2020-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The tracker is for issues related to CPython and doesn't seem to be caused due to python itself. I would suggest following it up on jupyterlab's issue tracker and forums. -- nosy: +xtreak ___ Python

[issue11346] Generator object should be mentioned in gc module document

2020-11-06 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue42274] Imaplib hangs up infinitely when performing append operation

2020-11-06 Thread Eric V. Smith
Eric V. Smith added the comment: The bug tracker isn't the appropriate place to ask for help. Your problem is most likely with your code, or possibly with the server you're talking to. But you haven't provided us any way of knowing which. I suggest you ask for help on the python-list

[issue42276] Bug in adfuller test and a suggested fix

2020-11-06 Thread Guo
New submission from Guo : from statsmodels.tsa.stattools import adfuller adf = adfuller(x, regression=‘c’, autolag=‘t-stat’) Sometimes comes error message: UnboundLocalError: local variable ‘bestlag’ referenced before assignment I found the reason: when using t-stat, bestlag is only assigned,

[issue42276] Bug in adfuller test and a suggested fix

2020-11-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: Statsmodel is not part of the Python standard library. The issue tracker for this packages seems to be at: https://github.com/statsmodels/statsmodels/issues -- nosy: +ronaldoussoren resolution: -> third party stage: -> resolved status: open ->

[issue42207] Python 3.9 testing fails when building with clang and optimizations are enabled

2020-11-06 Thread STINNER Victor
STINNER Victor added the comment: commit 100964e0310d3a2040d0db976f7984d0507b2dbd Author: serge-sans-paille Date: Wed Nov 4 23:01:08 2020 + Disable peg generator tests when building with PGO (GH-23141) Otherwise, when running the testsuite, test_peg_generator tries to

[issue16212] mmap() dumps core upon resizing the underlying file

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

[issue42173] Drop Solaris support

2020-11-06 Thread STINNER Victor
STINNER Victor added the comment: Gaige B Paulsen offered to set up a SmartOS (Illumos-derived) buildbot: https://mail.python.org/archives/list/python-buildb...@python.org/thread/7HGPHD3WZG6V6NVP6EGQO6NHZ3DAPPXN/ -- ___ Python tracker

[issue12739] read stuck with multithreading and simultaneous subprocess.Popen

2020-11-06 Thread STINNER Victor
STINNER Victor added the comment: > Oh by the way, this issue was fixed on UNIX in Python 3.2: all file > descriptors are now closed by default (close_fds=True by default on UNIX). Issue fixed in Python 3.4 (sorry, 3.4, not 3.2): https://www.python.org/dev/peps/pep-0446/ --

[issue8988] import + coding = failure (3.1.2/win32)

2020-11-06 Thread STINNER Victor
STINNER Victor added the comment: > See also #3080 for the full unicode support in the import machinery. I'm confident that I fixed this issue in bpo-3080. I mark this one as a duplicate. -- resolution: -> duplicate stage: test needed -> resolved status: pending -> closed

[issue6304] Confusing error message when passing bytes to print with file pointing to a binary file

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- stage: test needed -> versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.2, Python 3.3 ___ Python tracker ___

[issue41832] PyType_FromSpec() should accept tp_doc=NULL

2020-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 88c2cfd9ffbcfc43fd1364f2984852a819547d43 by Hai Shi in branch 'master': bpo-41832: PyType_FromModuleAndSpec() now accepts NULL tp_doc (GH-23123) https://github.com/python/cpython/commit/88c2cfd9ffbcfc43fd1364f2984852a819547d43 --

[issue41832] PyType_FromSpec() should accept tp_doc=NULL

2020-11-06 Thread STINNER Victor
STINNER Victor added the comment: Thanks Hai Shi. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue16238] Automatically remove build directory when build options changed

2020-11-06 Thread Éric Araujo
Change by Éric Araujo : -- assignee: eric.araujo -> components: -Distutils versions: -Python 3.8, Python 3.9 ___ Python tracker ___

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: Was this resolved by the fix for https://bugs.python.org/issue32059? -- nosy: +iritkatriel ___ Python tracker ___

[issue12739] read stuck with multithreading and simultaneous subprocess.Popen

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: I will close this as out of date unless someone objects. -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___

[issue42277] Solaris & PEP 3149: start using ABI version tagged .so files

2020-11-06 Thread Jakub Kulik
Change by Jakub Kulik : -- keywords: +patch pull_requests: +22088 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23182 ___ Python tracker ___

[issue41839] Solaris: Fix error checking in sched_get_priority_ functions

2020-11-06 Thread Jakub Kulik
Jakub Kulik added the comment: > Checking for -1 rather than all negative values fixes this issue. To be 100% exact, it should be "checking for -1 and errno" (as other Jakub noted in the PR). Here is the standard for reference:

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

2020-11-06 Thread STINNER Victor
Change by STINNER Victor : -- title: FAIL tkinter ttk LabeledScale test_resize, and more -> test_ttk timeout: FAIL tkinter ttk LabeledScale test_resize, and more ___ Python tracker

[issue42277] Solaris & PEP 3149: start using ABI version tagged .so files

2020-11-06 Thread Jakub Kulik
New submission from Jakub Kulik : Solaris doesn't have ABI version tagged .so files enabled in upstream CPython yet, but almost every Solaris distribution* patches this functionality in: Oracle Solaris:

[issue42278] Remove usage of tempfile.mktemp in stdlib

2020-11-06 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42173] Drop Solaris support

2020-11-06 Thread STINNER Victor
STINNER Victor added the comment: Copy of my email sent to python-dev. https://mail.python.org/archives/list/python-...@python.org/message/46UUJ4J5YLCWF2JQMC5L7OIYG6PNQLRL/ Since I created the issue and the PR, and sent this email to python-dev (one week ago), many Solaris and Solaris-like

[issue42173] Drop Solaris support

2020-11-06 Thread STINNER Victor
STINNER Victor added the comment: This issue title is "Drop Solaris support". I no longer plan to drop Solaris support. I suggest to open new issues and continue the discussion there. -- ___ Python tracker

[issue38119] resource tracker destroys shared memory segments when other processes should still have valid access

2020-11-06 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8988] import + coding = failure (3.1.2/win32)

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: I think this can be closed as out of date. -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___

[issue42278] Remove usage of tempfile.mktemp in stdlib

2020-11-06 Thread E. Paine
New submission from E. Paine : Currently, there are many uses of `tempfile.mktemp` in the stdlib. I couldn't find an issue where this has already been discussed, but I think the usage of mktemp in the stdlib should be completely reviewed. I grepped the Lib and a slightly filtered version is

[issue13122] Out of date links in the sidebar of the documentation index of versions 3.1 and 3.2

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: This is still unresolved. For instance, this says 3.7 is in development: https://docs.python.org/release/3.6.2/ -- nosy: +iritkatriel versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.1, Python 3.2 ___ Python

[issue16238] Automatically remove build directory when build options changed

2020-11-06 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 ___

[issue25516] threading.Condition._is_owned() is wrong when using threading.Lock

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

[issue15049] [doc] say in open() doc that line buffering only applies to write

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- title: line buffering isn't always -> [doc] say in open() doc that line buffering only applies to write versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.2, Python 3.3 ___ Python tracker

[issue25516] threading.Condition._is_owned() is wrong when using threading.Lock

2020-11-06 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 ___

[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: There are still several tests that use find_unused_port: test_asyncio/test_events.py test_asyncio/test_proactor_events.py test_asyncio/test_sendfile.py test_asyncio/test_unix_events.py test_ftplib.py test_httplib.py test_largefile.py test_socket.py

[issue12588] test_capi.test_subinterps() failed on OpenBSD (powerpc)

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

[issue13433] [doc] Improve string format documentation regarding %g

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- title: String format documentation contains error regarding %g -> [doc] Improve string format documentation regarding %g versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python

[issue16212] mmap() dumps core upon resizing the underlying file

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

[issue25769] Crash due to using weakref referent without acquiring a strong reference

2020-11-06 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 ___

[issue12625] sporadic test_unittest failure

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: Is this test still failing? Or can this be closed? -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___

[issue6253] optparse.OptionParser.get_usage uses wrong formatter

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: Jan, if you are still interested in fixing this you would need to add a test to the patch. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.6 ___ Python tracker

[issue12436] [doc] Missing items in installation/setup instructions

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- title: Missing items in installation/setup instructions -> [doc] Missing items in installation/setup instructions versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue16399] argparse: append action with default list adds to list instead of overriding

2020-11-06 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 tracker ___

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

2020-11-06 Thread Dennis Sweeney
Dennis Sweeney added the comment: I used the following script, and the raw results are attached. import pyperf runner = pyperf.Runner() ms = [12, 16, 24, 32, 48, 64, 96, 128, 192, 256, 384, 512, 768, 1024, 1536] ns = [2000, 3000, 4000, 6000, 8000,

[issue29086] Document C API that is not part of the limited API

2020-11-06 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +22089 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23185 ___ Python tracker

[issue16878] argparse: positional args with nargs='*' defaults to []

2020-11-06 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 tracker ___

[issue8488] Docstrings of non-data descriptors "ignored"

2020-11-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 3.7 (2.7 looks almost the same): class Demo(builtins.object) | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined)

[issue12611] 2to3 crashes when converting doctest using reduce()

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: The test in issue12611_test.patch is still failing. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue27408] Document importlib.abc.ExecutionLoader implements get_data()

2020-11-06 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue27408] Document importlib.abc.ExecutionLoader implements get_data()

2020-11-06 Thread Brett Cannon
Brett Cannon added the comment: Not necessary to specify as InspectLoader also provides get_data() concretely now. -- ___ Python tracker ___

[issue1375011] http.cookies, Cookie.py: Improper handling of duplicate cookies

2020-11-06 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 tracker ___

[issue16834] ioctl mutate_flag behavior in regard to the buffer size limit

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

[issue42280] The list of standard generic collections is incomplete

2020-11-06 Thread jack1142
New submission from jack1142 : It looks like the documentation lists standard library collections that support parameterized generics[1] however, it seems to only feature a part of all the collections that support parametrizing (I'm going by the list that was produced by Ethan Smith[2], it

[issue42279] replacements function corrupts file

2020-11-06 Thread Zachary Ware
Change by Zachary Ware : -- components: -IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42279] replacements function corrupts file

2020-11-06 Thread Zachary Ware
Zachary Ware added the comment: That's because you're writing an output line once per replacement rather than once per input line. For usage questions such as this, you'll be better off on a forum such as discuss.python.org, the python-l...@python.org mailing list, or the Python Discord

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

2020-11-06 Thread Dennis Sweeney
Dennis Sweeney added the comment: I am attempting to better understand the performance characteristics to determine where a cutoff should go. Attached is a colorful table of benchmarks of the existing algorithm to the PR with the cutoff changed to `if (1)` (always two-way) or `if (0)`

[issue40379] multiprocessing's default start method of fork()-without-exec() is broken

2020-11-06 Thread Itamar Turner-Trauring
Itamar Turner-Trauring added the comment: Another person with the same issue: https://twitter.com/volcan01010/status/1324764531139248128 -- nosy: +itamarst2 ___ Python tracker

[issue11176] [doc] give more meaningful argument names in argparse documentation

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- title: give more meaningful argument names in argparse documentation -> [doc] give more meaningful argument names in argparse documentation versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3

[issue7057] tkinter doc: more 3.x updates

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

[issue17404] ValueError: can't have unbuffered text I/O for io.open(1, 'wt', 0)

2020-11-06 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 tracker ___

[issue14019] Unify tests for str.format and string.Formatter

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

[issue8488] Docstrings of non-data descriptors "ignored"

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: I got this output on 3.10, so I think this has been fixed: lass Demo(builtins.object) | Readonly properties defined here: | | data | | non_data | | prop | Doc of a property. | |

[issue42279] replacements function corrupts file

2020-11-06 Thread John Dutcher
New submission from John Dutcher : If the file below 0f 239 records is processed by the code below it throws no errors and writes the output...but the output has 615 records instead of 239 seemingly having written any revised ones three times instead of only once. replacements = {'/1':'/01',

[issue32300] print(os.environ.keys()) should only print the keys

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- type: -> behavior versions: +Python 3.10, Python 3.9 -Python 3.7 ___ Python tracker ___ ___

[issue27387] Thread hangs on str.encode() when locale is not set

2020-11-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27182] PEP 519 support in the stdlib

2020-11-06 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue27129] Wordcode, part 2

2020-11-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10551] mimetypes read from the registry should not overwrite standard mime mappings

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: >From the discussion I conclude that all three issues reported here have been >resolved. If nobody objects I will close this issue. -- nosy: +iritkatriel resolution: not a bug -> out of date status: open -> pending

[issue8041] No documentation for Py_TPFLAGS_HAVE_STACKLESS_EXTENSION or Py_TPFLAGS_HAVE_VERSION_TAG.

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

[issue8535] passing optimization flags to the linker required for builds with gcc -flto

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: I think this was resolved by issue9189. -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___

[issue10016] shutil.copyfile -- allow sparse copying

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue27226] distutils: unable to compile both .opt-1.pyc and .opt2.pyc simultaneously

2020-11-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1576313] [doc] os.execvp[e] on win32 fails for current directory

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- title: os.execvp[e] on win32 fails for current directory -> [doc] os.execvp[e] on win32 fails for current directory versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

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

2020-11-06 Thread Tim Peters
Tim Peters added the comment: I'm sorry I haven't been able to give more time to this. I love what's been done, but am just overwhelmed :-( The main thing here is to end quadratic-time disasters, without doing significant damage in other cases. Toward that end it would be fine to use "very

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

2020-11-06 Thread Tim Peters
Tim Peters added the comment: But that also suggests a different approach: start with the current code, but add introspection to switch to your enhancement of C if the current code is drifting out of linear-time territory. -- ___ Python tracker

[issue25228] Regression in http.cookies parsing with brackets and quotes

2020-11-06 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 ___

[issue42275] Jupyter Lab Terminals not available (error was No module named 'winpty.cywinpty')

2020-11-06 Thread shakir_juolay
shakir_juolay added the comment: I do not think the issue is related to Jupyter since even import winpty in Python IDLE is giving the same error. I resolved the issue by doing the following but I do not know which of them is the main culprit. 1. Downgraded to Python 3.8.5 (pywinpty

  1   2   >