Jakub Wilk added the comment:
The attached (untested) patch should fix the bug.
--
keywords: +patch
Added file: http://bugs.python.org/file30271/elementinterface.diff
___
Python tracker
<http://bugs.python.org/issue17
New submission from Jakub Wilk:
Setting attributes on ElementTree.Element objects is broken: it succeeds
without exception, but then the following statement fails with AttributeError
(unless that statement sets an Element's attribute too):
$ python3.3 test-element-setattr.py
Hello
New submission from Jakub Wilk:
http://docs.python.org/3/library/ctypes.html#finding-shared-libraries reads:
"If wrapping a shared library with ctypes, it may be better to determine the
shared library name at development type, and hardcode ..."
Shouldn't that be "...
New submission from Jakub Wilk:
Currently distutils accesses stat_result timestamps like this:
os.stat(source)[ST_MTIME]
But, for compatibility with older Python versions, the above method gives you
at most 1-second resolution. It should do it like this instead:
os.stat(source).st_mtime
New submission from Jakub Wilk:
>>> '%(eggs)s %s' % {'eggs': 'ham'}
Traceback (most recent call last):
File "", line 1, in
TypeError: not enough arguments for format string
>>> '%s %(eggs)s' % {'eggs': 'ham
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue1467929>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jakub Wilk:
RFC 2152 reads:
A "+" character followed immediately by any character other than
members of set B or "-" is an ill-formed sequence.
"@" is not a member of B, so I would expect this to raise UnicodeDecodeE
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue1621>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Changes by Jakub Wilk :
--
components: Library (Lib)
nosy: jwilk
priority: normal
severity: normal
status: open
title: memcpy(NULL, NULL, 0) in
versions: Python 3.5
___
Python tracker
<http://bugs.python.org/issue22
Jakub Wilk added the comment:
The attached patch should fix the bug.
--
keywords: +patch
Added file: http://bugs.python.org/file36871/229023.patch
___
Python tracker
<http://bugs.python.org/issue22
New submission from Jakub Wilk:
If you initialize array with another empty array, then this code runs:
memcpy(self->ob_item, other->ob_item, len * other->ob_descr->itemsize);
But self->ob_item and other->ob_item are NULL in such case.
Passing null pointer to memcpy() is
Jakub Wilk added the comment:
This patch should fix it.
--
keywords: +patch
nosy: +jwilk
Added file: http://bugs.python.org/file36917/issue19087.patch
___
Python tracker
<http://bugs.python.org/issue22
Jakub Wilk added the comment:
On a second thought, "logical_offset + 1" alone could overflow; and there are
apparently other possible integer overflows in this function.
--
___
Python tracker
<http://bugs.python.o
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue19459>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue22232>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue22679>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue21081>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue22681>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue22350>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue8450>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue17239>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue24305>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue7267>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
New submission from Jakub Wilk:
If the encoding is declared on the second line, the first line must not contain
anything except comments. However, this fact is not documented.
The Python Language reference says only that "the encoding declaration must
appear on a line of its own";
a
Jakub Wilk added the comment:
Right, I meant
<https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations>.
--
___
Python tracker
<http://bugs.python.org/i
New submission from Jakub Wilk:
https://docs.python.org/3/whatsnew/3.4.html#multiprocessing reads:
"On Unix two new start methods, (spawn and forkserver, have been added for
starting processes using multiprocessing."
This stray "(" should be removed.
--
a
New submission from Jakub Wilk:
Misc/NEWS reads:
"Fix free-after-use bug"
It should be "use-after-free", not "free-after-use".
--
assignee: docs@python
components: Documentation
messages: 246310
nosy: docs@python, jwilk
priority: normal
severity: normal
Jakub Wilk added the comment:
Uh, "use-after-use" is not a bug either. :)
--
___
Python tracker
<http://bugs.python.org/issue24568>
___
___
Python-bugs-l
New submission from Jakub Wilk:
https://docs.python.org/3/howto/sorting.html#odd-and-ends gives the following
example for reverse sort stability:
>>> data = [('red', 1), ('blue', 1), ('red', 2), ('blue', 2)]
>>> assert sorted(data, re
New submission from Jakub Wilk:
Docstring of the distutils.errors module reads:
This module is safe to use in "from ... import *" mode; it only exports
symbols whose names start with "Distutils" and end with "Error".
But in reality, the module exports al
New submission from Jakub Wilk:
The safe_get_max_fd() (in Modules/_posixsubprocess.c) is documented to be
async-signal-safe.
However, this function calls sysconf().
sysconf() was guaranteed to be async-singal-safe in SUSv3, but it's no longer
in SUSv4.
I don't think it'
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue15873>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jakub Wilk:
Typo in the example code in
<https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.Executor.shutdown>:
in the last line, it should be "src4.txt", not "src3.txt".
--
assignee: docs@python
components: Docu
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue9253>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
New submission from Jakub Wilk:
https://docs.python.org/3/library/email-examples.html#examples-using-the-provisional-api
contains the following code:
from email.headerregistry import Address
...
msg['From'] = Address("Pepé Le Pew", "p...@example.com")
msg['
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue16314>
___
___
Python-bugs-list mailing list
Unsubscribe:
201 - 236 of 236 matches
Mail list logo