[issue46736] Generate HTML 5 with SimpleHTTPRequestHandler.list_directory

2022-02-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 0bb40a42d71873ea267aace8c92a02d66fe36dc2 by Dong-hee Na in branch 'main': closes bpo-46736: SimpleHTTPRequestHandler now uses HTML5. (GH-31533) https://github.com/python/cpython/commit/0bb40a42d71873ea267aace8c92a02

[issue45459] Limited API support for Py_buffer

2022-02-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: clang doesn't like the typedef forward-decl: In file included from ../cpython/Modules/_ctypes/_ctypes.c:108: In file included from ../cpython/Include/Python.h:43: ../cpython/Include/object.h:109:3: warning: redefinition of typedef 'PyObject&

[issue46626] expose IP_BIND_ADDRESS_NO_PORT linux socket option

2022-02-03 Thread Benjamin Peterson
New submission from Benjamin Peterson : New changeset 1aa6be06c4cb7f04a340adb1c7b16b89803ef254 by Benjamin Peterson in branch 'main': closes bpo-46626: Expose IP_BIND_ADDRESS_NO_PORT socket option. (GH-31106) https://github.com/python/cpython/commit/1aa6be06c4cb7f04a340adb1c7b16b

[issue46626] expose IP_BIND_ADDRESS_NO_PORT linux socket option

2022-02-03 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +29289 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31106 ___ Python tracker <https://bugs.python.org/issu

[issue46626] expose IP_BIND_ADDRESS_NO_PORT linux socket option

2022-02-03 Thread Benjamin Peterson
Change by Benjamin Peterson : -- components: Library (Lib) nosy: benjamin.peterson priority: normal severity: normal status: open title: expose IP_BIND_ADDRESS_NO_PORT linux socket option type: enhancement versions: Python 3.11 ___ Python tracker

[issue46253] C API documentation of Py_UNICODE_* character properties macros use Py_UNICODE instead of Py_UCS4

2022-01-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 43c5c1369cb21f08a1dc1d63923c3586b883e3e8 by Julian Gilbey in branch 'main': closes bpo-46253: Change Py_UNICODE to Py_UCS4 in the C API docs to match the current source code (GH-30387) https://github.com/python/cpyt

[issue38522] Py_USING_MEMORY_DEBUGGER is referenced in docs but not present in code

2021-12-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 9f0e40fae5191c3e3ed6109bd2e2f97aa0ac8d64 by Miss Islington (bot) in branch '3.10': closes bpo-38522 docs: remove references to Py_USING_MEMORY_DEBUGGER (GH-30284) (GH-30295) https://github.com/python/cpyt

[issue45582] Rewrite getpath.c in Python

2021-12-03 Thread Benjamin Peterson
Change by Benjamin Peterson : -- nosy: +benjamin.peterson nosy_count: 7.0 -> 8.0 pull_requests: +28131 pull_request: https://github.com/python/cpython/pull/29907 ___ Python tracker <https://bugs.python.org/issu

[issue45429] [Windows] time.sleep() should use CREATE_WAITABLE_TIMER_HIGH_RESOLUTION

2021-10-23 Thread Benjamin Szőke
Benjamin Szőke added the comment: A similar solution was introduced in VirtualBox some months ago. Soon, i could get back my Windows 10 developing PC and i can try this things. https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Runtime/r3/win/timer-win.cpp#L312

[issue45429] [Windows] time.sleep() should use CREATE_WAITABLE_TIMER_HIGH_RESOLUTION

2021-10-23 Thread Benjamin Szőke
Change by Benjamin Szőke : -- nosy: +Livius ___ Python tracker <https://bugs.python.org/issue45429> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30238] 2to3 doesn't detect or fix Exception indexing

2021-10-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: See the superseding issue; 2to3 is deprecated and headed towards deletion. -- ___ Python tracker <https://bugs.python.org/issue30

[issue45479] clean up Py_UniversalNewlineFgets

2021-10-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 9ce9cfe595d64e3081e69de7296042cc54bccf18 by Benjamin Peterson in branch 'main': bpo-45479: Futher simplify Py_UniversalNewlineFgets. (GH-28967) https://github.com/python/cpython/commit/9ce9cfe595d64e3081e69de7296042

[issue45479] clean up Py_UniversalNewlineFgets

