[issue38443] unavailable --with-universal-archs= macOS confgure options fail cryptically

2020-10-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: A fairly simple change is to check if compiling a file with the specified set of "-arch" flags works, and bail out with a nice error message if it doesn't. Something like this works: diff --git a/configure.ac b/configure.ac index f0bc8c6258..e26cdc8607 100

[issue40592] `Shutil.which` incosistent with windows's `where`

2020-10-22 Thread Christopher Marchfelder
Christopher Marchfelder added the comment: @steve.dower Your advice did it, is fixed and green! :) Thank you again -- ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: setuptools and other active build tools are the better target for this feature. -- assignee: eric.araujo -> resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue40289] Document how to get Python's bin / Scripts directory

2020-10-22 Thread Éric Araujo
Change by Éric Araujo : -- stage: -> needs patch title: "highlighting" how to get Python's Scripts directory in the documentation -> Document how to get Python's bin / Scripts directory versions: +Python 3.10 -Python 3.5, Python 3.6, Python 3.7 ___

[issue16401] mention PKG-INFO in the documentation

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: It is documented here: https://packaging.python.org/guides/using-manifest-in/#how-files-are-included-in-an-sdist Packaging doc has moved from versioned Python docs to this unique external guide, so I’m closing this. -- resolution: -> works for me stage

[issue26955] Implement equivalent to `pip.locations.distutils_scheme` in sysconfig

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: If added, this should be in sysconfig, not distutils. -- components: +Library (Lib) -Distutils title: Implement equivalent to `pip.locations.distutils_scheme` in distutils -> Implement equivalent to `pip.locations.distutils_scheme` in sysconfig versions:

[issue38727] setup.py sdist --format=gztar should use (equivalent of) `gzip -n`

2020-10-22 Thread Zack Weinberg
Zack Weinberg added the comment: The code that needs to be changed is in distutils, setuptools just calls into it. I haven't checked flit but I expect it does the same. -- ___ Python tracker ___

[issue17311] use distutils terminology in "PyPI package display" section

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: That page has been removed in favour of external guide. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker _

[issue12933] Update or remove claims that distutils requires external programs

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: This is obsolete now. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue11219] distutils check command: warn if license is specified in both the License and Classifier metadata fields

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: This can be handled by packaging lint tools. There is also a PEP to use SPDX license identifiers in metadata. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue5043] get_msvcr() returns None rather than []

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: The claimed bug is that when msc_pos is -1 in the code as posted, 'return []' should be executed, but None is returned instead. When I add 'msc_pos = -1 before the if statement, and call the function, after adding the needed sys import, [] is indeed returne

[issue7726] Remove required metadata warnings for sdist

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: Distutils won’t be changed at this point in time, this request should go to setuptools. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___

[issue38727] setup.py sdist --format=gztar should use (equivalent of) `gzip -n`

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: setuptools has its own copy of distutils now. flit is independent of distutils. -- ___ Python tracker ___ __

[issue13348] test_unicode_file fails: shutil.copy2 says "same file"

2020-10-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42037] Documentation confusion in CookieJar functions

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: Yes, you will need a github account linked to a bpo (this site) account so that the contributor agreement bot can do its job. -- ___ Python tracker

[issue15419] distutils: build should use a version-specific build directory

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: setuptools is recommended over distutils, and doesn’t have the issue (per previous messages). -- assignee: eric.araujo -> resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python track

[issue29411] Option --executable for entry_points

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: Closing this; the distutils patch was never attached here, and now setuptools has its own copy of distutils so if this feature request is pursued all the changes will happen there. -- resolution: -> third party stage: -> resolved status: open -> closed

[issue42117] asyncio calls from sync/async, better docs or api support

2020-10-22 Thread Blaze Spinnaker
Blaze Spinnaker added the comment: asyncio code placed in a repl won't execute properly as it may (or may not) be running an event loop already. This happens not just in traditional repls, but any platform that provides execution shells around code. Other repls, Spyder, pyppeter, and a lot

