PEW's Corner added the comment:
Seems to work. Thanks!
--
___
Python tracker
<https://bugs.python.org/issue45738>
___
___
Python-bugs-list mailing list
Unsub
New submission from PEW's Corner :
When exec'ing code with an illegal character after the line continuation
character '\', python 3.11.0a2 raises this strange exception:
SystemError: Negative size passed to PyUnicode_New
Here's an example where '#' is the illegal character:
exec('1
PEW's Corner added the comment:
It was probably a caching issue, because another device was just now still
displaying the page without files until I forced a refresh.
--
___
Python tracker
<https://bugs.python.org/issue44
PEW's Corner added the comment:
Yes, they're there now.
--
___
Python tracker
<https://bugs.python.org/issue44827>
___
___
Python-bugs-list mailing list
Unsub
New submission from PEW's Corner :
The "Files" section is empty on this page:
https://www.python.org/downloads/release/python-3100rc1/
Also, the Python Insider blog post contains the outdated b4 text under "And now
for something completely different".
--
m
PEW's Corner added the comment:
Thanks!
--
___
Python tracker
<https://bugs.python.org/issue43751>
___
___
Python-bugs-list mailing list
Unsubscribe:
PEW's Corner added the comment:
Regarding the custom async iterator, I don't know if this is the problem you're
referring to, but the following code seems to terminate abruptly when running
main2() (main1() is fine). This is without your changes, though.
import asyncio
class
New submission from PEW's Corner :
The new anext() builtin in Python 3.10.0a7 doesn't seem to work properly when a
default value is provided as the second argument. Here's an example:
import asyncio
async def f():
yield 'A'
yield 'B'
async def main():
g = f()
print(await
PEW's Corner added the comment:
I'm getting the same error (in 3.8.3) for this code:
o = bytearray(1)
o += o
There's no error if the second line is replaced with:
o += bytearray(1)
Not sure if this is related.
--
nosy: +pewscorner
___
Python
PEW's Corner added the comment:
Yes, the dll now seems to have ended up in c:\windows\syswow64. I have no idea
whether I chose "just for me" or "all users" last time (this is a general
irritant when having to manually update software on Windows), but I did choose
"
PEW's Corner added the comment:
After experimenting a bit more, I found that the python27.dll is NOT part of
the new installation, but is also NOT removed on upgrade or when uninstalling.
After I manually deleted this dll, the new installation correctly reports
itself as 2.7.17.
So
New submission from PEW's Corner :
After upgrading Python 2.7.16 to 2.7.17 using the Windows x86 MSI installer,
the new Python still reports itself as version 2.7.16:
D:\Python27>.\python.exe
Python 2.7.16 (v2.7.16:413a49145e, Mar 4 2019, 01:30:55) [MSC v.1500 32 bit
(Intel)] on win32
T
PEW's Corner added the comment:
Your proposal sounds good to me, Jeffrey.
--
___
Python tracker
<https://bugs.python.org/issue36411>
___
___
Python-bugs-list m
PEW's Corner added the comment:
Great analysis, Jeffrey. Does the kernel position actually move to the end of
the file on the f.write() in step 10, or on the flush in step 14? If it's the
latter, then f.write() should probably call lseek() to set both the kernel
position and internal
PEW's Corner added the comment:
But buffers are used - and update tell() correctly - in all other cases than
binary append+read mode (and even this case works in Python 2). Also, the
implementation clearly tries to keep tell() updated irrespective of the buffer,
so isn't it just a matter
New submission from PEW's Corner :
The slice class is described in the Built-In Functions document:
https://docs.python.org/3/library/functions.html#slice
... but that entry fails to mention the indices() method, and states that slice
objects "have no other explicit functionality&qu
Change by PEW's Corner :
--
keywords: +patch
pull_requests: +12492
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36416>
___
___
Py
PEW's Corner added the comment:
OK, I can give it a try. I need to read up on the procedures for doing so,
first, though, so it may take a while.
--
___
Python tracker
<https://bugs.python.org/issue36
New submission from PEW's Corner :
The online Python 2 documentation for unicode.isdecimal
(https://docs.python.org/2/library/stdtypes.html#unicode.isdecimal) incorrectly
states:
"Decimal characters include digit characters".
This is wrong (decimal characters are actually a subse
New submission from PEW's Corner :
The online Python 3 documentation for bytes.rpartition and bytearray.rpartition
(https://docs.python.org/3/library/stdtypes.html#bytes.rpartition) incorrectly
states:
"If the separator is not found, return a 3-tuple containing a copy of the
ori
New submission from PEW's Corner :
When a file is opened in binary append+read mode, i.e. open('file', 'a+b'), and
a write (i.e. append) operation is performed while the file pointer is not at
the end of the file (e.g. after a seek(0)), tell() will subsequently return the
wrong value
21 matches
Mail list logo