[issue33947] Dataclasses can raise RecursionError in __repr__

2018-10-16 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +9273 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33947> ___ _

[issue24653] Mock.assert_has_calls([]) is surprising for users

2018-10-14 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +9245 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue24653> ___ _

[issue34848] range.index only takes one argument when it's documented as taking the usual 3

2018-10-14 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +9240 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue20216] Misleading docs for sha1, sha256, sha512, md5 modules

2018-10-14 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- pull_requests: +9238 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue20216> ___ ___ Py

[issue33958] Unused variable in pur embedding example

2018-06-25 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7535 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue33957] use standard term than generic wording

2018-06-25 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- title: use correct term than generic wording -> use standard term than generic wording ___ Python tracker <https://bugs.python.org/issu

[issue33957] use correct term than generic wording

2018-06-25 Thread Srinivas Reddy T
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

[issue33774] Document that @lru_cache caches based on exactly how the function arguments are specified

2018-06-25 Thread Srinivas Reddy T
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 <ht

[issue33894] tempfile.tempdir cannot be unset

2018-06-20 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7437 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33894> ___ _

[issue33906] IDLE: rename windows.py as window.py

2018-06-19 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7421 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue33904] IDLE: In rstrip, rename class RstripExtension as Rstrip

2018-06-19 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7418 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue33908] remove unecessary variable assignments

2018-06-19 Thread Srinivas Reddy T
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

[issue33908] remove unecessary variable assignments

2018-06-19 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7417 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33908> ___ _

[issue32464] raise NotImplemented vs return NotImplemented

2017-12-31 Thread Srinivas Reddy T
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

[issue32424] Rename copy() to __copy__() in xml.etree.ElementTree.Element Python implementation

2017-12-27 Thread Srinivas Reddy T
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

[issue32338] Save OrderedDict import in re

2017-12-25 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- pull_requests: +4903 ___ Python tracker <https://bugs.python.org/issue32338> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32360] Save OrderedDict imports in various stdlibs.

2017-12-25 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- pull_requests: +4902 ___ Python tracker <https://bugs.python.org/issue32360> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32384] Generator tests is broken in non-CPython implementation

2017-12-24 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- pull_requests: +4894 ___ Python tracker <https://bugs.python.org/issue32384> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32413] Document that locals() may return globals()

2017-12-24 Thread Srinivas Reddy T
Srinivas Reddy T added the comment: Done. exec(...)'s documentation covers raymond's comment. -- nosy: +thatiparthy ___ Python tracker <https://bugs.python.o

[issue32413] Document that locals() may return globals()

2017-12-24 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +4893 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32413> ___ _

[issue32360] Save OrderedDict imports in various stdlibs.

2017-12-23 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- pull_requests: +4889 ___ Python tracker <https://bugs.python.org/issue32360> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32418] Implement Server.get_loop() method

2017-12-23 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +4886 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32418> ___ _

[issue32360] Save OrderedDict imports in various stdlibs.

2017-12-23 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +4883 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32360> ___ _

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread Srinivas Reddy T
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. >>> impo

[issue15852] typos in curses argument error messages

2017-12-20 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- pull_requests: +4843 ___ Python tracker <https://bugs.python.org/issue15852> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32321] functools.reduce has a redundant guard or needs a pure Python fallback

2017-12-20 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +4841 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32321> ___ _

[issue20507] TypeError from str.join has no message

2014-02-04 Thread Srinivas Reddy T
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/issue20

[issue19563] Changing barry's email to ba...@python.org

2013-11-12 Thread Srinivas Reddy T
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.or

[issue19562] Added description for assert statement

2013-11-12 Thread Srinivas Reddy T
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