[issue37436] os.path.isfile() with big number cause OverflowError: fd is greater than maximum

2019-11-04 Thread Anj-A


Anj-A <2017...@gmail.com> added the comment:

Hi all, I'm a newcomer interested in doing a small fix. Wondering if anyone's 
working on this at the moment?

----------
nosy: +Anj-A

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



[issue37436] os.path.isfile() with big number cause OverflowError: fd is greater than maximum

2019-11-04 Thread Anj-A


Anj-A <2017...@gmail.com> added the comment:

Hey, I'm not exactly clear what the required fix is here and would appreciate 
some guidance, is it in the documentation or in the way the error is handled?

--

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



[issue37838] typing.get_type_hints not working with forward-declaration and decorated functions

2019-11-04 Thread Anj-A


Change by Anj-A <2017...@gmail.com>:


--
keywords: +patch
pull_requests: +16560
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/17047

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



[issue38652] Remove/update provisional note for asyncio.BufferedProtocol

2019-11-04 Thread Anj-A


Anj-A <2017...@gmail.com> added the comment:

Hey, I've done the change and opened a pull request for it (I'm working with 
Ben and I've let him know)

--
nosy: +Anj-A

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



[issue38652] Remove/update provisional note for asyncio.BufferedProtocol

2019-11-04 Thread Anj-A


Change by Anj-A <2017...@gmail.com>:


--
keywords: +patch
pull_requests: +16563
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/17047

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



[issue37436] os.path.isfile() with big number cause OverflowError: fd is greater than maximum

2019-11-12 Thread Anj-A


Anj-A <2017...@gmail.com> added the comment:

Hey, if there is no bug here, could we get this issue closed?
Alternatively, I'd be interested in doing the required change in 
documentation/error type if that's seen to be the right solution.

Personally, I think returning False instead of raising an error would indeed 
mask bugs as mentioned by Zufu. As for the error type to be raised, the 
argument type itself isn't wrong, it's just greater than the maximum so I feel 
an OverflowError type is right instead of TypeError. So maybe just clearer 
documentation is needed as suggested by Aldwin and no code change? Just my two 
cents though.

--

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