2021-10-14 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +27255 pull_request: https://github.com/python/cpython/pull/28967 ___ Python tracker <https://bugs.python.org/issue45

[issue45479] clean up Py_UniversalNewlineFgets

2021-10-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 160c38df7fc7ba22dc687879c387bf643ffc3398 by Benjamin Peterson in branch 'main': closes bpo-45479: Degunkify Py_UniversalNewlineFgets. (GH-28965) https://github.com/python/cpython/commit/160c38df7fc7ba22dc687879c387bf

[issue45479] clean up Py_UniversalNewlineFgets

2021-10-14 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +27254 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28965 ___ Python tracker <https://bugs.python.org/issu

[issue45479] clean up Py_UniversalNewlineFgets

2021-10-14 Thread Benjamin Peterson
New submission from Benjamin Peterson : Py_UniversalNewlineFgets has a bunch of dead code and general gunk that should be removed. -- assignee: benjamin.peterson components: IO messages: 403970 nosy: benjamin.peterson priority: normal severity: normal status: open title: clean up

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-10-10 Thread Benjamin Szőke
Benjamin Szőke added the comment: In other words, using absolute timeout can eliminate the systematic error of desired sleep time. -- ___ Python tracker <https://bugs.python.org/issue21

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-10-10 Thread Benjamin Szőke
Benjamin Szőke added the comment: It is not true that there are no benefits. Absolute timeout using can reduce the overhead time of any variable and object intialization cost before the WaitForMultipleObjects() which will perform the real sleeping via blocking wait in pysleep

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-10-09 Thread Benjamin Szőke
Benjamin Szőke added the comment: Absolute timeout implementation via SetWaitableTimer() and GetSystemTimePreciseAsFileTime() is always better because it can reduce the "waste time" or "overhead time" what is always exist in any simple interval sleep implementation. More

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-10-09 Thread Benjamin Szőke
Benjamin Szőke added the comment: https://www.python.org/downloads/windows/ "Note that Python 3.10.0 cannot be used on Windows 7 or earlier." vstinner: Is it true that Windows 7 is not supported OS anymore? In this case we do not need to care about Windows 7 and earlier

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-09-25 Thread Benjamin Szőke
Benjamin Szőke added the comment: Do you have any information about when will be it released in 3.11? -- ___ Python tracker <https://bugs.python.org/issue21

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-09-22 Thread Benjamin Szőke
Change by Benjamin Szőke : -- pull_requests: +26917 pull_request: https://github.com/python/cpython/pull/28526 ___ Python tracker <https://bugs.python.org/issue21

[issue45262] crash if asyncio is used before and after re-initialization if using python embedded in an application

2021-09-22 Thread Benjamin Schiller
New submission from Benjamin Schiller : We have embedded Python in our application and we deinitialize/initialize the interpreter at some point of time. If a simple script with a thread that sleeps with asyncio.sleep is loaded before and after the re-initialization, then we get the following

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-09-14 Thread Benjamin Szőke
Change by Benjamin Szőke : -- pull_requests: +26754 pull_request: https://github.com/python/cpython/pull/28341 ___ Python tracker <https://bugs.python.org/issue21

[issue45190] unicode 14.0 upgrade

2021-09-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 024fda47d40b8cee77ac1cd3d31ee549edc11986 by Benjamin Peterson in branch 'main': closes bpo-45190: Update Unicode data to version 14.0.0. (GH-28336) https://github.com/python/cpython/commit/024fda47d40b8cee77ac1cd3d31ee5

[issue45190] unicode 14.0 upgrade

2021-09-14 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +26749 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28336 ___ Python tracker <https://bugs.python.org/issu

[issue45190] unicode 14.0 upgrade

