[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2010-11-25 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2562 ___ ___ Python-bugs-list mailing list

[issue10570] curses.tigetstr() returns bytes, but curses.tparm() expects a string

2010-11-28 Thread Jakub Wilk
New submission from Jakub Wilk jw...@jwilk.net: $ python3 --version Python 3.1.3 $ python3 setup.py bdist upload --sign [snip] Traceback (most recent call last): File setup.py, line 71, in module cmdclass = dict(build_py=build_py) File /usr/local/lib/python3.1/distutils/core.py, line

[issue10571] setup.py upload --sign broken: TypeError: 'str' does not support the buffer interface

2010-11-28 Thread Jakub Wilk
New submission from Jakub Wilk jw...@jwilk.net: $ python3 --version Python 3.1.3 $ python3 setup.py bdist upload --sign [snip] Traceback (most recent call last): File setup.py, line 71, in module cmdclass = dict(build_py=build_py) File /usr/local/lib/python3.1/distutils/core.py, line

[issue10571] setup.py upload --sign broken: TypeError: 'str' does not support the buffer interface

2010-11-29 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: Matthias: Nope, this one is OK. -- assignee: - tarek components: +Distutils -Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10571

[issue10570] curses.tigetstr() returns bytes, but curses.tparm() expects a string

2010-11-29 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: Ugh. Please disregard the first message. What I wanted to write is: In Python 3.1.3, curses.tigetstr() returns bytes (which makes sense), but curses.tparm() expects a Unicode string as first argument. As a consequence even the example given

[issue10571] setup.py upload --sign broken: TypeError: 'str' does not support the buffer interface

2010-11-29 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: Patch attached. -- keywords: +patch Added file: http://bugs.python.org/file19870/issue10571.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10571

[issue969718] BASECFLAGS are not passed to module build line

2010-12-11 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue969718 ___ ___ Python-bugs-list mailing list

[issue7213] Popen.subprocess change close_fds default to True

2010-12-11 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7213 ___ ___ Python-bugs-list mailing list

[issue1882] py_compile does not follow PEP 0263

2008-01-21 Thread Jakub Wilk
New submission from Jakub Wilk: PEP 0263 allows an encoding declaration in the second line, but py_compile seems not to recognize such ones: MODULE = \n# encoding=UTF-8\nU = u'\xc3\xb3'\n f = file('tmp.py', 'w') f.write(MODULE) f.close() from py_compile import compile compile('tmp.py

[issue3990] The Linux2 platform definition is incorrect for alpha, hppa, mips, sparc

2010-06-28 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3990 ___ ___ Python-bugs-list mailing list

[issue5871] email.header.Header allows to embed raw newlines into a message

2010-08-05 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: Sorry if that wasn't clear in the first place: this is not a feature request. I agree that current behavior for email.header.Header (as shown in the first message) is bizarre, confusing, unnecessary, and potentially leading to vulnerabilities

[issue4608] urllib.request.urlopen does not return an iterable object

2008-12-09 Thread Jakub Wilk
New submission from Jakub Wilk [EMAIL PROTECTED]: $ cat urltest2.5 #!/usr/bin/python2.5 from urllib2 import urlopen for line in urlopen('http://python.org/'): print line break $ ./urltest2.5 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1

[issue4608] urllib.request.urlopen does not return an iterable object

2008-12-28 Thread Jakub Wilk
Jakub Wilk uba...@users.sf.net added the comment: Regarding Senthil's patch: __next__() method seems superfluous to me (and the implementation is buggy). ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4608

[issue4608] urllib.request.urlopen does not return an iterable object

2009-01-03 Thread Jakub Wilk
Jakub Wilk uba...@users.sf.net added the comment: Oops, __next__ is OK. Sorry for the confusion. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4608

[issue1813] Codec lookup failing under turkish locale

2010-04-28 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1813 ___ ___ Python-bugs-list mailing list

[issue2844] int() lies about base parameter

2008-05-13 Thread Jakub Wilk
New submission from Jakub Wilk [EMAIL PROTECTED]: int('42', 42) Traceback (most recent call last): File stdin, line 1, in module ValueError: int() base must be = 2 and = 36 int('42', -909) 42 -- components: Library (Lib) messages: 66777 nosy: jwilk severity: normal status: open

[issue2844] int() lies about base parameter

2008-05-13 Thread Jakub Wilk
Jakub Wilk [EMAIL PROTECTED] added the comment: 10 would *not* do the trick: int(42) 42 int(42, 10) Traceback (most recent call last): File stdin, line 1, in module TypeError: int() can't convert non-string with explicit base __ Tracker [EMAIL PROTECTED

[issue3228] mailbox.mbox creates files with execute bit set

2008-06-28 Thread Jakub Wilk
Changes by Jakub Wilk [EMAIL PROTECTED]: -- nosy: +jwilk ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3228 ___ ___ Python-bugs-list mailing list

[issue3228] mailbox.mbox creates files with execute bit set

2008-08-03 Thread Jakub Wilk
Jakub Wilk [EMAIL PROTECTED] added the comment: For consistency with other methods, test_folder_file_permissions() should set umask to 0. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3228

[issue7599] (c)ElementTree can produce invalid XML

2009-12-30 Thread Jakub Wilk
New submission from Jakub Wilk uba...@users.sf.net: $ cat buggy.py import sys from xml.etree import ElementTree as et root = et.Element('root') root.text = u'\x07' et.ElementTree(root).write(sys.stdout) $ python buggy.py | xmllint - -:1: parser error : PCDATA invalid Char value 7 root/root

[issue5228] multiprocessing not compatible with functools.partial

2011-04-03 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5228 ___ ___ Python-bugs-list mailing list

[issue8323] multiprocessing.Queue ignores pickle restrictions in .put()

2011-04-04 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8323 ___ ___ Python-bugs-list mailing list

[issue12226] use secured channel for uploading packages to pypi

2011-06-01 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12226 ___ ___ Python-bugs-list mailing list

[issue12619] Automatically regenerate platform-specific modules

2011-10-19 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: FYI, in Debian we have at least: one package using the CDROM module, 3 packages using the IN module, 14 packages using the DLFCN module. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue13226] Expose RTLD_* constants in the posix module