[issue8084] pep-0370 on osx duplicates existing functionality

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: It seems that the boat has sailed here -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue26033] distutils default compiler API is incomplete

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: Distutils does not evolve anymore — if CFFI still needs something like this, I think it should build on setuptools and request features there. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___

[issue36225] [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown

2020-10-22 Thread Eric Snow
Eric Snow added the comment: > I see multiple non trivial problems: > > * To finalize the subinterpreter A, Py_Finalize() may switch the current > Python thread state from the main interpreter to a Python thread in the > subintrepeter A. It can lead to new funny issues. I'm not sure what you

[issue42117] asyncio calls from sync/async, better docs or api support

2020-10-22 Thread Blaze Spinnaker
Blaze Spinnaker added the comment: I guess what I'm saying, is you created a design problem with the sync can't call async constraint, but didn't suggest any solutions to solving it, and the solutions people are arriving at are pretty random. -- _

[issue22308] add {implementation} to sysconfig.py

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: This is a non-trivial change that would impact many packaging tools, and as such should be discussed on mailing list or https://discuss.python.org/ -- nosy: +eric.araujo resolution: -> wont fix stage: -> resolved status: open -> closed

[issue13473] Add tests for files byte-compiled by distutils

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: I don’t think tests add value at this stage of the life of distutils; inclined to close this. -- stage: needs patch -> status: open -> pending versions: -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue3760] PEP 3121 --- PyType_Copy is missing

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: 12 years later there still is no PyType_Copy, at least not by that name, according to the doc index. So it is either not urgently needed or the need has been covered by other additions. I think that this should be closed as out of date and any new additions

[issue4573] zsh-style subpattern matching for fnmatch/glob

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, is this zsh addition still relevant or out of date? -- nosy: +terry.reedy ___ Python tracker ___

[issue5906] Risk of confusion in multiprocessing module - daemonic processes

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is the paragraph "Usually, daemon processes ..." in Pascal's initial post supposed to be a quote from https://docs.python.org/3/library/multiprocessing.html? 'daemon p' is nowhere in the corrent doc and I find nothing like this paragraph. Is this issue sti

[issue42117] asyncio calls from sync/async, better docs or api support

2020-10-22 Thread Blaze Spinnaker
Blaze Spinnaker added the comment: btw, this is different than the other issue as I understand you don't want re-entrant calls to async. Library integration can be done (painfully) by cherry picking the right API to call, but it's more painful with repls as that's not how they're used. ---

[issue4573] zsh-style subpattern matching for fnmatch/glob

2020-10-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 2.7, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue3760] PEP 3121 --- PyType_Copy is missing

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zach Ware agreed on a coredev sprint discussion. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue8084] pep-0370 on osx duplicates existing functionality

2020-10-22 Thread Glyph Lefkowitz
Glyph Lefkowitz added the comment: For what it's worth, I've long since adapted to the status quo here, so I'm happy for this to just be closed :-). (Apple seems to have mostly given up on "domains" as a user-facing or even developer-facing concept, so searching /Network seems like it is not

[issue12174] Multiprocessing logging levels unclear

2020-10-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue7018] Recommend "*" over "#" in getargs.c typecodes

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

[issue14322] More test coverage for hmac

2020-10-22 Thread Irit Katriel
Irit Katriel added the comment: The patch is out of date and needs to be refreshed. -- components: +Library (Lib) nosy: +iritkatriel stage: patch review -> needs patch versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4 _

[issue38865] [subinterpreters] Can Py_Finalize() be called if the current interpreter is not the main interpreter?

2020-10-22 Thread Lewis Gaul
Change by Lewis Gaul : -- pull_requests: -21778 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue9633] pdb go stack up/down

2020-10-22 Thread Irit Katriel
Irit Katriel added the comment: I've reproduced the bug on 3.10. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.2 ___ Python tracker ___ ___

[issue41755] Docs: Please remove `from distutils.core import setup`

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: In that case, I agree. -- status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mai

[issue41755] Docs: Please remove `from distutils.core import setup`

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: But notice that even agreeing removes 'pending', making it pretty useless. -- stage: -> resolved status: open -> closed ___ Python tracker _