2021-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : Unicode 14.0 is expected on September 14. We'll need to do the usual table regenerations. -- assignee: benjamin.peterson components: Unicode messages: 401747 nosy: benjamin.peterson, ezio.melotti, vstinner priority: normal severity: n

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-09-05 Thread Benjamin Szőke
Benjamin Szőke added the comment: Can you review my final implementation? https://github.com/python/cpython/pull/28111 -- versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue21

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-09-01 Thread Benjamin Szőke
Change by Benjamin Szőke : -- nosy: +Livius nosy_count: 5.0 -> 6.0 pull_requests: +26552 pull_request: https://github.com/python/cpython/pull/28111 ___ Python tracker <https://bugs.python.org/issu

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d7f5796a1ec7ba223f6a844d7580559abef05238 by Miss Islington (bot) in branch '3.8': bpo-33930: Fix typo in the test name. (GH-27735) https://github.com/python/cpython/commit/d7f5796a1ec7ba223f6a844d758055

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +26216 pull_request: https://github.com/python/cpython/pull/27736 ___ Python tracker <https://bugs.python.org/issue33

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f08e6d1bb3c5655f184af88c6793e90908bb6338 by Benjamin Peterson in branch 'main': bpo-33930: Fix typo in the test name. (#27733) https://github.com/python/cpython/commit/f08e6d1bb3c5655f184af88c6793e9

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- nosy: +benjamin.peterson nosy_count: 14.0 -> 15.0 pull_requests: +26213 pull_request: https://github.com/python/cpython/pull/27733 ___ Python tracker <https://bugs.python.org/issu

[issue44871] Threading memory leak

2021-08-09 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Memory leak/high usage on copy in different thread ___ Python tracker <https://bugs.python

[issue39091] _PyErr_CreateException() must check that the result is an exception (CPython Segfault in 5 lines of code)

2021-08-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 83ca46b7784b7357d82ec47b33295e09ed7380cb by Noah in branch 'main': closes bpo-39091: Fix segfault when Exception constructor returns non-exception for gen.throw. (#17658) https://github.com/python/cpyt

[issue37715] 2to3 set default encoding

2021-07-27 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41311] Add a function to get a random sample from an iterable (reservoir sampling)

2021-07-02 Thread Oscar Benjamin
Oscar Benjamin added the comment: I was contacted by someone interested in this so I've posted the last version above as a GitHub gist under the MIT license: https://gist.github.com/oscarbenjamin/4c1b977181f34414a425f68589e895d1 -- ___ P

[issue39247] dataclass defaults and property don't work together

2021-06-05 Thread Benjamin Lee
Benjamin Lee added the comment: > I'm not sure "alias" feels quite right, as it only applies to __init__ (if > I'm understanding it correctly). Maybe `init_alias` might be a better name. In any case, this would support privat

[issue39247] dataclass defaults and property don't work together

2021-06-05 Thread Benjamin Lee
Benjamin Lee added the comment: Would this issue not be trivially resolved if there was a way to specify alias in the dataclasses field? I.e.: _uploaded_by: str = dataclasses.field(alias="uploaded_by", default=None, init=False) Ultimately, the main goal is to make it so that the

[issue17681] Work with an extra field of gzip and zip files

2021-05-05 Thread Benjamin Sergeant
Benjamin Sergeant added the comment: type Header struct { Comment string// comment Extra []byte// "extra data" ModTime time.Time // modification time Namestring// file name OS byte // operating system type } This is what the header/ex

[issue17681] Work with an extra field of gzip and zip files

2021-05-05 Thread Benjamin Sergeant
Benjamin Sergeant added the comment: There is a comment field too which would be nice to support. The Go gzip module has a Header class that describe all the metadata. I see in 3.8 mtime was made configurable, so hopefully we can add comment and extra. https://golang.org/pkg/compress/gzip

[issue42422] types.CodeType() has no bytecode verifier

2021-04-21 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue43834] Use context manager in StringIO example

2021-04-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: I agree that closing or using a context manager with StringIO (or BytesIO) is not something one normally has to do, so it doesn't need to be in the example. -- resolution: -> rejected status: open -

[issue43602] Include Decimal's in numbers.Real

2021-04-16 Thread Oscar Benjamin
Oscar Benjamin added the comment: I've never found numbers.Real/Complex to be useful. The purpose of the ABCs should be that they enable you to write code that works for instances of any subclass but in practice writing good floating point code requires knowing something e.g. the

[issue43850] unreproducible bytecode: set order depends on random seed for compiled bytecode

2021-04-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: Let's keep any discussion on the preëxisting issue for this. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> support reproducible Python builds _

[issue43349] [doc] incorrect tuning(7) manpage link

