[issue40762] Writing bytes using CSV module results in b prefixed strings

2020-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: According to the documentation (https://docs.python.org/3/library/csv.html#writer-objects): """ A row must be an iterable of strings or numbers for Writer objects and a dictionary mapping fieldnames to strings or numbers (by passing them through str()

[issue38580] select()'s documentation claims only sequences are accepted, but it allows all iterables

2020-05-25 Thread miss-islington
Change by miss-islington : -- keywords: +patch nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +19635 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20372 ___ Python tracker

[issue38580] select()'s documentation claims only sequences are accepted, but it allows all iterables

2020-05-25 Thread Tal Einat
Tal Einat added the comment: New changeset 372ee27d4958302dac7ad6a8711f6fd04771b2e6 by Jakub Stasiak in branch 'master': bpo-38580: Document that select() accepts iterables, not just sequences (GH-16832) https://github.com/python/cpython/commit/372ee27d4958302dac7ad6a8711f6fd04771b2e6

[issue40762] Writing bytes using CSV module results in b prefixed strings

2020-05-25 Thread Sidhant Bansal
Change by Sidhant Bansal : -- keywords: +patch pull_requests: +19634 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20371 ___ Python tracker ___

[issue40761] unittest.TestCase.asserTrue return True even if the expr is False

2020-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: assertTrue() always returns None, but its returned value is irrelevant, because it is only used for its side effect. -- nosy: +serhiy.storchaka ___ Python tracker

[issue38580] select()'s documentation claims only sequences are accepted, but it allows all iterables

2020-05-25 Thread Tal Einat
Tal Einat added the comment: Nothing further is required; I've merged the PR. Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker

[issue40373] urlunparse does not escape slash (/) for http+unix:// in netloc field

2020-05-25 Thread Tal Einat
Tal Einat added the comment: This seems to simply be a misunderstanding: urlunparse() and urlunsplit() intentionally do not do any encoding of their components. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python

[issue40617] sqlite3: expose sqlite3_create_window_function

2020-05-25 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Another possibility (instead of adding `sqlite3.create_window_function`) is to add a "windowed" parameter to `sqlite3.create_aggregate()`: `sqlite3.create_aggregate(name, narg, aggregate, windowed=True` Maybe that's a little bit cleaner regarding

[issue40763] zipfile.extractall is safe by now

2020-05-25 Thread Va
New submission from Va : In documentation of all Python 3 versions, [ZipFile.extractall](https://docs.python.org/3/library/zipfile.html#zipfile.ZipFile.extractall) states with a big red warning: > Warning > Never extract archives from untrusted sources without prior inspection. It is >

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

2020-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In any case this is a new feature, so it can be added only in 3.10, and we need the documentation patch for 3.9 and older. As a workaround you can use os.fsdecode(): tempfile.tempdir = os.fsdecode(b'/doesntexist') --

[issue40695] hashlib: OpenSSL hash detection should obey security policy

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 7015823971e7c0cf41cd7d9d9991ed0abdc2f1f4 by Miss Islington (bot) in branch '3.9': bpo-40695: Limit hashlib builtin hash fallback (GH-20259) https://github.com/python/cpython/commit/7015823971e7c0cf41cd7d9d9991ed0abdc2f1f4 --

[issue40762] Writing bytes using CSV module results in b prefixed strings

2020-05-25 Thread Sidhant Bansal
Sidhant Bansal added the comment: Yes, I do recognise that the current doc states that csv only supports strings and numbers. However the use case here is motivated when the user wants to write bytes and numbers/strings mixed to a CSV file. Currently providing bytes to write to a CSV

[issue17258] multiprocessing.connection challenge implicitly uses MD5

2020-05-25 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +19644 pull_request: https://github.com/python/cpython/pull/20380 ___ Python tracker ___

[issue40695] hashlib: OpenSSL hash detection should obey security policy

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 4cc2f9348c6e899b76af811fa3bb6c60de642a28 by Christian Heimes in branch 'master': bpo-40695: Limit hashlib builtin hash fallback (GH-20259) https://github.com/python/cpython/commit/4cc2f9348c6e899b76af811fa3bb6c60de642a28 -- nosy:

[issue40767] Allow pure Wayland to get default XDG webbrowser

2020-05-25 Thread Jeremy Attali
New submission from Jeremy Attali : In a pure Wayland environment (without xwayland), the DISPLAY environment variable is not present. Therefore the call to `xdg-settings get default-browser` is not made. So the webbrowser behaviour is different between X11 and Wayland environment. I'm

[issue36073] sqlite crashes with converters mutating cursor

2020-05-25 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19638 pull_request: https://github.com/python/cpython/pull/20375 ___ Python tracker ___

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3f59b55316f4c6ab451997902579aa69020b537c by Zackery Spytz in branch 'master': bpo-35714: Reject null characters in struct format strings (GH-16928) https://github.com/python/cpython/commit/3f59b55316f4c6ab451997902579aa69020b537c --

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19639 pull_request: https://github.com/python/cpython/pull/20376 ___ Python tracker ___

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19637 pull_request: https://github.com/python/cpython/pull/20374 ___ Python tracker ___

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +19636 pull_request: https://github.com/python/cpython/pull/20373 ___ Python tracker

[issue40734] /usr/bin surprisingly in sys.path under IDLE

2020-05-25 Thread Matthias Klose
Matthias Klose added the comment: I can't reproduce that: $ python3.7 -c 'import sys; print (sys.path)' ['', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/dist-packages', '/usr/lib/python3/dist-packages'] -- resolution:

[issue40671] Convert _hashlib to PEP 489 multiphase initialization

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 1fe1a14703001ec8076412ca28a3fbdf1f5c0735 by Miss Islington (bot) in branch '3.9': bpo-40671: Prepare _hashlib for PEP 489 (GH-20180) https://github.com/python/cpython/commit/1fe1a14703001ec8076412ca28a3fbdf1f5c0735 --

[issue40764] Conflation of Counter with Multiset

2020-05-25 Thread Paul
New submission from Paul : The collections docs state: "Several mathematical operations are provided for combining Counter objects to produce multisets (counters that have counts greater than zero)." I am surprised at the clear level of decision into conflating counters with multisets. Why

[issue40734] /usr/bin surprisingly in sys.path under IDLE

2020-05-25 Thread paul rubin
paul rubin added the comment: Matthias, I get the same result you do when I run python from the shell command line. I see /usr/bin in the path when I import sys and print sys.path from inside IDLE. In other words this is an IDLE configuration oddity. Again I don't know if it's a bug.

[issue40762] Writing bytes using CSV module results in b prefixed strings

2020-05-25 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: > As an example, if I write character "A" as a byte, i.e b'A' in a csv file But you can't write b'A' in a csv file, what you can't do is write `b'a'.decode()` or `b'a'.decode('latin1')` or `b'a'.decode('whatever')` but the string representation of a byte

[issue40766] Add support for SQLITE_DIRECTONLY and SQLITE_INNOCUOUS for user-defined functions

2020-05-25 Thread Erlend Egeberg Aasland
New submission from Erlend Egeberg Aasland : Add support for SQLITE_DIRECTONLY and SQLITE_INNOCUOUS in `sqlite3.create_function()` and `sqlite3.create_aggregate()`. >From the SQLite 3.31.0 changelog: - Provide the ability to tag application-defined SQL functions with new properties

[issue40671] Convert _hashlib to PEP 489 multiphase initialization

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19645 pull_request: https://github.com/python/cpython/pull/20381 ___ Python tracker ___

[issue40762] Writing bytes using CSV module results in b prefixed strings

2020-05-25 Thread Sidhant Bansal
Sidhant Bansal added the comment: Hi Remi, Currently a code like this: ``` with open("abc.csv", "w", encoding='utf-8') as f: data = [b'\x41'] w = csv.writer(f) w.writerow(data) with open("abc.csv", "r") as f: rows = csv.reader(f) for row in rows: print(row[0]) #

[issue40767] Allow pure Wayland to get default XDG webbrowser

2020-05-25 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +19646 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20382 ___ Python tracker

[issue29882] Add an efficient popcount method for integers

2020-05-25 Thread Mark Dickinson
Mark Dickinson added the comment: I'm re-reviewing this discussion three years on. I'd be happy for this to go into 3.10. Are there other strong opinions? It would be good to either update and merge the PR, or close as rejected. -- ___ Python

[issue40695] hashlib: OpenSSL hash detection should obey security policy

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19640 pull_request: https://github.com/python/cpython/pull/20377 ___ Python tracker ___

[issue40671] Convert _hashlib to PEP 489 multiphase initialization

2020-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +19641 pull_request: https://github.com/python/cpython/pull/20378 ___ Python tracker

[issue40671] Convert _hashlib to PEP 489 multiphase initialization

2020-05-25 Thread Christian Heimes
Christian Heimes added the comment: New changeset 20c22db602bf2a51f5231433b9054290f8069b90 by Christian Heimes in branch 'master': bpo-40671: Prepare _hashlib for PEP 489 (GH-20180) https://github.com/python/cpython/commit/20c22db602bf2a51f5231433b9054290f8069b90 --

[issue40745] Typo in library/typing

2020-05-25 Thread zihengCat
Change by zihengCat : -- keywords: +patch nosy: +zihengcat nosy_count: 3.0 -> 4.0 pull_requests: +19643 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20379 ___ Python tracker

[issue40765] clear screen in idle

2020-05-25 Thread sagar
New submission from sagar : please provide clear screen option in windows idle. clear screen means moving command line to start of the page. -- assignee: terry.reedy components: IDLE messages: 369870 nosy: sagarkancharlas, terry.reedy priority: normal severity: normal status: open

[issue10572] Move test sub-packages to Lib/test

2020-05-25 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2020-05-25 Thread Mark Dickinson
Change by Mark Dickinson : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19648 pull_request: https://github.com/python/cpython/pull/20384 ___ Python tracker ___

[issue34397] remove redundant overflow checks in tuple and list implementations

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset e682b26a6bc6d3db1a44d82db09d26224e82ccb5 by Sergey Fedoseev in branch 'master': bpo-34397: Remove redundant overflow checks in list and tuple implementation. (GH-8757)

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19649 pull_request: https://github.com/python/cpython/pull/20385 ___ Python tracker ___

[issue10572] Move test sub-packages to Lib/test

2020-05-25 Thread Ido Michael
Change by Ido Michael : -- nosy: -Ido Michael ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34397] remove redundant overflow checks in tuple and list implementations

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

[issue40768] pyaudio

2020-05-25 Thread Mansi
Change by Mansi : -- files: Screenshot (22).png nosy: mansi priority: normal severity: normal status: open title: pyaudio type: compile error versions: Python 3.8 Added file: https://bugs.python.org/file49193/Screenshot (22).png ___ Python tracker

[issue29882] Add an efficient popcount method for integers

2020-05-25 Thread STINNER Victor
STINNER Victor added the comment: > In CPython itself: See count_set_bits in Modules/mathmodule.c Python/hamt.c contains an optimized function: static inline uint32_t hamt_bitcount(uint32_t i) { /* We could use native popcount instruction but that would require to either add

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 331b2dfadb2a5dd990145c043d006166e568af7b by Miss Islington (bot) in branch '3.8': bpo-38972: Fix typos in PowerShell Execution Policies links (GH-20383) https://github.com/python/cpython/commit/331b2dfadb2a5dd990145c043d006166e568af7b

[issue39245] Public API for Vectorcall (PEP 590)

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset e50883ccc4bfa198c3d5e3367306324fc49730cb by Miro Hrončok in branch 'master': bpo-39245: Fix docs links to the stable ABI (GH-20388) https://github.com/python/cpython/commit/e50883ccc4bfa198c3d5e3367306324fc49730cb -- nosy:

[issue39245] Public API for Vectorcall (PEP 590)

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19652 pull_request: https://github.com/python/cpython/pull/20389 ___ Python tracker ___

[issue40770] RFE: Run linkchecker on documentation on the CI

2020-05-25 Thread Miro Hrončok
New submission from Miro Hrončok : In Fedora, we run the following check when we build Python documentation: # Verify that all of the local links work # # (we can't check network links, as we shouldn't be making network connections # within a build. Also, don't bother checking the .txt source

[issue29882] Add an efficient popcount method for integers

2020-05-25 Thread Tim Peters
Tim Peters added the comment: I see I never explicitly said +1, so I will now: +1 on merging this :-) -- ___ Python tracker ___

[issue32280] Expose `_PyRuntime` through a section name

2020-05-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: @steve.dower, please take a look at this PR when you have a chance. Thanks! -- nosy: +cheryl.sabella ___ Python tracker ___

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-25 Thread Ido Michael
Ido Michael added the comment: Does it includes the FancyURLopener? This class is derived from URLopener. Also what needs to be done? Remove the URLopener, URLopener_Tests and DummyURLopeners ? -- nosy: +Ido Michael ___ Python tracker

[issue29882] Add an efficient popcount method for integers

2020-05-25 Thread Mark Dickinson
Mark Dickinson added the comment: > For example, should numpy.int64 get this method as well? That's for the NumPy folks to decide (and I've added Nathaniel Smith to the nosy in case he wants to comment), but I don't see any particularly strong reason that NumPy would need to add it. It

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-05-25 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : $ python -X oldparser Python 3.10.0a0 (heads/bpo-x:f2947e354c, May 21 2020, 18:54:57) [GCC 9.2.1 20191008] on linux Type "help", "copyright", "credits" or "license" for more information. >>> (()): int File "", line 1 SyntaxError: only single target

[issue39245] Public API for Vectorcall (PEP 590)

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 9a5e643483578c3a944ceb5aa511d6c24280aedc by Miss Islington (bot) in branch '3.9': bpo-39245: Fix docs links to the stable ABI (GH-20388) https://github.com/python/cpython/commit/9a5e643483578c3a944ceb5aa511d6c24280aedc --

[issue13299] namedtuple row factory for sqlite3

2020-05-25 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-05-25 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +gvanrossum, lys.nikolaou, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40768] pyaudio

2020-05-25 Thread SilentGhost
Change by SilentGhost : -- resolution: -> third party stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 20b2bf318345170502b9840673594a5a12a40829 by Miss Islington (bot) in branch '3.9': bpo-38972: Fix typos in PowerShell Execution Policies links (GH-20383) https://github.com/python/cpython/commit/20b2bf318345170502b9840673594a5a12a40829

[issue39245] Public API for Vectorcall (PEP 590)

2020-05-25 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +hroncok nosy_count: 2.0 -> 3.0 pull_requests: +19651 pull_request: https://github.com/python/cpython/pull/20388 ___ Python tracker ___

[issue40762] Writing bytes using CSV module results in b prefixed strings

2020-05-25 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: > in real-life that b-prefixed string is just not readable by another program > in an easy way If another program opens this CSV file, it will read the string "b'A'" which is what this field actually contains. Everything that is not a number or a string gets

[issue29882] Add an efficient popcount method for integers

2020-05-25 Thread STINNER Victor
STINNER Victor added the comment: Adding a function to a new hypothetical imath module sounds reasonable. I'm less comfortable with adding a new method to int type: it would mean that any int subtype "should" implement it. For example, should numpy.int64 get this method as well? What is

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-05-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset ef16958d17e83723334a51428f410f726d6492a7 by Miro Hrončok in branch 'master': bpo-38972: Fix typos in PowerShell Execution Policies links (GH-20383) https://github.com/python/cpython/commit/ef16958d17e83723334a51428f410f726d6492a7 --

[issue40764] Conflation of Counter with Multiset

2020-05-25 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40768] pyaudio

2020-05-25 Thread Rémi Lapeyre
New submission from Rémi Lapeyre : Hi Mansi, this is not an issue in the Python interpreter but with a third party module. This bug tracker is only for reporting issues with the CPython interpreter. If you read the error message you attached, there is some steps given to fix your issue, you

[issue40736] better message for re.search TypeError ("expected string or bytes-like object")

2020-05-25 Thread Ido Michael
Ido Michael added the comment: I agree it should be more informative and have the same standard as the rest of the Errors messages. Can I start a PR? -- nosy: +Ido Michael ___ Python tracker

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-05-25 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +19650 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20387 ___ Python tracker ___

[issue40734] /usr/bin surprisingly in sys.path under IDLE

2020-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: *Exactly* how are you starting IDLE? This should only happen if you start IDLE in /usr/bin or edit a file in /usr/bin. Is there any such thing on Linux/Debian as 'start IDLE from an icon', as on Windows? If so, is the starting directory part of the icon

[issue40765] clear screen in idle

2020-05-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE - clear and restart the shell window type: behavior -> enhancement ___ Python tracker

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-05-25 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +hroncok nosy_count: 7.0 -> 8.0 pull_requests: +19647 pull_request: https://github.com/python/cpython/pull/20383 ___ Python tracker ___

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-05-25 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40771] python3 fromtimestamp generates OSError

2020-05-25 Thread Jim Carroll
New submission from Jim Carroll : We encountered an interesting mtime problem in the field, that I believe represents a bug in python's datetime timestamp handling. A file stored on a windows server had the last-modified date '1/1/4501' (that's the year 4501). os.path.getmtime() returns a

[issue40770] RFE: Run linkchecker on documentation on the CI

2020-05-25 Thread Andy Lester
Change by Andy Lester : -- nosy: +petdance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-05-25 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 7d847e29d76b178c2db66b180065771b4d90c78f by Dong-hee Na in branch 'master': bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391) https://github.com/python/cpython/commit/7d847e29d76b178c2db66b180065771b4d90c78f --

[issue40753] Remove Python 2 compatibility code from pathlib

2020-05-25 Thread Brett Cannon
Brett Cannon added the comment: > Is this an axiom or is the reasoning written down somewhere? It should be written down in the devguide at devguide.python.org. I agree with Serhiy that this isn't really adding anything by making the code that much more readable, idiomatic, or faster to

[issue40750] Support -d flag in the new parser

2020-05-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +19656 pull_request: https://github.com/python/cpython/pull/20393 ___ Python tracker ___

[issue40753] Remove Python 2 compatibility code from pathlib

2020-05-25 Thread Ram Rachum
Ram Rachum added the comment: Brett: Oh well, I understand. Looking at the devguide, I can't find where this is written. I'm interested in seeing how it's phrased, because I do think that tiny, incremental changes are important. I would want to know why, for example, my change

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-05-25 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +19654 pull_request: https://github.com/python/cpython/pull/20391 ___ Python tracker ___

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

2020-05-25 Thread Steve Dower
Steve Dower added the comment: Sorry, Windows 7 is no longer supported in Python 3.9. You'll need to update, ideally to Windows 10, but if you want to stay on Windows 8.1 then I believe that one's supported until Python 3.10. -- resolution: -> not a bug stage: -> resolved status:

[issue32280] Expose `_PyRuntime` through a section name

2020-05-25 Thread Steve Dower
Steve Dower added the comment: It looks fine to me, but we probably want to clearly document it as unsupported/likely to change between releases/etc., especially since it's relying on an assumption that we want to change (one static runtime per process). --

[issue40754] ModuleNotFoundError: No module named '_testinternalcapi' under Win10

2020-05-25 Thread Zachary Ware
Zachary Ware added the comment: At a guess, it looks like we're not including that module in the Windows installer. And indeed, it looks like it's left out of Tools/msi/test/test_files.wxs if you would like to provide a PR :) On the other hand, I'm not sure that test (and any other

[issue23082] pathlib relative_to() can give confusing error message

2020-05-25 Thread Steve Dower
Steve Dower added the comment: New changeset 448325369ff73011d34d6c3a493014fe3ead8843 by Rotuna in branch 'master': bpo-23082: Better error message for PurePath.relative_to() from pathlib (GH-19611) https://github.com/python/cpython/commit/448325369ff73011d34d6c3a493014fe3ead8843

[issue23082] pathlib relative_to() can give confusing error message

2020-05-25 Thread Steve Dower
Change by Steve Dower : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.8 ___ Python tracker

[issue40734] /usr/bin surprisingly in sys.path under IDLE

2020-05-25 Thread paul rubin
paul rubin added the comment: I'm using Debian 10 MATE live install and have been running IDLE by clicking an icon on the top panel, but I just tried running IDLE from the shell prompt in a terminal window, and also see /usr/bin in the path. In both cases, the output of

[issue40770] RFE: Run linkchecker on documentation on the CI

2020-05-25 Thread Miro Hrončok
Miro Hrončok added the comment: Side note: linkchecker can be installed via pip, but the released version is not Python 3 compatible. In Fedora, we package it from git. -- ___ Python tracker

[issue23721] Set up a daily test coverage run

2020-05-25 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23082] pathlib relative_to() can give confusing error message

2020-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +19658 pull_request: https://github.com/python/cpython/pull/20395 ___ Python tracker

[issue40773] DOC: Fix rendering for 'retval' on the pdb page

2020-05-25 Thread Cheryl Sabella
New submission from Cheryl Sabella : Please only work on this issue if it would be your first contribution to CPython. The rendering for 'retval' description at the bottom of the pdb doc page isn't quite right. https://docs.python.org/3/library/pdb.html -- assignee: docs@python

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

2020-05-25 Thread Ama Aje My Fren
Ama Aje My Fren added the comment: On Sun, May 24, 2020 at 11:34 PM Chas Belov wrote: > > I'm guessing your point is that we only need to show >>> and ... when there > will be print output so that we need to distinguish between what is input and > what is output. > Yes, that is my

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-05-25 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset ad3252bad905d41635bcbb4b76db30d570cf0087 by Dong-hee Na in branch 'master': bpo-39573: Convert Py_TYPE() to a static inline function (GH-20290) https://github.com/python/cpython/commit/ad3252bad905d41635bcbb4b76db30d570cf0087 --

[issue40750] Support -d flag in the new parser

2020-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +19655 pull_request: https://github.com/python/cpython/pull/20392 ___ Python tracker

[issue40750] Support -d flag in the new parser

2020-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 800a35c623bbcdb5793c7d7a4974524286311479 by Pablo Galindo in branch 'master': bpo-40750: Support -d flag in the new parser (GH-20340) https://github.com/python/cpython/commit/800a35c623bbcdb5793c7d7a4974524286311479 --

[issue40750] Support -d flag in the new parser

2020-05-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40772] module 'resource' has no attribute 'RLIMIT_VMEM'

2020-05-25 Thread Titusz Ban
New submission from Titusz Ban : While trying to limit the virtual memory used by a process, using import resource MAX_VIRTUAL_MEMORY = 1 * 1024 * 1024 resource.setrlimit(resource.RLIMIT_VMEM, (MAX_VIRTUAL_MEMORY, MAX_VIRTUAL_MEMORY)) The following error occurred: AttributeError: module

[issue40737] Fix possible reference leak for sqlite3 initialization

2020-05-25 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- title: Handle PyModule_AddObject() error correctly in sqlite3 -> Fix possible reference leak for sqlite3 initialization ___ Python tracker

[issue40771] python3 fromtimestamp generates OSError

2020-05-25 Thread SilentGhost
SilentGhost added the comment: You seem to have read the docs, so I'm a bit confused why you think that is a bug. According to https://docs.python.org/3/library/datetime.html#datetime.datetime.fromtimestamp > fromtimestamp() may raise OverflowError, if the timestamp is out of the range >

[issue30008] OpenSSL 1.1.0 deprecated functions

2020-05-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: @christian.heimes, is this issue and PR still relevant? You mention 3.8 in msg291343. Thanks! -- nosy: +cheryl.sabella ___ Python tracker

[issue40756] Second argument of LoggerAdapter.__init__ should default to None

2020-05-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> vinay.sajip nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30008] OpenSSL 1.1.0 deprecated functions

2020-05-25 Thread Christian Heimes
Christian Heimes added the comment: Yes, it's still relevant. I haven't got time to look into the matter yet. -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7 ___ Python tracker

[issue40558] update CONTRIBUTING.rst docs

2020-05-25 Thread Zachary Ware
Zachary Ware added the comment: New changeset 2377a9bae3f698efaa81ff0426d0feb14c9f6329 by Hai Shi in branch 'master': Closes bpo-40558: update CONTRIBUTING.rst to reflect current branches (GH-19989) https://github.com/python/cpython/commit/2377a9bae3f698efaa81ff0426d0feb14c9f6329

  1   2   >