[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>
___
___
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

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>
___
___
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

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/issue34848>
___
___
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

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>
___
___
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

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/issue33958>
___
___
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

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/issue33957>
___
___
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

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 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



[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 
<https://bugs.python.org/issue33774>
___
___
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

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>
___
___
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

2018-06-20 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/issue33906>
___
___
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

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/issue33904>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
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

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>
___
___
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

2017-12-31 Thread Srinivas Reddy T

New submission from Srinivas  Reddy T <thatiparthysreeni...@gmail.com>:

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 <rep...@bugs.python.org>
<https://bugs.python.org/issue32464>
___
___
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

2017-12-27 Thread Srinivas Reddy T

Srinivas  Reddy T <thatiparthysreeni...@gmail.com> 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue32424>
___
___
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

2017-12-25 Thread Srinivas Reddy T

Change by Srinivas  Reddy T <thatiparthysreeni...@gmail.com>:


--
pull_requests: +4903

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32338>
___
___
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.

2017-12-25 Thread Srinivas Reddy T

Change by Srinivas  Reddy T <thatiparthysreeni...@gmail.com>:


--
pull_requests: +4902

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32360>
___
___
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

2017-12-24 Thread Srinivas Reddy T

Change by Srinivas  Reddy T <thatiparthysreeni...@gmail.com>:


--
pull_requests: +4894

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32384>
___
___
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()

2017-12-24 Thread Srinivas Reddy T

Srinivas  Reddy T <thatiparthysreeni...@gmail.com> added the comment:

Done. exec(...)'s  documentation covers raymond's comment.

--
nosy: +thatiparthy

___
Python tracker <rep...@bugs.python.org>
<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()

2017-12-24 Thread Srinivas Reddy T

Change by Srinivas  Reddy T <thatiparthysreeni...@gmail.com>:


--
keywords: +patch
pull_requests: +4893
stage:  -> patch review

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32413>
___
___
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.

2017-12-23 Thread Srinivas Reddy T

Change by Srinivas  Reddy T <thatiparthysreeni...@gmail.com>:


--
pull_requests: +4889

___
Python tracker <rep...@bugs.python.org>
<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

2017-12-23 Thread Srinivas Reddy T

Change by Srinivas  Reddy T <thatiparthysreeni...@gmail.com>:


--
keywords: +patch
pull_requests: +4886
stage:  -> patch review

___
Python tracker <rep...@bugs.python.org>
<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.

2017-12-23 Thread Srinivas Reddy T

Change by Srinivas  Reddy T <thatiparthysreeni...@gmail.com>:


--
keywords: +patch
pull_requests: +4883
stage:  -> patch review

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32360>
___
___
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

2017-12-21 Thread Srinivas Reddy T

Srinivas  Reddy T <thatiparthysreeni...@gmail.com> 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue32394>
___
___
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

2017-12-20 Thread Srinivas Reddy T

Change by Srinivas  Reddy T <thatiparthysreeni...@gmail.com>:


--
pull_requests: +4843

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue15852>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 <thatiparthysreeni...@gmail.com>:


--
keywords: +patch
pull_requests: +4841
stage:  -> patch review

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32321>
___
___
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

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 rep...@bugs.python.org
http://bugs.python.org/issue20507
___
___
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

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 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 rep...@bugs.python.org
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

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.org
versions: Python 2.7, Python 3.3
Added file: http://bugs.python.org/file32589/barry_email.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19563
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com