[issue38213] sys.maxsize returns incorrect docstring.

2019-09-18 Thread Akash Shende


New submission from Akash Shende :

>>> import sys
>>> print(sys.maxsize.__doc__)
int([x]) -> integer
int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments
are given.  If x is a number, return x.__int__().  For floating point
numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string,
bytes, or bytearray instance representing an integer literal in the
given base.  The literal can be preceded by '+' or '-' and be surrounded
by whitespace.  The base defaults to 10.  Valid bases are 0 and 2-36.
Base 0 means to interpret the base from the string as an integer literal.
>>> int('0b100', base=0)
4

--
components: Library (Lib)
messages: 352716
nosy: akash0x53
priority: normal
severity: normal
status: open
title: sys.maxsize returns incorrect docstring.

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



[issue38213] sys.maxsize returns incorrect docstring.

2019-09-18 Thread Akash Shende


Akash Shende  added the comment:

Yes. I checked that. Same for sys.maxunicode

--

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



[issue36249] f-string should be the default placeholder

2019-03-08 Thread Akash Shende


New submission from Akash Shende :

Currently lot of code still uses old placeholder and .format() methods for 
formatting the string. Lets convert them all to f-string

"%s" % (name) => f'{name}'
"{name}".format(name="yoyo") = > f'{name}'

--
components: Library (Lib)
messages: 337560
nosy: akash0x53
priority: normal
severity: normal
status: open
title: f-string should be the default placeholder

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



[issue36249] f-string should be the default placeholder

2019-03-08 Thread Akash Shende


Change by Akash Shende :


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

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



[issue29613] Support for SameSite Cookies

2017-02-21 Thread Akash Shende

New submission from Akash Shende:

Right now Morsel dont accept cookie setting outside of reserved words defined 
in http/cookies.py

--
components: Library (Lib)
messages: 288287
nosy: akash0x53
priority: normal
severity: normal
status: open
title: Support for SameSite Cookies
type: enhancement
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7

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