Kees Bos added the comment:
It's not entirely theoretical to me. I inherited some solaris boxes that cannot
be properly maintained anymore and that have a clre program that dumps core.
Hence no valid output and running into uninitialized 'paths'. The patch from
Xiang Zhang will fix
Kees Bos added the comment:
Sorry, yes. It's plural: 'paths'
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24114
___
___
Python-bugs-list
New submission from Kees Bos:
In certain corner cases, the ctypes.util can raise an error for a uninitialized
variable 'path' when with sunos5 the clre program exists, but fails to return
valid output lines.
(Also in 2.7.10rc0)
--
components: ctypes
files: ctypes.util-path.patch
New submission from Kees Bos:
ElementTree.fromstring and cElementTree.fromstring fail on parsing
value]]/value, but do parse value]]gt;/value
$ python
Python 2.7.3 (default, Apr 10 2013, 05:09:49)
[GCC 4.7.2] on linux2
Type help, copyright, credits or license for more information.
from
Kees Bos added the comment:
I'm not an expert, but from: http://www.w3.org/TR/REC-xml/#NT-AttValue
AttValue ::= '' ([^] | Reference)* '' | ' ([^'] | Reference)*
'
which I read as: Any Reference character is valid, except and , which are
used for escaping and closing the element
Kees Bos added the comment:
OK. I got clarification from the lxml list. It's not a bug. And it's sepcified
in section 2.4 (http://www.w3.org/TR/REC-xml/#syntax):
The ampersand character () and the left angle bracket () MUST NOT appear in
their literal form, except when used as markup
Changes by Kees Bos k@capitar.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18753
New submission from Kees Bos k@zx.nl:
The transport (second parameter to ServerProxy) must be unique for every
thread. This was not the case in pre-python2.7. It is caused by the reuse of
the connection (stored in _connection). This could be handled by saving the
thread id too.
I don't
Kees Bos k@zx.nl added the comment:
Added fix for python 2.7, which includes a test (testDictWithTupleKey) for the
compiler test (Lib/test/test_compiler.py).
--
status: pending - open
Added file: http://bugs.python.org/file18642/compiler-bug-issue6978.patch
Kees Bos k@zx.nl added the comment:
It's available at least since 2.4.
We're using it in Pyjamas (pyjs.org) to generate javascript code from python
code.
If there are better ways to produce python asts, I'd be happy to know that.
--
___
Python
Kees Bos k@zx.nl added the comment:
Sorry. Renamed .bak to .orig ...
Here's the patch compiler/transformer.py (against python 2.5)
--
Added file: http://bugs.python.org/file15068/transformer.py.patch
___
Python tracker rep...@bugs.python.org
http
New submission from Kees Bos k@zx.nl:
compiler.parse(d[1] = 1) should have a single tuple as subs
compiler.parse(d[1] = 1)
Module(None, Stmt([Assign([Subscript(Name('d'), 'OP_ASSIGN',
[Const(1)])], Const(1))]))
compiler.parse(d[1,] = 2)
Module(None, Stmt([Assign([Subscript(Name('d
Kees Bos k@zx.nl added the comment:
I just see that my patch is not correct, since the following is
supported by the language:
O[1:2:3, 4:5:6]
Where O[1:2:3, 4:5:6] == O[slice(1,2,3), slice(4,5,6)] ==
O.__getitem__((slice(1,2,3), slice(4,5,6
Kees Bos k@zx.nl added the comment:
patch which honors O[1:2:3, 4:5:6]
--
Added file: http://bugs.python.org/file14958/compiler.transformer.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6978
Changes by Kees Bos k@zx.nl:
Removed file: http://bugs.python.org/file14957/compiler.transformer.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6978
15 matches
Mail list logo