[issue22787] ssl.SSLContext.load_cert_chain() backport regression with None as keyfile

2014-11-03 Thread Till Maas
Till Maas added the comment: sorry, it should be: requests.get("https://example.com";, cert="keycert.pem") -- ___ Python tracker <http://bug

[issue22787] ssl.SSLContext.load_cert_chain() backport regression with None as keyfile

2014-11-03 Thread Till Maas
New submission from Till Maas: https://github.com/python/cpython/commit/71a4ee3ea2c6847b9fc4b33cbc8d565a7bf2424a introduces a regression in ssl.SSLContext.load_cert_chain() https://github.com/python/cpython/blob/2.7/Modules/_ssl.c#L2462 With this change it is not possible to specify None as

[issue13530] Docs for os.lseek neglect to mention what it returns

2014-03-11 Thread Till Maas
Till Maas added the comment: This is not fixed for Python 2.7 and 2.6. -- nosy: +till ___ Python tracker <http://bugs.python.org/issue13530> ___ ___ Python-bug

[issue16584] unhandled IOError filecmp.cmpfiles() if file not readable

2013-05-09 Thread Till Maas
Till Maas added the comment: I just tried on a Windows 8 system with python from GIMP. The error occurs there as well if I compare two empty files after I removed permissions for one of the files. I do not know how to manage Windows' file ACLs in python, therefore I created the test

[issue16584] unhandled IOError filecmp.cmpfiles() if file not readable

2013-05-07 Thread Till Maas
Till Maas added the comment: When might this be patched in Python 2.X? This Exception makes the function pretty useless for me, since it makes by custom compare script crash. -- ___ Python tracker <http://bugs.python.org/issue16

[issue16584] unhandled IOError filecmp.cmpfiles() if file not readable

2012-11-30 Thread Till Maas
Changes by Till Maas : -- keywords: +patch Added file: http://bugs.python.org/file28169/filecmp_exception.patch ___ Python tracker <http://bugs.python.org/issue16

[issue16584] unhandled IOError filecmp.cmpfiles() if file not readable

2012-11-30 Thread Till Maas
New submission from Till Maas: If filecmp is used with files that the user is not allowed to read, it creates an IOError exception instead of returning the file's name as an file that could not compared. The documentation says: http://docs.python.org/2/library/filecmp.html Returns three

[issue7540] urllib2 request does not update content length after new add_data

2009-12-27 Thread Till Maas
Till Maas added the comment: I do not need to reuse a request object, but I did in a script when only the data was different for each request. If this is not meant to be done, then any not meant to be done modification should somehow create an error, when it is done, instead of silently

[issue7540] urllib2 request does not update content length after new add_data

2009-12-18 Thread Till Maas
New submission from Till Maas : When I try to reuse a urllib2.Request object with different post data, the data itself is updated, but the content length is not. Here is a simple script to reproduce it on Python 2.5 on Fedora 10 and 2.6 on Arch Linux: #!/usr/bin/python # vim: fileencoding=utf8

[issue6516] reset owner/group to root for distutils tarballs

2009-07-24 Thread Till Maas
Till Maas added the comment: I want to create uniform tarballs, independent of which username was used to create the tarball. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6557] urllib.urlopen creates bad requests when location header of 301 redirects contain spaces

2009-07-23 Thread Till Maas
New submission from Till Maas : If urllib.urlopen is pointed to an url that returns a redirection with a location header that points to a url containing spaces, that are properly urlencoded, then it creates a bad request with the spaces not encoded in the url. Here is an example/test case: In

[issue6517] configparser: add possibility to escape formatstrings

2009-07-18 Thread Till Maas
Till Maas added the comment: It would be nice if you could expand the patch to also use only one name for the support of format strings. In the beginning it is introduced as "reference expansion", but later in the document, several variatons of interpolation are used: "magica

[issue6517] configparser: add possibility to escape formatstrings

2009-07-18 Thread Till Maas
Till Maas added the comment: Afacs it is not documented to work. Here is the testcase: #!/usr/bin/python # vim: fileencoding=utf8 import ConfigParser import tempfile file = tempfile.TemporaryFile(mode='rw+b') file.write("[s]\nf=%%(b)s\n") file.seek(0) config = Confi

[issue6517] configparser: add possibility to escape formatstrings

2009-07-18 Thread Till Maas
New submission from Till Maas : There seems to be no way to add a config item with a value containing a formatstring without this formatstring beeing handled by configparser. A possible way to escape the formatstrings could be to double the %-sign, e.g.: [foo] bar = %%(string)s The value of

[issue6516] reset owner/group to root for distutils tarballs

2009-07-18 Thread Till Maas
New submission from Till Maas : Please allow to create tarballs with owner/group of files be set to root. One possible fix is to change cmd in distutils/archive_util.py to this: cmd = ["tar", "-cf", archive_name, "--owner=root", "--group=root", base_dir

[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

2009-07-18 Thread Till Maas
Changes by Till Maas : -- nosy: +till ___ Python tracker <http://bugs.python.org/issue1886> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth