New submission from Edison Abahurire :
The docstring for strftime is:
```def strftime(self, fmt):
"Format using strftime()."
```
And that of strptime:
def strptime(cls, date_string, format):
'string, format -> new datetime parsed f
Edison Abahurire added the comment:
Thanks for the review @p-ganssle.
I'll request that you assign it to me, counting on your guidance while changing
it in the C implementation.
--
___
Python tracker
<https://bugs.python.org/is
Edison Abahurire added the comment:
Hi, An enquiry here:
On the web documentation of strftime
(https://docs.python.org/3/library/datetime.html?highlight=strftime#datetime.time.strftime),
What does this mean?
"Format codes referring to hours, minutes or seconds will see 0 v
Edison Abahurire added the comment:
Oh! I realized that statement is there because the strftime method used is
inherited from the date class.
--
___
Python tracker
<https://bugs.python.org/issue40
New submission from Edison Abahurire :
The Error can be evidenced below:
```
>>>
>>> import timeit
>>>
>>> timeit.timeit('', number=1)
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.8/timeit
Edison Abahurire added the comment:
Yes, This is unexpected
In the first case:
Supplying an empty string can also mean no code has been supplied. So it could
be better treated as 'pass'.
In the second case:
Error messages are meant to inform you of what you have done wrong so tha
New submission from Edison Abahurire :
Just below the Module heading, most library documenation pages like
https://docs.python.org/3/library/datetime.html have a link to the source code
in the form of `Source code: Lib/datetime.py` that links to the cpython github
file of that module.
Some
Edison Abahurire added the comment:
Thanks for the review.
I'll open a PR.
--
___
Python tracker
<https://bugs.python.org/issue40896>
___
___
Python-bugs-l
Edison Abahurire added the comment:
Update: I opened a PR for this.
--
___
Python tracker
<https://bugs.python.org/issue40643>
___
___
Python-bugs-list mailin
New submission from Edison Abahurire :
These links in the deprecation warning on some Python 2 stdlib libraries
documentation pages pointing to Python 3 alternatives return 404s.
The link behind the words "Python documentation for the current stable release."
Examp
Edison Abahurire added the comment:
@Ned, I'm going to search through the docs for any links that may need
redirecting, and provide their python3 alternatives.
--
___
Python tracker
<https://bugs.python.org/is
Edison Abahurire added the comment:
I have done PyDate_FromDate in GH-13088
--
___
Python tracker
<https://bugs.python.org/issue36782>
___
___
Python-bugs-list m
Edison Abahurire added the comment:
I have done PyDateTime_FromDateAndTime. I'm moving on to add
PyDateTime_FromDateAndTimeAndFold (plus documentation for fold as requested in
https://bugs.python.org/issue36783) before making a PR.
--
___
P
Edison Abahurire added the comment:
I'm working on this because I think it should be done complementarily with
adding the test for PyDateTime_FromDateAndTimeAndFold at
https://bugs.python.org/issue36782.
#Pycon2019 sprints
--
nosy: +edison.abah
Edison Abahurire added the comment:
I have submitted PR (under review) for these tests:
- PyDate_FromDate / PyDateTimeAPI->Date_FromDate
- PyDateTime_FromDateAndTime / PyDateTimeAPI->DateTime_FromDateAndTime
- PyDateTime_FromDateAndTimeAndFold /
PyDateTimeAPI->DateTime_FromDateAndTi
Edison Abahurire added the comment:
@p-ganssle
Please open a new bpo for the Untested macros. I will be happy to work on that
in the sprints tomorrow.
--
___
Python tracker
<https://bugs.python.org/issue36
Edison Abahurire added the comment:
I have submitted a PR to address this. Awaiting Review.
--
___
Python tracker
<https://bugs.python.org/issue36783>
___
___
Edison Abahurire added the comment:
I'm now working on this as pbo-36782 awaits merging.
--
nosy: +anthony shaw
___
Python tracker
<https://bugs.python.org/is
18 matches
Mail list logo