Change by Romuald Brunet :
--
nosy: +Romuald
___
Python tracker
<https://bugs.python.org/issue17393>
___
___
Python-bugs-list mailing list
Unsubscribe:
Romuald Brunet added the comment:
Confirming that this issue is still present on 3.8 (and working on a fix)
--
___
Python tracker
<https://bugs.python.org/issue17
Change by Romuald Brunet :
--
keywords: +patch
pull_requests: +16376
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16826
___
Python tracker
<https://bugs.python.org/issu
New submission from Romuald Brunet :
Python XML parser (xml.etree) does not seems to allow control characters that
are invalid in XML 1.0, but valid in XML 1.1 [1] [2]
Considering the following sample:
import xml.etree.ElementTree as ET
bad = 'bar baz'
print(ET.fromstring(b
Romuald Brunet added the comment:
Thanks for the quick reply
We're getting data from about a hundred different providers around the world;
some of them not really keen on standards, so we already have some hacks to fix
invalid XML. We'll add one to the list
In that particular cas
Romuald Brunet added the comment:
Ran into a similar issue today
This issue (and mine is fixed) in python 3.10. Most probaly related to #24565
fix
--
nosy: +Romuald
versions: +Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<ht
Romuald Brunet added the comment:
I meant: this issue is fixed in 3.10
--
___
Python tracker
<https://bugs.python.org/issue26779>
___
___
Python-bugs-list mailin
Romuald Brunet added the comment:
I'm not sure I follow.
You wish to "simply" update the doc? (and not update the retval to allow
storing it into a varible. I'm OK with that)
But if we choose this, I'm not sure what needs changing in the doctests :-?
Another
Change by Romuald Brunet :
--
pull_requests: +26106
pull_request: https://github.com/python/cpython/pull/27612
___
Python tracker
<https://bugs.python.org/issue42
New submission from Romuald Brunet :
When run in non-interactive mode and with a TTY stdin, the input() method will
not read more than 4095 characters
Simple example:
>>> foo = input() # paste a 5000 character pasteboard (one line)
>>> print(len(foo))
4095
Note th
Change by Romuald Brunet :
--
nosy: +Romuald
nosy_count: 3.0 -> 4.0
pull_requests: +27383
pull_request: https://github.com/python/cpython/pull/16826
___
Python tracker
<https://bugs.python.org/issu
Romuald Brunet added the comment:
This does not seems to be a copypaste issue.
I've re-tested using xdotool to "manually" type 5000 characters in to a X
terminal (gnome-terminal and xterm, to be sure) and got the same result.
I also have 4 read(0, "...") with the l
New submission from Romuald Brunet :
When using the pdb module, there is currently no way to easy access the current
return value of the stack
This return value is accessed by the 'retval command'
I propose using the currently unused argument to allow storing the return value
in
Change by Romuald Brunet :
--
keywords: +patch
pull_requests: +22470
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23601
___
Python tracker
<https://bugs.python.org/issu
New submission from Romuald Brunet:
In the "Defining New Types documentation" basics about tp_new ->
PyType_GenericNew, the doc states:
> We’d like to just assign this to the tp_new slot, but we can’t, for
> portability sake, On some platforms or compilers, we can’t static
Romuald Brunet added the comment:
I'm not sure this is relevant, but I've just made a simple test on Windows (7)
with my C extension using { … .tp_new = PyType_GenericNew } and the compiler
did not complain (also the code worked a
New submission from Romuald Brunet :
SMTP instances from the smtplib module are not creating their sock attribute
consistently after __init__
When host is sent as parameter a sock object is created (and hopefully,
connected)
When the host is not sent, the sock attribute doesn't exist a
Change by Romuald Brunet :
--
keywords: +patch
pull_requests: +5192
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32680>
___
___
Py
Romuald Brunet added the comment:
My use case:
try:
s = SMTP('myhost')
s.do_some_sending()
finaly:
if s is not None and s.sock is not None:
s.quit()
But I realize just now that in that case, if s was initialized correctly, its
sock was inev
Romuald Brunet added the comment:
I figured we didn't want to change the size of the columns (+12 COL), but this
could easily be done yes
--
___
Python tracker
<https://bugs.python.org/is
New submission from Romuald Brunet :
Context:
I'm using a custom Handler that relies on a third-party library that may not be
present
try:
from acme.logging import CustomHandler as BaseHandler
except ImportError:
import logging.NullHandler as BaseHandler
class MoreCustomHa
Change by Romuald Brunet :
--
keywords: +patch
pull_requests: +8111
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34307>
___
___
Py
Changes by Romuald Brunet :
--
nosy: +Romuald
___
Python tracker
<http://bugs.python.org/issue7980>
___
___
Python-bugs-list mailing list
Unsubscribe:
Romuald Brunet added the comment:
This is a patch attempt to fix issue: import the _strptime module at time /
datetime module load instead of method call.
Please note that the test is not fully reliable: it may pass without the patch
/ on current version, since threaded execution isn
New submission from Romuald Brunet:
Raising without a previous exception inside a method called from
multiprocessing.dummy.Pool.map will trigger a SystemError.
SystemError: PyEval_EvalFrameEx returned NULL without setting an error
Traceback (most recent call last):
File "example.py&q
New submission from Romuald Brunet:
When running pstats with functions that take less than 0.5 millisecond (per
call for example), the value shown is '0.000, which isn't really helpful.
This patch aims to show the value in microseconds instead of seconds for values
that would ot
26 matches
Mail list logo