2011-10-19 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13226 ___ ___ Python-bugs-list mailing list

[issue12619] Automatically regenerate platform-specific modules

2011-10-20 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: * STINNER Victor rep...@bugs.python.org, 2011-10-19, 22:55: FYI, in Debian we have at least: one package using the CDROM module, Is it cdsuite? (http://offog.org/code/cdsuite.html) No, Freevo http://freevo.sourceforge.net/. 3 packages using

[issue16948] email.mime.text.MIMEText: QP encoding broken with charset!=ISO-8859-1

2013-01-12 Thread Jakub Wilk
New submission from Jakub Wilk: If you try to create MIMEText object with text containing characters outside the ISO-8859-1 range, the quoted-printable encoder fails with KeyError: Python 3.2.3 (default, Sep 10 2012, 12:58:42) [GCC 4.7.1] on linux2 Type help, copyright, credits or license

[issue17018] Inconsistent behaviour of methods waiting for child process

2013-01-23 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17018 ___ ___ Python-bugs-list mailing list

[issue12641] Remove -mno-cygwin from distutils

2013-01-25 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12641 ___ ___ Python-bugs-list mailing list

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-18 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: Just to give some statistic, in Debian we have 80 binary packages that check if sys.platform is linux2. However, it appears to me that vast majority of them is broken anyway, because what they really mean to check is: - is this a non-Windows sytem

[issue12761] Typo in Doc/license.rst

2011-08-16 Thread Jakub Wilk
New submission from Jakub Wilk jw...@jwilk.net: The zlib extension is built using an included copy of the zlib sources unless the zlib version found on the system is too old to be used for the build I believe it should be if rather than unless. -- messages: 142205 nosy: jwilk priority

[issue12762] EnvironmentError_str contributes to unportable code

2011-08-16 Thread Jakub Wilk
New submission from Jakub Wilk jw...@jwilk.net: It is a surprisingly common error in 3rd party code to write something like this: try: eggs() except OSError, e: if e.errno == 17: ham() This is wrong, because according to POSIX[0], “only […] symbolic names should

[issue12762] EnvironmentError_str contributes to unportable code

2011-08-16 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: And the lost footnote is: [0] http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_03.html#tag_02_03 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12762

[issue14102] argparse: add ability to create a man page

2012-06-12 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14102 ___ ___ Python-bugs-list mailing list

[issue15332] 2to3 should fix bad indentation (or warn about it)

2012-07-12 Thread Jakub Wilk
New submission from Jakub Wilk jw...@jwilk.net: Python 3 is more rigid about mixing tabs and spaces within a single file. 2to3 should either fix indentation that would become a syntax error in Python 3.X, or maybe issue a warning about it (or both). Example: $ python badtabs.py echo okay

[issue14248] Typo in What’s New In Python 3.3: comparaison

2012-03-10 Thread Jakub Wilk
New submission from Jakub Wilk jw...@jwilk.net: Typo in Doc/whatsnew/3.3.rst: comparaison - comparison. -- assignee: docs@python components: Documentation messages: 155347 nosy: docs@python, jwilk priority: normal severity: normal status: open title: Typo in What’s New In Python 3.3

[issue2066] Adding new CNS11643, a *huge* charset, support in cjkcodecs

2013-07-24 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2066 ___ ___ Python-bugs-list mailing list

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-15 Thread Jakub Wilk
New submission from Jakub Wilk: The xml.etree.ElementTree module provides _Element and _ElementInterface as compatibility aliases for Element. However, in Python 3.3 if the _elementtree module is importable, these classes are not identical: Element is a C implementation, and _Element

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-15 Thread Jakub Wilk
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 rep...@bugs.python.org http://bugs.python.org/issue17988

[issue17989] ElementTree.Element broken attribute setting

2013-05-15 Thread Jakub Wilk
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 world

[issue18026] Typo in ctypes documentation

2013-05-20 Thread Jakub Wilk
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 ... at development time

[issue18027] distutils should access stat_result timestamps via .st_*time attributes

2013-05-20 Thread Jakub Wilk
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

[issue1054041] Python doesn't exit with proper resultcode on SIGINT

2013-05-25 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1054041 ___ ___ Python-bugs-list mailing list

[issue18020] html.escape 10x slower than cgi.escape

2013-05-25 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18020 ___ ___ Python-bugs-list mailing list

[issue18128] pygettext: non-standard timestamp format in POT-Creation-Date

2013-06-03 Thread Jakub Wilk
New submission from Jakub Wilk: pygettext uses non-standard timestamp format in the POT-Creation-Date field. For example: POT-Creation-Date: 2013-06-03 22:31+CEST whereas xgettext uses this format: POT-Creation-Date: 2013-06-03 22:31+0200 You could use this code to generate timestamps

[issue1475523] gettext breaks on plural-forms header

2013-06-14 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1475523 ___ ___ Python-bugs-list mailing list

[issue18216] gettext doesn't check MO versions

2013-06-14 Thread Jakub Wilk
New submission from Jakub Wilk: The MO file format specification[0] reads: A program seeing an unexpected major revision number should stop reading the MO file entirely But Python doesn't pay attention to versions at all. As a test-case I attached a MO file with a bogus major revision number

[issue14653] Improve mktime_tz to use calendar.timegm instead of time.mktime

2013-06-17 Thread Jakub Wilk
Jakub Wilk added the comment: The documentations says Minor deficiency: mktime_tz() interprets the first 8 elements of tuple as a local time and then compensates for the timezone difference. This may yield a slight error around changes in daylight savings time, though not worth worrying about

[issue14653] Improve mktime_tz to use calendar.timegm instead of time.mktime

2013-06-17 Thread Jakub Wilk
Jakub Wilk added the comment: Fair enough, filed as issue #18243. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14653 ___ ___ Python-bugs-list

[issue18243] mktime_tz documentation out-of-date

2013-06-17 Thread Jakub Wilk
New submission from Jakub Wilk: email.utils.mktime_tz documentations says: Minor deficiency: mktime_tz() interprets the first 8 elements of tuple as a local time and then compensates for the timezone difference. This may yield a slight error around changes in daylight savings time, though

[issue18263] python.man: no documentation for -b, -X

2013-06-19 Thread Jakub Wilk
New submission from Jakub Wilk: The -b and -X options are not documented in Misc/python.man. -- assignee: docs@python components: Documentation messages: 191463 nosy: docs@python, jwilk priority: normal severity: normal status: open title: python.man: no documentation for -b, -X

[issue17121] SSH upload for distutils

2013-06-19 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17121 ___ ___ Python-bugs-list mailing list

[issue18217] Deprecate and remove gettext.install

2013-06-27 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18217 ___ ___ Python-bugs-list mailing list

[issue10529] Write argparse i18n howto

2013-06-27 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10529 ___ ___ Python-bugs-list mailing list

[issue18317] gettext: DoS via crafted Plural-Forms

2013-06-27 Thread Jakub Wilk
New submission from Jakub Wilk: It is possible to craft a MO file with Plural-Forms taking arbitrary amounts of CPU and memory to evaluate. A test case is attached. I realize that opening unstrusted MO files is a rather unusual use case, but the module already contains some code to protect

[issue18317] gettext: DoS via crafted Plural-Forms

2013-06-27 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: Added file: http://bugs.python.org/file30716/testcase.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18317

[issue18319] gettext() cannot find translations with plural forms

2013-06-27 Thread Jakub Wilk
New submission from Jakub Wilk: gettext() cannot find translations for messages that have plural forms. I would expect that gettext(s) is equivalent to ngettext(s, s, 1) for such messages, as it is implemented in GNU gettext. import gettext with open('test.mo', 'rb') as mo: trans

[issue18317] gettext: DoS via crafted Plural-Forms

2013-06-28 Thread Jakub Wilk
Jakub Wilk added the comment: Making token filtering more thorough may be simpler that going through AST. I think Python should accept all the operators that GNU gettext accepts: http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/plural.y?id=v0.18.2.1#n132

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-09-06 Thread Jakub Wilk
New submission from Jakub Wilk: This used to work correctly in Python 3.2: Python 3.3.0rc1 (default, Aug 29 2012, 00:39:20) [GCC 4.7.1] on linux Type help, copyright, credits or license for more information. import shutil shutil.rmtree('/etc/fstab', ignore_errors=True) Traceback (most recent

[issue5279] 2to3 mishandles some imports

2009-02-16 Thread Jakub Wilk
New submission from Jakub Wilk uba...@users.sf.net: $ cat test.py from itertools import imap as _map $ ./2to3 test.py 2/dev/null --- test.py (original) +++ test.py (refactored) @@ -1,1 +1,1 @@ -from itertools import imap as _map +from itertools import as _map -- components: 2to3 (2.x

[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2009-04-25 Thread Jakub Wilk
Changes by Jakub Wilk uba...@users.sf.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3672 ___ ___ Python-bugs-list mailing

[issue3297] Python interpreter uses Unicode surrogate pairs only before the pyc is created

2009-04-25 Thread Jakub Wilk
Changes by Jakub Wilk uba...@users.sf.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3297 ___ ___ Python-bugs-list mailing

[issue5871] email.header.Header allow to embed raw newlines into a message

2009-04-28 Thread Jakub Wilk
New submission from Jakub Wilk uba...@users.sf.net: from email.mime.text import MIMEText from email.header import Header msg = MIMEText('dummy') h = Header('dummy\nX-Injected-Header: yes') msg['Subject'] = h print msg.as_string() Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0

[issue19941] python -m imports non-ASCII .py file without encoding declaration

2013-12-10 Thread Jakub Wilk
New submission from Jakub Wilk: If you have a non-ASCII .py file without encoding declaration, then you can't normally import it: $ python --version Python 2.7.6 $ python -c 'import test' Traceback (most recent call last): File string, line 1, in module File test.py, line 1 SyntaxError

[issue17762] platform.linux_distribution() should honor /etc/os-release

2013-12-10 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17762 ___ ___ Python-bugs-list mailing list

[issue19907] gettext - Non ascii chars in header

2013-12-10 Thread Jakub Wilk
Jakub Wilk added the comment: See also issue18128. Date headers are not only for humans; I've seen software that parses them. -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19907

[issue19783] No SSL match_hostname() in nntplib

2013-12-10 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19783 ___ ___ Python-bugs-list mailing list

[issue19942] UTF-8 encoding not enforced

2013-12-10 Thread Jakub Wilk
New submission from Jakub Wilk: I created a Python file which contained a non-UTF-8 string literal (but no Unicode literals), and added UTF-8 encoding declaration to it. I expected that Python will raise SyntaxError when importing such module, but it doesn't: $ python --version Python 2.7.6

[issue19942] UTF-8 encoding not enforced

2013-12-10 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: Added file: http://bugs.python.org/file33078/test1.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19942

[issue19943] typo: unkown → unknown

2013-12-10 Thread Jakub Wilk
New submission from Jakub Wilk: There's a typo in Lib/lib2to3/fixes/fix_import.py: unkown → unknown -- components: Library (Lib) messages: 205799 nosy: jwilk priority: normal severity: normal status: open title: typo: unkown → unknown ___ Python

[issue12029] Catching virtual subclasses in except clauses

2013-12-10 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12029 ___ ___ Python-bugs-list mailing list

[issue5996] abstract class instantiable when subclassing dict

2013-12-10 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5996 ___ ___ Python-bugs-list mailing list

[issue19942] UTF-8 encoding not enforced

2013-12-11 Thread Jakub Wilk
Jakub Wilk added the comment: With a slightly adapted test case, I see the same behavior in Python 3.3.3. Perhaps it would be worth fixing the bug in Python 3.4? -- Added file: http://bugs.python.org/file33092/test3.py ___ Python tracker rep

[issue18603] PyOS_mystricmp unused and no longer available

2013-12-21 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18603 ___ ___ Python-bugs-list mailing list

[issue20044] gettext.install() ignores previous call to locale.setlocale()

2013-12-21 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20044 ___ ___ Python-bugs-list mailing list

[issue16074] Bad error message in os.rename, os.link, and os.symlink

2013-12-21 Thread Jakub Wilk
Jakub Wilk added the comment: As far as rename() and link() are concerned, either of the arguments can cause an ENOENT error: os.rename('/dev/foobar', '/dev/barfoo') # fails because /dev/foobar doesn't exist os.rename('/dev/null', '/foo/bar/baz') # fails because /foo/bar doesn't exist

[issue19846] Python 3 raises Unicode errors with the C locale

2013-12-21 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19846 ___ ___ Python-bugs-list mailing list

[issue15216] Support setting the encoding on a text stream after creation

2013-12-21 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15216 ___ ___ Python-bugs-list mailing list

[issue19977] Use surrogateescape error handler for sys.stdin and sys.stdout on UNIX for the C locale

2013-12-21 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19977 ___ ___ Python-bugs-list mailing list

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2014-01-02 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19619 ___ ___ Python-bugs-list mailing list

[issue20093] Wrong OSError message from os.rename() when dst is a non-empty directory

2014-01-02 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20093 ___ ___ Python-bugs-list mailing list

[issue20050] distutils should check PyPI certs when connecting to it

2014-01-02 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20050 ___ ___ Python-bugs-list mailing list

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2014-01-02 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7475 ___ ___ Python-bugs-list mailing list

[issue1652] subprocess should have an option to restore SIGPIPE to default action

2014-01-14 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1652 ___ ___ Python-bugs-list mailing list

[issue18373] implement sys.get/setbyteswarningflag()

2014-01-15 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18373 ___ ___ Python-bugs-list mailing list

[issue20415] Could method isinstance take a list as parameter?

2014-01-30 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20415 ___ ___ Python-bugs-list mailing list

[issue16202] sys.path[0] security issues

2014-01-30 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16202 ___ ___ Python-bugs-list mailing list

[issue20447] doctest.debug_script: insecure use of /tmp

2014-01-30 Thread Jakub Wilk
New submission from Jakub Wilk: The doctest.debug_script function creates temporary files in an insecure way: srcfilename = tempfile.mktemp(.py, doctestdebug) f = open(srcfilename, 'w') This is already fixed for Python = 3.2, although for reasons other than security: issue12451

[issue12015] possible characters in temporary file name is too few

2014-01-30 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12015 ___ ___ Python-bugs-list mailing list

[issue18673] Add O_TMPFILE to os module

2014-01-30 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18673 ___ ___ Python-bugs-list mailing list

[issue20361] -W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options

2014-02-10 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20361 ___ ___ Python-bugs-list mailing list

[issue17997] ssl.match_hostname(): sub string wildcard should not match IDNA prefix

2014-02-23 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17997 ___ ___ Python-bugs-list mailing list

[issue20749] shutil.unpack_archive(): security concerns not documented

2014-02-23 Thread Jakub Wilk
New submission from Jakub Wilk: shutil.unpack_archive() uses tarfile.extractall() under the hood, so it's not suitable for unpacking untrusted archives. But this fact is not documented. Please add a security warning to shutil.unpack_archive() documentation. -- assignee: docs@python

[issue13856] xmlrpc / httplib changes to allow for certificate verification

2014-03-21 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13856 ___ ___ Python-bugs-list mailing list

[issue17621] Create a lazy import loader mixin

2014-03-22 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17621 ___ ___ Python-bugs-list mailing list

[issue21324] dbhash leaks random memory fragments to a database

2014-04-21 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21324 ___ ___ Python-bugs-list mailing list

[issue21334] nntplib throws exceptions making sinntp unusable

2014-04-23 Thread Jakub Wilk
Jakub Wilk added the comment: For the reference, the exception is: Traceback (most recent call last): File /home/user/sources/sinntp/sinntp, line 357, in module connection.quit() File /usr/lib/python2.7/nntplib.py, line 608, in quit resp = self.shortcmd('QUIT') File /usr/lib

[issue21332] subprocess bufsize=1 docs are misleading

2014-04-23 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21332 ___ ___ Python-bugs-list mailing list

[issue9338] argparse optionals with nargs='?', '*' or '+' can't be followed by positionals

2014-04-23 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9338 ___ ___ Python-bugs-list mailing list

[issue21109] tarfile: Traversal attack vulnerability

2014-04-23 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21109 ___ ___ Python-bugs-list mailing list

  1   2   3   >