2021-03-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f4d7d46cb48aa3a1bf3c2c7e2d7d71cbf49dea69 by Erlend Egeberg Aasland in branch 'master': closes bpo-43349: Fix tuning(7) manpage hyperlink. (GH-24680) https://github.com/python/cpython/commit/f4d7d46cb48aa3a1bf3c2c7e2d7d71

[issue43266] "String conversion and formatting" formatting messes up array subscripting

2021-02-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 2d3e463e4a5aa109d1c15c86f9631580f5ef7a7e by Erlend Egeberg Aasland in branch 'master': closes bpo-43266: Improve array formatting. (GH-24573) https://github.com/python/cpython/commit/2d3e463e4a5aa109d1c15c86f9631580f5ef7a7e -

[issue43254] Fix *snprintf() man page links

2021-02-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e92d67dfbb4790df37aa6a0961fb6dc7e8d2fbbf by Erlend Egeberg Aasland in branch 'master': closes bpo-43254: Fix *snprintf() man page refs. (GH-24563) https://github.com/python/cpython/commit/e92d67dfbb4790df37aa6a0961fb6d

[issue43011] DeprecationWarnings in test_ctypes

2021-01-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f7fa64f0e87edc61d990ed51b4da722906a10928 by Zackery Spytz in branch 'master': closes bpo-43011: Fix DeprecationWarnings in test_ctypes (GH-24305) https://github.com/python/cpython/commit/f7fa64f0e87edc61d990ed51b4da72

[issue42938] [security] ctypes double representation BoF

2021-01-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c347cbe694743cee120457aa6626712f7799a932 by Miss Islington (bot) in branch '3.9': closes bpo-42938: Replace snprintf with Python unicode formatting in ctypes param reprs. (GH-24247) https://github.com/python/cpyt

[issue42938] [security] ctypes double representation BoF

2021-01-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ece5dfd403dac211f8d3c72701fe7ba7b7aa5b5f by Miss Islington (bot) in branch '3.8': closes bpo-42938: Replace snprintf with Python unicode formatting in ctypes param reprs. (GH-24248) https://github.com/python/cpyt

[issue42938] [security] ctypes double representation BoF

2021-01-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d9b8f138b7df3b455b54653ca59f491b4840d6fa by Benjamin Peterson in branch '3.7': [3.7] closes bpo-42938: Replace snprintf with Python unicode formatting in ctypes param reprs. (GH-24249) https://github.com/python/cpyt

[issue42938] [security] ctypes double representation BoF

2021-01-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 34df10a9a16b38d54421eeeaf73ec89828563be7 by Benjamin Peterson in branch '3.6': [3.6] closes bpo-42938: Replace snprintf with Python unicode formatting in ctypes param reprs. (GH-24250) https://github.com/python/cpyt

[issue42938] [security] ctypes double representation BoF

2021-01-18 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +23072 pull_request: https://github.com/python/cpython/pull/24250 ___ Python tracker <https://bugs.python.org/issue42

[issue42938] [security] ctypes double representation BoF

2021-01-18 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +23071 pull_request: https://github.com/python/cpython/pull/24249 ___ Python tracker <https://bugs.python.org/issue42

[issue42938] [security] ctypes double representation BoF

2021-01-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 916610ef90a0d0761f08747f7b0905541f0977c7 by Benjamin Peterson in branch 'master': closes bpo-42938: Replace snprintf with Python unicode formatting in ctypes param reprs. (24239) https://github.com/python/cpyt

[issue42938] [security] ctypes double representation BoF

2021-01-18 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch nosy: +benjamin.peterson nosy_count: 2.0 -> 3.0 pull_requests: +23061 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24239 ___ Python tracker <https://bugs.p

[issue42798] pip search fails

2021-01-08 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29708] support reproducible Python builds

2020-12-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: PEP 552 was a necessary but not sufficient step on the road towards fully deterministic pycs. The PEP says: "(Note there are other problems [1] [2] we do not address here that can make pycs non-deterministic.)" where [1] and [2] are basically

[issue42780] os.set_inheritable() fails for O_PATH file descriptors on Linux

2020-12-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: Doing two syscalls does not seem so bad. Linux may allow FIOCLEX on O_PATH in the future. -- nosy: +benjamin.peterson versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue42

[issue42761] Why does python's Popen fail to pass environment variables on Mac OS X?

2020-12-27 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42736] Add support for making Linux prctl(...) calls to subprocess

