[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-05-23 Thread Christian Heimes
Christian Heimes added the comment: OpenSSL's SHA-3 implementation is a tiny bit faster than our builtin copy of SHA-3. builtin SHA-3 with PGO $ python3 -m timeit -s "from _sha3 import sha3_256; d = b'12345678' * 1000" "sha3_256(d)" 1 loops, best of 5: 20.3 usec per loop builtin SHA-3

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not a security issue. -- nosy: +terry.reedy versions: -Python 3.5, Python 3.6 ___ Python tracker ___

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-05-23 Thread Gareth Rees
Gareth Rees added the comment: The following test cases in test_subprocess.py call the communicate() method and then immediately assert that returncode attribute has the expected value: * test_stdout_none * test_stderr_redirect_with_no_stdout_redirect * test_stdout_filedes_of_stdout *

[issue34556] Add --upgrade-deps to venv module

2020-05-23 Thread miss-islington
miss-islington added the comment: New changeset 1cba1c9abadf76f458ecf883a48515aa3b534dbd by Shantanu in branch 'master': bpo-34556: Document addition of upgrade_deps to venv.create (GH-20135) https://github.com/python/cpython/commit/1cba1c9abadf76f458ecf883a48515aa3b534dbd -- nosy:

[issue40742] Doc: Parallel build break audit table

2020-05-23 Thread Julien Palard
New submission from Julien Palard : Currently we can't build the doc using sphinx parallel builds, like: `sphinx-build -j auto`, because the audit-events table [1] is not generated in this case. [1]: https://docs.python.org/3/library/audit_events.html To reproduce: make -C Doc

[issue39343] Travis CI: documentation job fails in library/nntplib.rst with random network issue on news.gmane.io

2020-05-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: Reopening as this is happening again -- twice for me: https://github.com/python/cpython/pull/20329/checks?check_run_id=701405252#step:7:117 -- nosy: +chris.jerdonek resolution: fixed -> status: closed -> open ___

[issue40739] find_library broken for binutils >= 2.32 / 2.34

2020-05-23 Thread Frederik Rietdijk
New submission from Frederik Rietdijk : With binutils 2.34 Python 3 (any version) the following returns None python3 -c 'import ctypes.util; print((ctypes.util.find_library("c")))' instead of the requested library which we think may be caused by

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you attach a script or post an interactive session, with both success and failure, showing that returncode is set appropriately after reading output? Possible calls: '''python -c "print('Success')"''', "raise Exception('Failure')". Or point to a test

[issue40741] Upgrade to SQLite v3.32.0 in Windows and macOS builds

2020-05-23 Thread Erlend Egeberg Aasland
New submission from Erlend Egeberg Aasland : SQLite 3.32.0 is out: https://www.sqlite.org/releaselog/3_32_0.html I'll preparing a PR for cpython-source-deps and cpython. -- components: Windows, macOS messages: 369711 nosy: erlendaasland, ned.deily, paul.moore, ronaldoussoren,

[issue40646] Builtins in doc show signature in documentation

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would probably prefer the table without the '()'s. (I would have to see to be sure.) However, the entries in the source .rst are all tagged with ':func:', as in ":func:`abs`", and that tag both adds "()" and makes the entries click-linked to the entries

[issue40678] Full list of Python lexical rules

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: First note that 3.8.3 grammar.html is stated to be the actual grammar used by the old parser, and is a bit different from the more human readable grammar given in the reference manual. It is a bit different in 3.9 and I expect will be much more different

[issue40701] tempfile mixes str and bytes in an inconsistent manner

2020-05-23 Thread Eric L.
Eric L. added the comment: Sorry, I uploaded by mistake an early version of the patch. The new one is the one I had actually tested (the old one would fail with mixing bytes and string under certain circumstances, I can't remember any more). -- Added file:

[issue40722] test_ttk_guionly times out on Ubuntu CI

2020-05-23 Thread Zackery Spytz
Zackery Spytz added the comment: See also bpo-30756. -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40733] Make IDLE doc more visible, mention in main python docs page

2020-05-23 Thread Ama Aje My Fren
Ama Aje My Fren added the comment: > > I could also add label with the online url and date above the text. > [https://docs.python.org/3.x/library/idle.html as of ] > > Maybe this is a bit messy? I may be wrong but I suspect that most people on docs.python.org use none dev versions. For us,

[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40678] Full list of Python lexical rules

2020-05-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue40701] tempfile mixes str and bytes in an inconsistent manner

2020-05-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40739] find_library broken for binutils >= 2.32 / 2.34

