[issue32321] functools.reduce has a redundant guard or needs a pure Python fallback
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +4841 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32321> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15852] typos in curses argument error messages
Change by Srinivas Reddy T : -- pull_requests: +4843 ___ Python tracker <https://bugs.python.org/issue15852> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32394] socket lib beahavior change in 3.6.4
Srinivas Reddy T added the comment: dtdev@dtdev-centos $ python3 Python 3.6.3 (default, Oct 11 2017, 18:17:01) [GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> hasattr(socket, 'TCP_KEEPCNT') True >>> I have linux system. Above is the output i got. -- nosy: +thatiparthy ___ Python tracker <https://bugs.python.org/issue32394> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32360] Save OrderedDict imports in various stdlibs.
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +4883 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32360> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32418] Implement Server.get_loop() method
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +4886 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32418> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32360] Save OrderedDict imports in various stdlibs.
Change by Srinivas Reddy T : -- pull_requests: +4889 ___ Python tracker <https://bugs.python.org/issue32360> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32413] Document that locals() may return globals()
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +4893 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32413> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32413] Document that locals() may return globals()
Srinivas Reddy T added the comment: Done. exec(...)'s documentation covers raymond's comment. -- nosy: +thatiparthy ___ Python tracker <https://bugs.python.org/issue32413> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32384] Generator tests is broken in non-CPython implementation
Change by Srinivas Reddy T : -- pull_requests: +4894 ___ Python tracker <https://bugs.python.org/issue32384> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32360] Save OrderedDict imports in various stdlibs.
Change by Srinivas Reddy T : -- pull_requests: +4902 ___ Python tracker <https://bugs.python.org/issue32360> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32338] Save OrderedDict import in re
Change by Srinivas Reddy T : -- pull_requests: +4903 ___ Python tracker <https://bugs.python.org/issue32338> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32424] Rename copy() to __copy__() in xml.etree.ElementTree.Element Python implementation
Srinivas Reddy T added the comment: Renaming the method `copy()` to `__copy__` breaks the API. I would rather have an alias for `__copy__`. I agree that it is not documented, but some users tend to assume public methods are documented and use them. So i think it is better to not to break their code. -- nosy: +thatiparthy ___ Python tracker <https://bugs.python.org/issue32424> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32464] raise NotImplemented vs return NotImplemented
New submission from Srinivas Reddy T : I ran these queries on cpython repo. ➜ cpython git:(master) ✗ grep -r . -e return --include=\*.py | grep NotImplemented | wc -l 196 ➜ cpython git:(master) ✗ grep -r . -e raise --include=\*.py | grep NotImplemented | wc -l 295 I have always used raise NotImplemented or raise NotImplementedError. But when does it make sense to return NotImplemented? -- messages: 309277 nosy: thatiparthy priority: normal severity: normal status: open title: raise NotImplemented vs return NotImplemented type: resource usage versions: Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue32464> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33908] remove unecessary variable assignments
New submission from Srinivas Reddy T : https://github.com/python/cpython/pull/7116 -- messages: 320018 nosy: thatiparthy priority: normal severity: normal status: open title: remove unecessary variable assignments type: resource usage versions: Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue33908> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33908] remove unecessary variable assignments
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7417 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33908> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33904] IDLE: In rstrip, rename class RstripExtension as Rstrip
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7418 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue33904> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33906] IDLE: rename windows.py as window.py
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7421 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue33906> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33894] tempfile.tempdir cannot be unset
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7437 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33894> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33774] Document that @lru_cache caches based on exactly how the function arguments are specified
Srinivas Reddy T added the comment: Hi Raymond, I find your statement hard to understand.I agree with Solstag, it is always helpful to have an example. +1 for solstag wording. -- nosy: +thatiparthy ___ Python tracker <https://bugs.python.org/issue33774> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33957] use correct term than generic wording
New submission from Srinivas Reddy T : I think it is better to use "Big-O notation" than a generic wording "computer science notation". I understand the use of latter, but i guess it helps the programmer since it makes him/her to google it or ask some one if he/she didn't know it yet. -- assignee: docs@python components: Documentation messages: 320433 nosy: docs@python, thatiparthy priority: normal pull_requests: 7515 severity: normal status: open title: use correct term than generic wording versions: Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue33957> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33957] use standard term than generic wording
Change by Srinivas Reddy T : -- title: use correct term than generic wording -> use standard term than generic wording ___ Python tracker <https://bugs.python.org/issue33957> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33958] Unused variable in pur embedding example
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7535 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue33958> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20216] Misleading docs for sha1, sha256, sha512, md5 modules
Change by Srinivas Reddy T : -- pull_requests: +9238 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue20216> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34848] range.index only takes one argument when it's documented as taking the usual 3
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +9240 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue34848> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24653] Mock.assert_has_calls([]) is surprising for users
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +9245 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue24653> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33947] Dataclasses can raise RecursionError in __repr__
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +9273 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33947> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19562] Added description for assert statement
New submission from Srinivas Reddy T: Added descriptive message to assert statement in datetime module. Since _check_date_fields does the job of data integrity, i did not check for ValueError, TypeError checks in the function. However, i am not sure of the adding descriptive messages to the other assert statements like, assert seconds == int(seconds). And isn't this too much defensive programming? -- components: Library (Lib) files: datetime.patch keywords: patch messages: 202708 nosy: thatiparthy priority: normal severity: normal status: open title: Added description for assert statement versions: Python 2.7, Python 3.3 Added file: http://bugs.python.org/file32588/datetime.patch ___ Python tracker <http://bugs.python.org/issue19562> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19563] Changing barry's email to ba...@python.org
New submission from Srinivas Reddy T: Updated to barry's new email address. -- components: Tests files: barry_email.patch keywords: patch messages: 202714 nosy: thatiparthy priority: normal severity: normal status: open title: Changing barry's email to ba...@python.org versions: Python 2.7, Python 3.3 Added file: http://bugs.python.org/file32589/barry_email.patch ___ Python tracker <http://bugs.python.org/issue19563> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20507] TypeError from str.join has no message
Srinivas Reddy T added the comment: The exact behavior is present in 2.7 version too. So tagging 2.7 to 3.4 -- nosy: +thatiparthy versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue20507> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com