2020-12-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Sun, Dec 27, 2020, at 14:53, Gregory P. Smith wrote: > Most prctl uses I noticed were PDEATHSIG but I'd need to explicitly > audit those. Users don't seem to care about it's documented main > thread caveat (which matches what

[issue42736] Add support for making Linux prctl(...) calls to subprocess

2020-12-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: I wonder if a dedicated datatype should be created for all os-specific parameters like https://golang.org/pkg/syscall/#SysProcAttr. Popen already has way too many parameters. And prctl is a very general interface; probably 98% of prctls would never need

[issue42693] "if 0:" lines are traced; they didn't use to be

2020-12-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: Maybe sys.settrace() is not ultimately the best tool for coverage reporting? If the bytecode compiler natively supported coverage instrumentation, source semantics would be easier to respect. A nice implementation could use Knuth & Stevenson &quo

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2020-12-08 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +22560 pull_request: https://github.com/python/cpython/pull/9178 ___ Python tracker <https://bugs.python.org/issue31

[issue40791] hmac.compare_digest could try harder to be constant-time.

2020-11-22 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40791] hmac.compare_digest could try harder to be constant-time.

2020-11-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset db95802bdfac4d13db3e2a391ec7b9e2f8d92dbe by Miss Islington (bot) in branch '3.7': bpo-40791: Make compare_digest more constant-time. (GH-23438) https://github.com/python/cpython/commit/db95802bdfac4d13db3e2a391ec7b9

[issue42340] KeyboardInterrupt should come with a warning

2020-11-12 Thread Benjamin Fogle
Change by Benjamin Fogle : -- keywords: +patch pull_requests: +22151 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23255 ___ Python tracker <https://bugs.python.org/issu

[issue42340] KeyboardInterrupt should come with a warning

2020-11-12 Thread Benjamin Fogle
Change by Benjamin Fogle : Added file: https://bugs.python.org/file49595/sigint_condition_1.py ___ Python tracker <https://bugs.python.org/issue42340> ___ ___ Python-bug

[issue42340] KeyboardInterrupt should come with a warning

2020-11-12 Thread Benjamin Fogle
Change by Benjamin Fogle : Added file: https://bugs.python.org/file49597/sigint_tempfile.py ___ Python tracker <https://bugs.python.org/issue42340> ___ ___ Python-bug

[issue42340] KeyboardInterrupt should come with a warning

2020-11-12 Thread Benjamin Fogle
Change by Benjamin Fogle : Added file: https://bugs.python.org/file49598/sigint_zipfile.py ___ Python tracker <https://bugs.python.org/issue42340> ___ ___ Python-bug

[issue42340] KeyboardInterrupt should come with a warning

2020-11-12 Thread Benjamin Fogle
New submission from Benjamin Fogle : This is related to bpo-29988, and I'm happy to move this to there. I made this a separate issue because this is a workaround, not a fix as was being discussed there. Also unlike bpo-29988, this is not restricted to context managers or finally blocks

[issue42340] KeyboardInterrupt should come with a warning

2020-11-12 Thread Benjamin Fogle
Change by Benjamin Fogle : Added file: https://bugs.python.org/file49596/sigint_condition_2.py ___ Python tracker <https://bugs.python.org/issue42340> ___ ___ Python-bug

[issue1633941] for line in sys.stdin: doesn't notice EOF the first time

2020-11-03 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> out of date stage: test needed -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/

[issue42160] unnecessary overhead in tempfile

2020-10-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: I also wonder if the overhead of getpid() is actually significant for anything. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42160] unnecessary overhead in tempfile

2020-10-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Wouldn't it be simpler to use random.SystemRandom instead? -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/is

[issue42060] Usage of assert in http/client.py

2020-10-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: Are these assertion failures actually reachable due to malformed input? If so, there should be some tests to that effect. Otherwise, if they're actually "impossible" situations, I don't think this change is necessary. -- nosy

[issue37428] SSLContext.post_handshake_auth implicitly enables cert validation

2020-10-16 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37440] httplib should enable post-handshake authentication for TLS 1.3

2020-10-16 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33483] build system requires explicit compiler, but should discover it

2020-10-16 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42030] Drop support for dynload_aix

