New submission from Michael Anckaert :
When importing an ABC from the collections module in Python 3.9 there is a
warning that this is deprecated since Python 3.3 and will stop working in
Python 3.9.
Should this warning be removed and lead to an ImportError?
Python 3.9.0a0 (heads
Michael Anckaert added the comment:
Thank you for the clarification Paul. It makes sense to me now to not
include those accessors.
On Thu, 22 Aug 2019 at 17:46, Paul Ganssle wrote:
>
> Paul Ganssle added the comment:
>
> > I would support this addition. The timedelta cl
Michael Anckaert added the comment:
I would be very interested and motivated to work on this. I'll start by taking
a look at the pointers Raymond gave. If anyone can chime in with some more
information / guidance that would be awesome.
--
nosy: +michaelanc
Michael Anckaert added the comment:
I would support this addition. The timedelta class already has accessors for
days and seconds, why not for hours and minutes?
The implementation should make use of the idiomatic way as Serhiy mentioned.
>>> timedelta(hours=25).seconds // 3
Change by Michael Anckaert :
--
keywords: +patch
pull_requests: +15071
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/15359
___
Python tracker
<https://bugs.python.org/issu
Michael Anckaert added the comment:
@emmanuel: thanks for offering your help.
I made a first attempt at improving the docs in this branch:
https://github.com/MichaelAnckaert/cpython/tree/bpo-19820
--
___
Python tracker
<https://bugs.python.
Michael Anckaert added the comment:
This issue is still present on Python 3.7 and above.
As David suggested set_charset could be turned into a no-op on MIMEMultipart.
I traced set_charset back to inheritance from email.message.Message, would
overriding set_charset (and possibly raising a
Michael Anckaert added the comment:
As far as I can tell there is at least some information missing from the 'Types
and members' section. Not all attributes are listed in the table.
For example the attribute __cached__ is missing from the module type but it is
documented in t
Michael Anckaert added the comment:
I created a PR for this issue (PR 15281). If any changes are required I'm more
than happy to make them.
--
nosy: +michaelanckaert
___
Python tracker
<https://bugs.python.org/is
Change by Michael Anckaert :
--
keywords: +patch
pull_requests: +15005
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/15281
___
Python tracker
<https://bugs.python.org/issu
Michael Anckaert added the comment:
Clarification: the imp module shows a DeprecationWarning when imported. Was
this what was meant?
--
___
Python tracker
<https://bugs.python.org/issue26
Michael Anckaert added the comment:
I checked out the source (Lib/imp.py:219) and only see the docstring marking
this method als Deprecated. No exceptions are being raised.
I would like to work on this issue.
--
nosy: +michaelanckaert
___
Python
12 matches
Mail list logo