[issue40935] Links to Python3 docs for some libs return 404

2020-06-12 Thread Edison Abahurire
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/issue40

[issue40935] Links to Python3 docs for some libs return 404

2020-06-09 Thread Edison Abahurire
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

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-06-07 Thread Edison Abahurire
Edison Abahurire added the comment: Update: I opened a PR for this. -- ___ Python tracker <https://bugs.python.org/issue40643> ___ ___ Python-bugs-list mailin

[issue40896] Missing links to Source Code in Documentation pages

2020-06-07 Thread Edison Abahurire
Edison Abahurire added the comment: Thanks for the review. I'll open a PR. -- ___ Python tracker <https://bugs.python.org/issue40896> ___ ___ Python-bugs-list m

[issue40896] Missing links to Source Code in Documentation pages

2020-06-06 Thread Edison Abahurire
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

[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-20 Thread Edison Abahurire
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 that you fix

[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-18 Thread Edison Abahurire
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.py",

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-05-17 Thread Edison Abahurire
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

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-05-17 Thread Edison Abahurire
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

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-05-17 Thread Edison Abahurire
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/issue40

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-05-16 Thread Edison Abahurire
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 from a

[issue36833] Add tests for Datetime C API Macros

2019-05-11 Thread Edison Abahurire
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/issue36

[issue36783] No documentation for _FromXandFold C API functions

2019-05-06 Thread Edison Abahurire
Edison Abahurire added the comment: I have submitted a PR to address this. Awaiting Review. -- ___ Python tracker <https://bugs.python.org/issue36783> ___ ___

[issue36782] Add tests for the datetime C API

2019-05-06 Thread Edison Abahurire
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

[issue36782] Add tests for the datetime C API

2019-05-06 Thread Edison Abahurire
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

[issue36783] No documentation for _FromXandFold C API functions

2019-05-06 Thread Edison Abahurire
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.abahurire

[issue36782] Add tests for the datetime C API

2019-05-06 Thread Edison Abahurire
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. -- ___ Python

[issue36782] Add tests for the datetime C API

2019-05-04 Thread Edison Abahurire
Edison Abahurire added the comment: I have done PyDate_FromDate in GH-13088 -- ___ Python tracker <https://bugs.python.org/issue36782> ___ ___ Python-bugs-list m