New submission from Allan Crooks:
I initially filed this ticket against the ldap3 library, as this is where I
first encountered the issue: https://github.com/cannatag/ldap3/issues/356
I've attached a file which reproduces the issue using the standard library - it
makes both a HTTP and
New submission from Allan Crooks:
There seems to be a specific issue when using cElementTree.parse on a StringIO
object containing unicode text - it generates a ParseError.
I've tried variations of ElementTree and cElementTree, variations of StringIO
and cStringIO, and used str and un
Allan Crooks added the comment:
In the interests of getting this fixed (and not letting it die), should
I submit a proper patch? I suppose I would have to do one for each
version of Python that is affected (which is all of them, really).
___
Python tracker
Allan Crooks added the comment:
In terms of patching scanvars, I came up with the following solution:
ORIGINAL:
if parent is not __UNDEF__:
value = getattr(parent, token, __UNDEF__)
vars.append((prefix + token, prefix, value))
SOLUTION:
if parent is not __UNDEF__:
try
Changes by Allan Crooks :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue4643>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Allan Crooks :
When I run the following command:
C:\temp>\python26\Tools\scripts\2to3.py --help
Usage: refactor.py [options] file|dir ...
It mentions that the script name is refactor.py, rather than 2to3.py (I
guess that was the scripts original n
New submission from Allan Crooks :
If cgitb.html tries to get the value of an attribute from an object, and
the getattr call causes an exception to be raised (other than an
AttributeError), then cgitb.html fails to work:
If you run the attached file in Python 2.5.2 or 2.6, you get the
following
New submission from Allan Crooks <[EMAIL PROTECTED]>:
The documentation for random.random function shows this:
random() -> x in the interval [0, 1).
That should either be "[0, 1]" or "(0, 1)".
--
assignee: georg.brandl
components: Documentati