[issue2504] Add gettext.pgettext() and variants support

2014-11-03 Thread Wichert Akkerman
Wichert Akkerman added the comment: Bump. Python 3 is still not on my radar, but I'll happily do a backport for Py2 and drop that on PyPI once this gets resolved. -- versions: +Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker rep

[issue15266] Perform the same checks as PyPI for Description field

2014-07-13 Thread Wichert Akkerman
Wichert Akkerman added the comment: Éric is not quite correct: I currently have a package where python setup.py check does not show any error, but PyPI still refuses to format my long description. Likewise python setup.py --long-description | rst2html-2.7.py /dev/null also does not reveal

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2014-03-27 Thread Wichert Akkerman
Wichert Akkerman added the comment: I can reproduce this on Both OSX 10.9 and Ubuntu 12.04: import mimetypes mimetypes.guess_extension('image/jpeg') '.jpe' mimetypes.init() mimetypes.guess_extension('image/jpeg') '.jpeg' The same thing happens for Python 3.4: Python 3.4.0rc3 (default, Mar

[issue1043134] Add preferred extensions for MIME types

2014-03-27 Thread Wichert Akkerman
Wichert Akkerman added the comment: Here is a related question on SO: http://stackoverflow.com/questions/352837/how-to-add-file-extensions-based-on-file-type-on-linux-unix -- nosy: +wichert ___ Python tracker rep...@bugs.python.org http

[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-07 Thread Wichert Akkerman
Changes by Wichert Akkerman wich...@wiggy.net: -- nosy: +wichert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18164 ___ ___ Python-bugs-list

[issue16354] Remember python version choice on docs.python.org

2012-10-29 Thread Wichert Akkerman
New submission from Wichert Akkerman: docs.python.org was recently change to redirect http://docs.python.org/ to http://docs.python.org/3/ , with an option to switch to documentation for a different version using both (why two ways?) a dropdown and links in the left column. Would

[issue2988] Invalid cookies crash web applications

2012-08-27 Thread Wichert Akkerman
Wichert Akkerman added the comment: I do not agree that this is a fix. Effectively this means that if a user has a single cookie that SimpleCookie does not like a webapp can not use any cookie at all. Imho at a minimum there should be a way to tell SimpleCookie to ignore invalid cookies

[issue2988] Invalid cookies crash web applications

2012-08-27 Thread Wichert Akkerman
Changes by Wichert Akkerman wich...@wiggy.net: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2988 ___ ___ Python-bugs

[issue10436] tarfile.extractfile in r| stream mode fails with filenames or members from getmembers()

2012-08-23 Thread Wichert Akkerman
Wichert Akkerman added the comment: You could also look for the first matching file and extract that. That way you can at least implement something similar to what standard tar can do: [fog;/tmp]-10 tar tf x.tar docs/ docs/index.rst docs/glossary.rst docs/Makefile docs/conf.py docs

[issue14826] urllib2.urlopen fails to load URL

2012-05-16 Thread Wichert Akkerman
New submission from Wichert Akkerman wich...@wiggy.net: There appears to be an odd networking issue with how urllib2 sends HTTP requests. Downloading an image from maw.liquifire.com gives an error: $ python -c 'import urllib2 ; urllib2.urlopen(http://maw.liquifire.com/maw?set=image

[issue2504] Add gettext.pgettext() and variants support

2010-11-26 Thread Wichert Akkerman
Wichert Akkerman wich...@wiggy.net added the comment: I can help test changes for python 2.x. The python 3.x ecosystem is at least a year away from becoming interesting for me I'm afraid. -- ___ Python tracker rep...@bugs.python.org http

[issue2504] Add gettext.pgettext() and variants support

2010-05-29 Thread Wichert Akkerman
Wichert Akkerman wich...@wiggy.net added the comment: Martin, is there anything we can do to help get this merged? I can really use this as well. My background here is that currently the complete zope i18n support abuses message ids as a workaround, and the result works but is very painful