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 HTTPS
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 unicode
Allan Crooks a...@users.sourceforge.net 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
Allan Crooks a...@users.sourceforge.net 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
New submission from Allan Crooks a...@users.sourceforge.net:
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
New submission from Allan Crooks a...@users.sourceforge.net:
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
Changes by Allan Crooks a...@users.sourceforge.net:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4643
___
___
Python-bugs
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: Documentation
messages: 71582
nosy: amc1, georg.brandl