[issue11646] 2to3: msvcrt.(get|put)ch -> (get|put)wch

2020-10-22 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 m

[issue614557] LookupError etc. need API to get the key

2020-10-22 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

[issue9499] DOC: C/API Execution namespace undocumented. (patch included)

2020-10-22 Thread Irit Katriel
Change by Irit Katriel : -- components: +C API keywords: -patch stage: -> needs patch title: Python C/API Execution namespace undocumented. (patch included) -> DOC: C/API Execution namespace undocumented. (patch included) type: behavior -> enhancement versions: +Python 3.10, Python 3

[issue31522] _mboxMMDF.get_string() fails to pass param to get_bytes()

2020-10-22 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Actually, it looks to me like the PR *does* include unittests, and I see them in the repo, so I'm closing this bug. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue31522] _mboxMMDF.get_string() fails to pass param to get_bytes()

2020-10-22 Thread Irit Katriel
Irit Katriel added the comment: Right! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue11646] 2to3: msvcrt.(get|put)ch -> (get|put)wch

2020-10-22 Thread Eryk Sun
Eryk Sun added the comment: The bytes type has supported string methods for a long time now. I don't think there's anything else to do here. msvcrt.getch() is a low-level I/O function like os.read(). It should not be automatically converted to msvcrt.getwch(). Unfortunately the function name

[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2020-10-22 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: @sim0n - I added a comment to your open PR. My main question for the rest of the group is whether we can and should backport this. Given the new defect class being introduced, it seems like this should only land in 3.10. Thoughts? -- ___

[issue42122] IDLE complains about how fonts are accessed

2020-10-22 Thread Raymond Hettinger
New submission from Raymond Hettinger : This occurs immediately on startup: $ python310 -m idlelib.idle 2020-10-22 16:20:19.400 python.exe[80008:1598908] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access

[issue38486] Dead links in mailbox doc

2020-10-22 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue38486] Dead links in mailbox doc

2020-10-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +21834 pull_request: https://github.com/python/cpython/pull/22903 ___ Python tracker ___ __

[issue38486] Dead links in mailbox doc

2020-10-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +21832 pull_request: https://github.com/python/cpython/pull/22901 ___ Python tracker ___ __

[issue38486] Dead links in mailbox doc

2020-10-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +21833 pull_request: https://github.com/python/cpython/pull/22902 ___ Python tracker ___ __

[issue38486] Dead links in mailbox doc

2020-10-22 Thread miss-islington
miss-islington added the comment: New changeset ec388cfb4ede56dace2bb78851ff6f38fa2a6abe by Zackery Spytz in branch 'master': bpo-38486: Fix dead qmail links in the mailbox docs (GH-22239) https://github.com/python/cpython/commit/ec388cfb4ede56dace2bb78851ff6f38fa2a6abe -- nosy: +mi

[issue42123] Run the two times, only enable invalid_* rules on the second run

2020-10-22 Thread Lysandros Nikolaou
New submission from Lysandros Nikolaou : We can avoid having to go through all the invalid rules (which might be a significant performance boost, since these may call expensive rules like primary or others), if we run the parser two times. On the first run, all the invalid rules are disabled

[issue42123] Run the two times, only enable invalid_* rules on the second run

2020-10-22 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch pull_requests: +21835 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22111 ___ Python tracker _

[issue38486] Dead links in mailbox doc

2020-10-22 Thread miss-islington
miss-islington added the comment: New changeset cd894b1094ac472ceb98fe15a28ebeb8301fc079 by Miss Skeleton (bot) in branch '3.8': [3.8] bpo-38486: Fix dead qmail links in the mailbox docs (GH-22239) (GH-22902) https://github.com/python/cpython/commit/cd894b1094ac472ceb98fe15a28ebeb8301fc079

[issue38486] Dead links in mailbox doc

2020-10-22 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thanks for the PR @ZackerySpytz - this has landed in git head and is currently being backported to 3.9 and 3.8 (3.7 is in security-fix only mode). -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.7

[issue38486] Dead links in mailbox doc