2020-05-23 Thread Frederik Rietdijk
Frederik Rietdijk added the comment: I suppose this issue was not found yet because a) regression testing is done with ubuntu 18.04 LTS which uses binutils 2.30 and b) it, along with most distro's, will use ldconfig, which we in Nixpkgs have patched out. --

[issue40640] Tutorial for Continue missing ... line

2020-05-23 Thread Chas Belov
Chas Belov added the comment: @DahlitzFlorian: I'm happy do to the PR provided I don't actually have to build Python to work on a documentation change. If it does require building Python then please go ahead. That said, I've looked at the Doc/tutorial/controlflow.rst and it appears to be a

[issue40722] test_ttk_guionly times out on Ubuntu CI

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: By 'intermittantly', do you mean the one time on PR-20236 (and then not on your retest) or multiple times on various PRs and buildbots? Serhiy, could the issue be that tk is waiting for an event that has already happened? -- nosy:

[issue40737] Handle PyModule_AddObject() error correctly in sqlite3

2020-05-23 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: This issue could probably be expanded to the whole Modules directory. A lot of the modules fail to clean up properly on PyModule_AddObject() error. -- ___ Python tracker

[issue40678] Full list of Python lexical rules

2020-05-23 Thread Ram Rachum
Ram Rachum added the comment: Hmm, I feel this isn't right, because I still feel like there should be one place where one can see the full Python syntax specification, lexing and parsing and all. But I'm underqualified to argue because I don't understand the details. Is someone more

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-05-23 Thread honglei jiang
New submission from honglei jiang : Python.exe cannot run for missing api-ms-win-core-path-l1-1.0.dll , api-ms-win-core-path-l1-1-0.dll is for only Windows 8? https://github.com/microsoft/CNTK/issues/224 -- components: Windows messages: 369707 nosy: honglei.jiang, paul.moore,

[issue40733] Make IDLE doc more visible, mention in main python docs page

2020-05-23 Thread paul rubin
paul rubin added the comment: I think I used duckduckgo to find the docs. They don't change much between versions and I was trying to find how to do a specific thing. My installation has the docs included but it didn't explain how to do what I wanted, so I had hoped there was a more

[issue40217] The garbage collector doesn't take in account that objects of heap allocated types hold a strong reference to their type

2020-05-23 Thread Petr Viktorin
Petr Viktorin added the comment: Thank you for responding so quickly! > Petr, do you mind reviewing it? Yes, but I'll only get to it next week. -- ___ Python tracker ___

[issue40745] Typo in library/typing

2020-05-23 Thread Héctor Canto
New submission from Héctor Canto : I found a small typo here: https://docs.python.org/3.8/library/typing.html?highlight=typing#typing.NewType I checked also in other 3.x versions and it is there too. Original: A helper function to indicate a distinct types to a typechecker, see NewType

[issue40640] Tutorial for Continue missing ... line

2020-05-23 Thread Florian Dahlitz
Florian Dahlitz added the comment: I pointed you to the quick guide. In fact, you fork the cpython repository, create a new branch called fix-issue-40640, change the file Doc/tutorial/controlflow.rst and submit a PR agains the cpython master branch. As Rahul as already added all the

[issue30756] ttk: GUI tests fail on Ubuntu

2020-05-23 Thread Florian Dahlitz
Florian Dahlitz added the comment: I'm on Ubuntu 20.04 64-bit, ran the command provided and got Ran 303 tests in 18.900s OK I was running against the master branch. -- nosy: +DahlitzFlorian ___ Python tracker

[issue40743] [CMake] It's 2020, where is CMake?

2020-05-23 Thread TheUltimatePineapple
New submission from TheUltimatePineapple : The current CPython build system is antiquated and makes cross-platform builds difficult (in my experience). There have been unofficial CMake implementations but they are either outdated, abandoned or just unusable. Adopting CMake has many benefits,

[issue40743] [CMake] It's 2020, where is CMake?