2020-10-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 1dd6d956a3ddf2cf6d4a69241dba8cd1379421b9 by Kevin Adler in branch 'master': closes bpo-42030: Remove legacy AIX dynload support (GH-22717) https://github.com/python/cpython/commit/1dd6d956a3ddf2cf6d4a69241dba8c

[issue42030] Drop support for dynload_aix

2020-10-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think we should just axe it. -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue42030> ___ ___

[issue42029] Remove dynload_dl.c

2020-10-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 0cafcd3c56c9475913d8d4fd0223c297dbb70ac6 by Kevin Adler in branch 'master': closes bpo-42029: Remove dynload_dl (GH-22687) https://github.com/python/cpython/commit/0cafcd3c56c9475913d8d4fd0223c297dbb70ac6 -

[issue41949] Redefinition of HMAC functions prevents static linking

2020-10-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Note these are guarded by #if (OPENSSL_VERSION_NUMBER < 0x1010L) || defined(LIBRESSL_VERSION_NUMBER) which suggests that needs to tweaked -- nosy: +benjamin.peterson ___ Python tracker <

[issue35561] Valgrind reports Syscall param epoll_ctl(event) points to uninitialised byte(s)

2020-09-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: The valgrind bug was also fixed https://bugs.kde.org/show_bug.cgi?id=422623. -- ___ Python tracker <https://bugs.python.org/issue35

[issue38068] clean up configure logic for gettimeofday

2020-09-21 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2020-09-19 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29887] test_normalization doesn't work

2020-09-19 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29107] traceback module incorrectly formats args-less syntax errors

2020-09-18 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue17254] add thai encoding aliases to encodings.aliases

2020-09-10 Thread Benjamin Wood
Benjamin Wood added the comment: Bumping this again. I'd like to try and understand why this change can not or has not been approved. I added the technical info here to the github PR. Is there a shortage of reviewers? What can I do to help speed up the pr

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b6d2acb1b1a21f857c17cfb6e0e97a7b8bdc0171 by Benjamin Peterson in branch '3.9': [3.9] closes bpo-41723: Fix an error in the py_compile documentation. (GH-22118) https://github.com/python/cpython/commit/b6d2acb1b1a21f857c17cfb6e0e97a

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +21202 pull_request: https://github.com/python/cpython/pull/22118 ___ Python tracker <https://bugs.python.org/issue41

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 5371a464ce88ffc88f3bb95cfd86f355b7d02953 by Zackery Spytz in branch 'master': closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110) https://github.com/python/cpython/commit/5371a464ce88ffc88f3bb95cfd86f3

[issue41689] allow __text_signature__ to work for c heap types

2020-09-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 3940333637b98a2781869977b077552514784529 by Benjamin Peterson in branch 'master': closes bpo-41689: Preserve text signature from tp_doc in C heap type creation. (GH-22058) https://github.com/python/cpyt

[issue41689] allow __text_signature__ to work for c heap types

2020-09-01 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +21149 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22058 ___ Python tracker <https://bugs.python.org/issu

[issue41689] allow __text_signature__ to work for c heap types

2020-09-01 Thread Benjamin Peterson
New submission from Benjamin Peterson : C types can add a signature to their __doc__. Currently, PyType_FromSpec just deletes such signatures instead of making them visible from __text_signature__. -- components: C API messages: 376216 nosy: benjamin.peterson priority: normal severity

[issue41533] Bugfix: va_build_stack leaks the stack if do_mkstack fails

2020-08-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 75c80b0bda89debf312f075716b8c467d411f90e by Tony Solomonik in branch 'master': closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847) https://github.com/python/cpython/commit/75c80b0bda89debf312f075716b8c4

[issue41651] Pip: Wrong Showing of Progressbar when Downloading Modules

2020-08-28 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue13828] Further improve casefold documentation

2020-08-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Correctness of casefolding is defined by the Unicode standard, which currently states that "ß" folds to "ss". -- ___ Python tracker <https://bug

[issue38156] input fucntion raises SystemError after specific input.

2020-07-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset a74eea238f5baba15797e2e8b570d153bc8690a7 by Benjamin Peterson in branch 'master': closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569) https://github.com/python/cpython/commit/a74eea238f5baba15797e2e8b570d1

  1   2   3   4   5   6   7   8   9   10   >