2020-10-22 Thread miss-islington
miss-islington added the comment: New changeset 69479ecfa86cc2f0e70d5627d52907e82c3f5b9b by Miss Skeleton (bot) in branch '3.9': [3.9] bpo-38486: Fix dead qmail links in the mailbox docs (GH-22239) (GH-22901) https://github.com/python/cpython/commit/69479ecfa86cc2f0e70d5627d52907e82c3f5b9b

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

2020-10-22 Thread Dennis Sweeney
Change by Dennis Sweeney : -- pull_requests: +21836 pull_request: https://github.com/python/cpython/pull/22904 ___ Python tracker ___ __

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

2020-10-22 Thread Dennis Sweeney
Dennis Sweeney added the comment: I attached a new PR, with a lot of the same ideas. The major differences between this and the last PR: * The first character to be checked at each alignment is the first character of the right half, rather than the last. * If that first character does not m

[issue26131] Raise ImportWarning when loader.load_module() is used

2020-10-22 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +patch pull_requests: +21837 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/22905 ___ Python tracker

[issue26131] Raise ImportWarning when loader.load_module() is used

2020-10-22 Thread Brett Cannon
Brett Cannon added the comment: A PR is now up. I ended up deprecating the load_module() methods in importlib itself and then raise ImportWarning in the import system itself when falling back to load_module(). -- stage: patch review -> test needed ___

[issue36876] [subinterpreters] Global C variables are a problem

2020-10-22 Thread Eric Snow
Eric Snow added the comment: New changeset 345cd37abe324ad4f60f80e2c3133b8849e54e9b by Eric Snow in branch 'master': bpo-36876: Fix the C analyzer tool. (GH-22841) https://github.com/python/cpython/commit/345cd37abe324ad4f60f80e2c3133b8849e54e9b -- _

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

2020-10-22 Thread Tim Peters
Tim Peters added the comment: Note that Sunday doesn't care (at all) where mismatches occur. The "natural" way to add Sunday: follow pure C-P unless/until it finds a mismatching position. Pure C-P then computes a specific shift. Nothing about that changes. But something is added: also comput

[issue42122] macOS complains about how fonts are accessed

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am sure that this is yet another macOS Catalina+ tcl/tk problem. 3.10 is fine on Mohave. Those complaints must come from macOS in response to 'Client' tk requests. IDLE and tkinter do not use those names. If you want to try to see what tkinter function

[issue42117] asyncio calls from sync/async, better docs or api support

2020-10-22 Thread Dima Tisnek
Dima Tisnek added the comment: Blaze, I think this needs a concrete proposal: either a patch, or at least a formal example how the new API would be used. Note that there's also async-sig mailing list that's less formal, as well as discuss.python.org to bounce ideas off others. -- no

[issue42122] macOS complains about how fonts are accessed

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: On my Airbook, 'python310' was not found; 'python3.10' worked. -- ___ Python tracker ___ ___ Pyth

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2020-10-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +21838 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22907 ___ Python tracker __

[issue24165] Free list for single-digits ints

2020-10-22 Thread Inada Naoki
Inada Naoki added the comment: I heard pyperformance 1.0.0 works and here is the result of PR-22884. $ ./python-master -m pyperf compare_to master.json patched.json -G --min-speed=1 Slower (8): - pathlib: 26.3 ms +- 0.3 ms -> 26.8 ms +- 0.4 ms: 1.02x slower (+2%) - chameleon: 12.8 ms +- 0.1 ms

[issue2190] MozillaCookieJar ignores HttpOnly cookies

2020-10-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: loewis -> status: closed -> open versions: -Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue24165] Free list for single-digits ints

2020-10-22 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24165] Free list for single-digits ints

2020-10-22 Thread Yury Selivanov
Yury Selivanov added the comment: Inada-san, how do you interpret the results? Looks like it's performance-neutral. -- ___ Python tracker ___

[issue42124] FAIL test_asyncio test_sendfile_close_peer_in_the_middle_of_receiving

2020-10-22 Thread Terry J. Reedy
New submission from Terry J. Reedy : == FAIL: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.ProactorEventLoopTests) -- T