2020-05-23 Thread pmp-p
pmp-p added the comment: Hi, I'm always curious about others experiences : why would you need cross-platform building for any of the officially supported platforms ? Also on some random unsupported platforms that require cross-compilation like maybe android, wasm or other uncommon posix,

[issue40744] Explicitly drop support for SQLite version < 3.7.3

2020-05-23 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +19598 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20330 ___ Python tracker ___

[issue40733] Make IDLE doc more visible, mention in main python docs page

2020-05-23 Thread Ama Aje My Fren
Ama Aje My Fren added the comment: > I think I used duckduckgo to find the docs. Ok, I just checked and when one has scrolled down the search is not seen. In most browsers web search is easier than searching on the docs site. -- Added file:

[issue40678] Full list of Python lexical rules

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: What you literally seem to ask for does not exist. If you want to pursue this, I suggest posting to python-ideas and you might get support for an acceptable alternative. -- ___ Python tracker

[issue40678] Full list of Python lexical rules

2020-05-23 Thread Ram Rachum
Ram Rachum added the comment: I understand, thank you. -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32782] memoryview & ctypes: incorrect itemsize for empty array

2020-05-23 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40701] tempfile mixes str and bytes in an inconsistent manner

2020-05-23 Thread Florian Dahlitz
Change by Florian Dahlitz : -- nosy: -DahlitzFlorian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40722] test_ttk_guionly times out on Ubuntu CI

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I listed this failure on the original test_ttk_guionly failure issue. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue40733] Make IDLE doc more visible, mention in main python docs page

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ama, when responding by email, please leave out the full quote of the message you are responding to. (A snippet of at most a few lines is ok.) Once posted, it becomes redundant noise. -- ___ Python tracker

[issue30756] ttk: GUI tests fail on Ubuntu

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: #40722 is about a hang, at least once, on line 147 def test_variable_change(self): x = ttk.LabeledScale(self.root) x.pack() x.wait_visibility() # Here. -- ___ Python tracker

[issue40738] backspace character \b not processed by IDLE

2020-05-23 Thread Stan Hendryx
Stan Hendryx added the comment: Hello Terry, Thank you for your reply. I understand there are different interpretations of \b. IMHO, since IDLE is part of a python distribution, IDLE needs to be consistent with the native python interpreter on each platform. On Mac, IDLE gives >>>

[issue40568] Modify -c command-line option to accept multiple inputs

2020-05-23 Thread Florian Dahlitz
Change by Florian Dahlitz : -- nosy: -DahlitzFlorian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-23 Thread Florian Dahlitz
Change by Florian Dahlitz : -- nosy: -DahlitzFlorian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-23 Thread Florian Dahlitz
Florian Dahlitz added the comment: @terry.reedy sorry if I misunderstood you, but it seems to me that you agree with the proposed changes? -- ___ Python tracker ___

[issue40733] Make IDLE doc more visible, mention in main python docs page

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Paul, the doc has the following line -s run $IDLESTARTUP or $PYTHONSTARTUP before anything else -- ___ Python tracker ___

[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Let a wcs be a string consisting of only whitespace and comments. compile(wcs, '', 'exec') treats wcs the same as 'pass'. Hence, a file with only whitespace and comments is the same as 'pass'. compile(wcs, '', 'single'), for whatever reason, raises SyntaxError:

[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-05-23 Thread Christian Heimes
Christian Heimes added the comment: LibreSSL does neither include SHA3/SHAKE family nor Blake2. Feature requests have been open for 1.5 to almost four years. The first reply on each feature request don't come as a surprise to me... https://github.com/libressl-portable/portable/issues/199

[issue31956] Add start and stop parameters to the array.index()

2020-05-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: I found this SO about reclaiming an orphaned pull request: https://stackoverflow.com/a/53383772 But you may still need to open a new PR for it. -- nosy: +cheryl.sabella ___ Python tracker

[issue33294] Support complex expressions for py-print command.

2020-05-23 Thread Cheryl Sabella
Change by Cheryl Sabella : -- assignee: -> dmalcolm nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40743] [CMake] It's 2020, where is CMake?

2020-05-23 Thread Christian Heimes
Christian Heimes added the comment: How about you start with a PEP that compares our current build system with CMake and explores if CMake is a viable option? Is CMake supported on platforms like Solaris, HP-UX, VxWorks? Or are there better options for a new build system for CPython, for

[issue38632] setup.py sdist should honor SOURCE_DATE_EPOCH

2020-05-23 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: https://github.com/python/cpython/pull/20331 is a first step toward this. See comments in there, I would love some reviews. If that gets im I'll be happy to send further refactor to make the compression step also respect SOURCE_DATE_EPOCH. For

[issue40747] sysconfig.get_config_var("py_version_nodot") should return 3_10

2020-05-23 Thread mattip
Change by mattip : -- keywords: +patch pull_requests: +19601 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20333 ___ Python tracker ___

[issue40748] Tutorial 4.7 More on Defining Functions missing screen prompts

2020-05-23 Thread Chas Belov
New submission from Chas Belov : The tutorial on More on Defining Functions at https://docs.python.org/3.7/tutorial/controlflow.html#more-on-defining-functions is missing most of the >>> and ... screen prompts that show elsewhere in the tutorial. This is potentially confusing to readers. I

[issue39686] add dump_json to ast module

2020-05-23 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38741] Definition of multiple ']' in header configparser

