[issue24114] ctypes.utils uninitialized variable 'paths'

2016-04-28 Thread Kees Bos
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

[issue24114] ctypes.utils uninitialized variable 'path'

2015-05-16 Thread Kees Bos
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

[issue24114] ctypes.utils uninitialized variable 'path'

2015-05-02 Thread Kees Bos
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

[issue18753] [c]ElementTree.fromstring fails to parse value]]/value

2013-08-16 Thread Kees Bos
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

[issue18753] [c]ElementTree.fromstring fails to parse value]]/value

2013-08-16 Thread Kees Bos
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

[issue18753] [c]ElementTree.fromstring fails to parse value]]/value

2013-08-16 Thread Kees Bos
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

[issue18753] [c]ElementTree.fromstring fails to parse value]]/value

2013-08-16 Thread Kees Bos
Changes by Kees Bos k@capitar.com: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18753

[issue14301] xmlrpc client transport and threading problem

2012-03-14 Thread Kees Bos
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

[issue6978] compiler.transformer dict key bug d[1,] = 1

2010-08-25 Thread Kees Bos
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

[issue6978] compiler.transformer dict key bug d[1,] = 1

2010-02-01 Thread Kees Bos
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

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-10-07 Thread Kees Bos
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

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-09-23 Thread Kees Bos
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

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-09-23 Thread Kees Bos
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

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-09-23 Thread Kees Bos
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

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-09-23 Thread Kees Bos
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