[issue41026] mailbox does not support new Path object

2020-06-19 Thread Laurence
Laurence added the comment: I have patched the module to accept a path-like object, however it still follows the pre-pathlib ways of doing things elsewhere. There's quite a bit of work to do to modernise the whole module, but this patch at least adds support to pass a Path to the classes

[issue41026] mailbox does not support new Path object

2020-06-19 Thread Laurence
Change by Laurence : -- keywords: +patch pull_requests: +20153 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20976 ___ Python tracker <https://bugs.python.org/issu

[issue41026] mailbox does not support new Path object

2020-06-19 Thread Laurence
Laurence added the comment: Hi RĂ©mi, I understand why it is the case, I just thought it would be a nice enhancement and quick win to add the support. RE "you should use os.fspath() instead of str()": I'm following in the pathlib docuementation (https://docs.python.org/3/library/pa

[issue41026] mailbox does not support new Path object

2020-06-18 Thread Laurence
Laurence added the comment: Sorry, should read "in particular the Maildir class I'm using"... Same applies to mbox, however. -- ___ Python tracker <https://bugs.python.o

[issue41026] mailbox does not support new Path object

2020-06-18 Thread Laurence
New submission from Laurence : The mailbox library, in particular the Mailbox class I'm using, does not support the new Path object requiring a clumsy `mbx = Maildir(str(some_path_obj))` to use with a Path instance. It currently blows up if passed a Path directly (does not support startswith

[issue38305] https://2.python-requests.org/ missing TLS certicate

2019-09-28 Thread Tim Laurence
New submission from Tim Laurence : I am unsure how to route this given the recent transition of Requests to PSF so my apologies if this is the wrong spot. The page where I think most people look for Requests documentation appears to be broken https://2.python-requests.org/ When I look

[issue21159] configparser.InterpolationMissingOptionError is not very intuitive

2016-01-06 Thread Laurence Rowe
Laurence Rowe added the comment: This change is causing a problem for boto under 3.5.1 (works on 3.5.0): TypeError: get() got an unexpected keyword argument 'raw' > /usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/configparser.py(406)_interpolate_s

[issue24425] Installer Vender Issue

2015-06-25 Thread John Laurence Poole
John Laurence Poole added the comment: I attempted to install on Windows Server 2008 R2 Service Pack 1 and had the same problems. I thought it might be proxy since I'm behind a firewall, but setting the usual values did not allow the program to overcome whatever it is that PIP is having

[issue19008] tkinter: UnboundLocalError: local variable 'sys' referenced before assignment

2013-09-13 Thread Laurence McGlashan
New submission from Laurence McGlashan: Traceback (most recent call last): File string, line 1, in module File /usr/lib64/python2.7/site-packages/sk1/__init__.py, line 21, in module app.main.main() File /usr/lib64/python2.7/site-packages/sk1/app/main.py, line 150, in main

[issue19008] tkinter: UnboundLocalError: local variable 'sys' referenced before assignment

2013-09-13 Thread Laurence McGlashan
Changes by Laurence McGlashan laurence.mcglas...@gmail.com: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19008 ___ ___ Python

[issue11317] Documentation not updated to show string exceptions have been deprecated

2011-02-25 Thread Laurence Rowe
New submission from Laurence Rowe l...@lrowe.co.uk: The documentation at http://docs.python.org/c-api/exceptions.html#deprecation-of-string-exceptions states that String exceptions are still supported in the interpreter to allow existing code to run unmodified, but this will also change