2020-05-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: @lukasz.langa, please take a look at the PR for a review. Thank you! -- nosy: +cheryl.sabella, lukasz.langa versions: +Python 3.10, Python 3.9 -Python 3.7 ___ Python tracker

[issue40743] [CMake] It's 2020, where is CMake?

2020-05-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: This was discussed a bit last December 2019 here ("Is there prior discussion around the build system of CPython itself?"): https://discuss.python.org/t/is-there-prior-discussion-around-the-build-system-of-cpython-itself/2813 -- nosy: +chris.jerdonek

[issue40367] ImportError: libffi.so.6

2020-05-23 Thread YoSTEALTH
YoSTEALTH added the comment: How did you get the Python installed in /opt/python/3.8.1? - I custom installed python. Maybe it was compiled against libffi 6, then you updated the system to libffi 7, so that Python would need a rebuild. - Yes, you are right about this. So i did rebuild and no

[issue40057] Missing mention of some class attributes in socketserver documentation

2020-05-23 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +martin.panter versions: +Python 3.10 -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___

[issue40640] Tutorial for Continue missing ... line

2020-05-23 Thread Chas Belov
Change by Chas Belov : -- keywords: +patch pull_requests: +19602 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20334 ___ Python tracker ___

[issue25095] test_httpservers hangs since Python 3.5

2020-05-23 Thread William Pickard
William Pickard added the comment: I've made the changes you've requested. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34852] Counter-intuitive behavior of Server.close() / wait_closed()

2020-05-23 Thread Chris Jerdonek
Change by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40745] Typo in library/typing

2020-05-23 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Héctor, can you open a new PR with those changes? -- nosy: +remi.lapeyre versions: -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker

[issue40743] [CMake] It's 2020, where is CMake?

2020-05-23 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Can you point to specific issues with the current build system? It seems to me that for 1. it will only make it easier for projects that use CMake, 2. the build system is not the only part needed to support a new OS and for 3. I've not found Python to be

[issue40133] Provide additional matchers for unittest.mock

2020-05-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: I disagree. Many of these do belong in the stdlib and we don't need a python-ideas bike shedding 300 message thread about something so trivial. We've been using these internally at Google for years. Its on my plate to identify which ones to accept and

[issue37973] improve docstrings of sys.float_info

2020-05-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: @mark.dickinson, please take a look at the PR when you get a chance. Thanks! -- nosy: +cheryl.sabella ___ Python tracker ___

[issue28859] os.path.ismount sometimes raises FileNotFoundError on Windows

2020-05-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: @steve.dower, please review the changes when you get a chance. Thanks! -- nosy: +cheryl.sabella ___ Python tracker ___

[issue40747] sysconfig.get_config_var("py_version_nodot") should return 3_10

2020-05-23 Thread mattip
New submission from mattip : Over in packaging, that code expects `sysconfig.get_config_var("py_version_nodot")` to be consistent with `tags._version_nodot`, which expects 3_10 for python 3.10. See https://github.com/pypa/packaging/issues/308. The current value of

[issue37129] Add os.RWF_APPEND flag for os.pwritev

2020-05-23 Thread YoSTEALTH
Change by YoSTEALTH : -- keywords: +patch pull_requests: +19603 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20335 ___ Python tracker