[issue2190] MozillaCookieJar ignores HttpOnly cookies

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies Describes the purpose of the HttpOnly attribute used in PR. -- ___ Python tracker __

[issue24165] Free list for single-digits ints

2020-10-22 Thread Inada Naoki
Inada Naoki added the comment: I had suspected that pypeformance just don't have enough workload for non-small int. For example, spectral_norm is integer heavy + some float warkload. But bm_spectral_norm uses `DEFAULT_N = 130`. So most integers are fit into smallint cache. On the othar han

[issue41567] multiprocessing.Pool from concurrent threads failure on 3.9.0rc1

2020-10-22 Thread Atsuo Ishimoto
Atsuo Ishimoto added the comment: multiprocessing module used to work multithread environment until https://bugs.python.org/issue35943 merged. I guess we can make multiprocessing thread-safe again if we move local imports to global. Does it make sense? -- nosy: +ishimoto __

[issue41567] multiprocessing.Pool from concurrent threads failure on 3.9.0rc1

2020-10-22 Thread Atsuo Ishimoto
Atsuo Ishimoto added the comment: Some my observation at https://discuss.python.org/t/differences-between-3-8-and-3-9-in-importing-module/5520 . -- ___ Python tracker ___ __

[issue6555] distutils config file should have the same name on both platforms and all scopes

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: Too late to change this in distutils now. -- components: -Distutils2 nosy: +dstufft resolution: accepted -> wont fix stage: -> resolved status: open -> closed versions: -3rd party, Python 2.7, Python 3.1, Python 3.2

[issue8918] distutils test_config_cmd failure on Solaris

2020-10-22 Thread Éric Araujo
Change by Éric Araujo : -- assignee: eric.araujo -> components: -Distutils2 nosy: +dstufft resolution: -> out of date stage: test needed -> resolved status: open -> closed versions: -3rd party ___ Python tracker

[issue26541] Add stop_after parameter to setup()

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: distutils isn’t improved anymore. This might interest the setuptools project, which uses its copy of distutils. -- nosy: +jaraco -dstufft resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python t

[issue19394] distutils.core.Extension: empty strings in library_dirs and include_dirs should not be allowed

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: distutils isn’t improved anymore. -- assignee: eric.araujo -> nosy: +jaraco -tarek resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker __

[issue12308] Add link to PEP 0 for topical index in wiki

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: Hi Eric! Are you still interested in this? I notice that the wiki page hasn’t been updated, and it’s also kind of a dry list with no interactivity (search, sort, jump to section, hyperlinks to PEPs). Are you still interested? If yes, do you still think that

[issue17514] Add the license to argparse.py

2020-10-22 Thread Éric Araujo
Éric Araujo added the comment: Agreed with the latest comment! -- nosy: +eric.araujo, rhettinger resolution: -> works for me stage: -> resolved status: open -> closed versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker

[issue13501] Make libedit support more generic; port readline / libedit to FreeBSD

2020-10-22 Thread Enji Cooper
Enji Cooper added the comment: Is there something I can do to help move this change along? 8 years is a long time for an issue to be open :(. -- ___ Python tracker ___ __

[issue42125] linecache cannot get source for the __main__ module with a custom loader

2020-10-22 Thread Eugene Toder
New submission from Eugene Toder : If a module has a loader, linecache calls its get_source() passing __name__ as the argument. This works most of the time, except that the __main__ module has it set to "__main__", which is commonly not the real name of the module. Luckily, we now have __spec

[issue42125] linecache cannot get source for the __main__ module with a custom loader

2020-10-22 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +21839 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22908 ___ Python tracker _

[issue41835] Speed up dict vectorcall creation using keywords

2020-10-22 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +21840 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22909 ___ Python tracker ___

[issue41835] Speed up dict vectorcall creation using keywords

2020-10-22 Thread Inada Naoki
Inada Naoki added the comment: Ok. Performance improvement comes from: a. Presizing b. Bypassing some checks in PyDict_SetItem c. Avoiding duplication check. (b) is relatively small so I tried to focus on (a) and (b). See GH-22909. In case of simple keyword arguments, it is 10% faster than G

<    1   2