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
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
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
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
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
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
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
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
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
Changes by Laurence McGlashan laurence.mcglas...@gmail.com:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19008
___
___
Python
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
11 matches
Mail list logo