[issue37129] Add os.RWF_APPEND flag for os.pwritev

2020-05-23 Thread YoSTEALTH
Change by YoSTEALTH : -- pull_requests: +19604 pull_request: https://github.com/python/cpython/pull/20336 ___ Python tracker ___

[issue40744] Explicitly drop support for SQLite version < 3.7.3

2020-05-23 Thread Erlend Egeberg Aasland
New submission from Erlend Egeberg Aasland : Currently, we use sqlite3_create_function_v2() without wrapping it in any #ifdefs, so in practise the sqlite3 module will not build against sqlite3 pre 3.7.3. Despite this, we still wrap parts of the code in #ifdefs for versions 3.6.x and older.

[issue38632] setup.py sdist should honor SOURCE_DATE_EPOCH

2020-05-23 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- nosy: +mbussonn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40133] Provide additional matchers for unittest.mock

2020-05-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: @Flameeyes, thank you for the suggestion. As per the other comments, I'm going to close this as it would be more suitable to have it on PyPI. Feel free to have more discussion here or on python-ideas if you want to get more feedback. -- nosy:

[issue40745] Typo in library/typing

2020-05-23 Thread Héctor Canto
Héctor Canto added the comment: I'll try ASAP. Héctor Canto On Sat, 23 May 2020 at 19:33, Rémi Lapeyre wrote: > > Rémi Lapeyre added the comment: > > Hi Héctor, can you open a new PR with those changes? > > -- > nosy: +remi.lapeyre > versions: -Python 3.5, Python 3.6, Python 3.7 >

[issue40746] test_gdb failing on Raspbian on 3.9, regression from 3.8

2020-05-23 Thread Gregory P. Smith
New submission from Gregory P. Smith : https://buildbot.python.org/all/#/builders/727 test_tuples (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of tuples ... ok test_bt (test.test_gdb.PyBtTests) Verify that the "py-bt" command works ... FAIL Stderr: Python Exception Cannot

[issue38632] setup.py sdist should honor SOURCE_DATE_EPOCH

2020-05-23 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- keywords: +patch pull_requests: +19599 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20331 ___ Python tracker

[issue40701] tempfile mixes str and bytes in an inconsistent manner

2020-05-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: Could you please turn that into a Github PR? -- ___ Python tracker ___ ___ Python-bugs-list

[issue33388] Support PEP 566 metadata in distutils

2020-05-23 Thread Éric Araujo
Éric Araujo added the comment: Closing as per previous messages. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed title: Support PEP 566 metadata in dist.py -> Support PEP 566 metadata in distutils ___ Python

[issue1294959] Add sys.platlibdir and configure --with-platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-23 Thread Michał Górny
Michał Górny added the comment: Ok, it seems that I misunderstood it at first. Judging by the code, it also affects extensions installed into site-packages, so I've tried to make that clear and add one more example to the bullet list. -- ___

[issue1294959] Add sys.platlibdir and configure --with-platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-23 Thread Michał Górny
Change by Michał Górny : -- pull_requests: +19600 pull_request: https://github.com/python/cpython/pull/20332 ___ Python tracker ___

[issue34938] Fix mimetype.init() to account for from import

2020-05-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: @steve.dower, Mariatta had a question for you on the PR. -- nosy: +cheryl.sabella ___ Python tracker ___

[issue40640] Tutorial for Continue missing ... line

2020-05-23 Thread Chas Belov
Chas Belov added the comment: @Florian Dahlitz, thank you for your help. I have created a PR at https://github.com/python/cpython/pull/20334 and it is awaiting approval of my CLA and of the change itself. -- ___ Python tracker

[issue37129] Add os.RWF_APPEND flag for os.pwritev

2020-05-23 Thread YoSTEALTH
YoSTEALTH added the comment: terry.reedy ok, recreated the patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40405] asyncio.as_completed documentation misleading

2020-05-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +19605 pull_request: https://github.com/python/cpython/pull/20337 ___ Python tracker

[issue40405] asyncio.as_completed documentation misleading

2020-05-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +19606 pull_request: https://github.com/python/cpython/pull/20338 ___ Python tracker ___

[issue22533] Counter with no keys does not compare equal to Counter with keys which zero value

