Cebtenzzre
1334840323
Make os.fchdir, os.fsync, and os.fdatasync accept FileDescriptorLike ( #4544 )
...
For the fd passed to these functions, CPython accepts not just an int,
but also anything with a fileno() method.
Fixes #4539
2020-09-15 16:30:34 -07:00
Jelle Zijlstra
5d553c9584
apply black and isort ( #4287 )
...
* apply black and isort
* move some type ignores
2020-06-28 13:31:00 -07:00
Rebecca Chen
3b3fc6a57f
Make os.statvfs_result inherit from typing.NamedTuple. ( #3603 )
2020-01-10 22:42:29 +01:00
Sebastian Rittau
de26a3d109
Remove raise statements from function bodies ( #3355 )
...
While it may eventually be useful to mark the exceptions that can be
raised from a function or method, the semantics are currently undefined
and unclear.
2019-10-13 21:51:43 +02:00
Rebecca Chen
3f8c2169d1
Define listdir in posix and import it in os. ( #3258 )
2019-09-23 23:41:05 +02:00
Michael Lee
efb67946f8
Use variable annotations everywhere ( #2909 )
2019-04-13 10:40:52 +02:00
Matthias Kramm
987f465b4f
add missing import
2017-01-31 09:25:45 -08:00
Lukasz Langa
d70bb0c00f
Fixing flake8 E202, E203, E225 errors
2016-12-20 01:02:59 -08:00
Lukasz Langa
b84f20a011
Fixing flake8 W errors
2016-12-19 21:52:56 -08:00
Guido van Rossum
cb97bb54c0
Move 2.7 to 2 ( #635 )
...
Closes #579 .
2016-10-26 16:24:49 -07:00