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
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&
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
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
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
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
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
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
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
Change by Benjamin Szőke :
--
nosy: +Livius
___
Python tracker
<https://bugs.python.org/issue45429>
___
___
Python-bugs-list mailing list
Unsubscribe:
Benjamin Peterson added the comment:
See the superseding issue; 2to3 is deprecated and headed towards deletion.
--
___
Python tracker
<https://bugs.python.org/issue30
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
Change by Benjamin Peterson :
--
pull_requests: +27255
pull_request: https://github.com/python/cpython/pull/28967
___
Python tracker
<https://bugs.python.org/issue45
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
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
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
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
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
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
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
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
Change by Benjamin Szőke :
--
pull_requests: +26917
pull_request: https://github.com/python/cpython/pull/28526
___
Python tracker
<https://bugs.python.org/issue21
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
Change by Benjamin Szőke :
--
pull_requests: +26754
pull_request: https://github.com/python/cpython/pull/28341
___
Python tracker
<https://bugs.python.org/issue21
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
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
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
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
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
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
Change by Benjamin Peterson :
--
pull_requests: +26216
pull_request: https://github.com/python/cpython/pull/27736
___
Python tracker
<https://bugs.python.org/issue33
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
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
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
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
Change by Benjamin Peterson :
--
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
Change by Benjamin Peterson :
--
resolution: -> not a bug
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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 -
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
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
_
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
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
-
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
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
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
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
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
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
Change by Benjamin Peterson :
--
pull_requests: +23072
pull_request: https://github.com/python/cpython/pull/24250
___
Python tracker
<https://bugs.python.org/issue42
Change by Benjamin Peterson :
--
pull_requests: +23071
pull_request: https://github.com/python/cpython/pull/24249
___
Python tracker
<https://bugs.python.org/issue42
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
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
Change by Benjamin Peterson :
--
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
Change by Benjamin Peterson :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
Change by Benjamin Peterson :
--
pull_requests: +22560
pull_request: https://github.com/python/cpython/pull/9178
___
Python tracker
<https://bugs.python.org/issue31
Change by Benjamin Peterson :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
Change by Benjamin Fogle :
Added file: https://bugs.python.org/file49595/sigint_condition_1.py
___
Python tracker
<https://bugs.python.org/issue42340>
___
___
Python-bug
Change by Benjamin Fogle :
Added file: https://bugs.python.org/file49597/sigint_tempfile.py
___
Python tracker
<https://bugs.python.org/issue42340>
___
___
Python-bug
Change by Benjamin Fogle :
Added file: https://bugs.python.org/file49598/sigint_zipfile.py
___
Python tracker
<https://bugs.python.org/issue42340>
___
___
Python-bug
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
Change by Benjamin Fogle :
Added file: https://bugs.python.org/file49596/sigint_condition_2.py
___
Python tracker
<https://bugs.python.org/issue42340>
___
___
Python-bug
Change by Benjamin Peterson :
--
resolution: -> out of date
stage: test needed -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/
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
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
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
Change by Benjamin Peterson :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Benjamin Peterson :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Benjamin Peterson :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Benjamin Peterson added the comment:
I think we should just axe it.
--
nosy: +benjamin.peterson
___
Python tracker
<https://bugs.python.org/issue42030>
___
___
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
-
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
<
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
Change by Benjamin Peterson :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Benjamin Peterson :
--
resolution: -> fixed
stage: backport needed -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Benjamin Peterson :
--
resolution: -> fixed
stage: backport needed -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Benjamin Peterson :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
Change by Benjamin Peterson :
--
pull_requests: +21202
pull_request: https://github.com/python/cpython/pull/22118
___
Python tracker
<https://bugs.python.org/issue41
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
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
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
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
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
Change by Benjamin Peterson :
--
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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 - 100 of 5170 matches
Mail list logo