2020-05-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +19607 pull_request: https://github.com/python/cpython/pull/20339 ___ Python tracker ___

[issue40750] Support -d flag in the new parser

2020-05-23 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Python has a (mostly unknown) -d flag that can only be used in debug builds that emit some debug output for the old parser. The new parser does not support such flag. This is very useful when playing with the grammar as it helps enormously to

[issue40750] Support -d flag in the new parser

2020-05-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +gvanrossum, lys.nikolaou ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40747] sysconfig.get_config_var("py_version_nodot") should return 3_10

2020-05-23 Thread Ned Deily
Change by Ned Deily : -- nosy: +lukasz.langa, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40657] Resource leaks with threading.Thread

2020-05-23 Thread Martin Panter
Martin Panter added the comment: Perhaps this is the same as Issue 37788, introduced in 3.7. -- nosy: +martin.panter ___ Python tracker ___

[issue40750] Support -d flag in the new parser

2020-05-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +19608 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20340 ___ Python tracker

[issue40750] Support -d flag in the new parser

2020-05-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: A piece of the output for the string "1 + 1" with PR 20340: > star_expressions[0-0]: star_expression ',' ✗ star_expressions[0-0]: star_expression ',' failed! > star_expressions[0-0]: star_expression ✓ star_expressions[0-3]:

[issue40160] documentation example of os.walk should be less destructive

2020-05-23 Thread Kyle Stanley
Kyle Stanley added the comment: > I made the suggested change to just print the os.remove() statements (instead > of executing them) and also removed the 'skip news'. I think you may have misunderstood the suggestion. Specifically, the key part was "I would suggest adding succinct comments

[issue40751] command 'elif' does not work

2020-05-23 Thread Jonny Li
Change by Jonny Li : Added file: https://bugs.python.org/file49189/Screen Shot 2020-05-24 at 10.56.10.png ___ Python tracker ___ ___

[issue40751] command 'elif' does not work

2020-05-23 Thread Jonny Li
Change by Jonny Li : -- assignee: terry.reedy components: IDLE files: Screen Shot 2020-05-24 at 10.56.55.png nosy: Jonny Li, terry.reedy priority: normal severity: normal status: open title: command 'elif' does not work type: compile error versions: Python 3.8 Added file:

[issue39301] Specification of bitshift on integers should clearly state floor division used

2020-05-23 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +19610 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20347 ___ Python tracker

[issue40749] Consider adding decorator for required inner class

2020-05-23 Thread Elijah Rippeth
New submission from Elijah Rippeth : Sometimes it's desirable to couple classes together by nesting. Currently there's no way to signal to an interface implementer that an inner class is a required attribute to be implemented. I propose a decorator for `abstractnestedclass` to fill this

[issue40405] asyncio.as_completed documentation misleading

2020-05-23 Thread Kyle Stanley
Kyle Stanley added the comment: New changeset 13206b52d16c2489f4c7dd2dce2a7f48a554b5ed by Bar Harel in branch 'master': bpo-40405: Fix asyncio.as_completed docs (GH-19753) https://github.com/python/cpython/commit/13206b52d16c2489f4c7dd2dce2a7f48a554b5ed --

[issue40405] asyncio.as_completed documentation misleading

2020-05-23 Thread miss-islington
miss-islington added the comment: New changeset 9181e2e2f3ade85f65bf2521a5deb898434dfd64 by Miss Islington (bot) in branch '3.9': bpo-40405: Fix asyncio.as_completed docs (GH-19753) https://github.com/python/cpython/commit/9181e2e2f3ade85f65bf2521a5deb898434dfd64 --

[issue40405] asyncio.as_completed documentation misleading

2020-05-23 Thread Kyle Stanley
Kyle Stanley added the comment: Thanks for bring this to our attention and working on this Bar Harel, and thanks to Yury for the suggestions. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40751] command 'elif' does not work

2020-05-23 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : You're indenting elif inside if clause. The elif should be of same indentation length like if condition. -- nosy: +xtreak ___ Python tracker

[issue38787] PEP 573: Module State Access from C Extension Methods

2020-05-23 Thread hai shi
Change by hai shi : -- pull_requests: +19609 pull_request: https://github.com/python/cpython/pull/20344 ___ Python tracker ___ ___

  1   2   >