Sebastian Rittau
ec7960a8cb
Convert namedtuples to class syntax ( #3321 )
2019-10-20 10:37:33 +02:00
Sebastian Rittau
256b3ce8ab
Remove a bunch of unused imports ( #3323 )
2019-10-08 07:59:32 -07:00
Rebecca Chen
3f8c2169d1
Define listdir in posix and import it in os. ( #3258 )
2019-09-23 23:41:05 +02:00
Sebastian Rittau
9ccf9356bf
Remove Python 3.4 support ( #3147 )
...
Closes #3123
2019-07-27 10:58:21 +02:00
Ivan Levkivskyi
0b8e32269a
Fix named tuple name in posix.pyi ( #2800 )
2019-02-15 17:39:27 -08:00
Michael J. Sullivan
95afb86022
Move posix.stat_result to os.stat_result on python 3 ( #2683 )
...
In python 3, posix.stat_result is a re-export of os.stat_result, while
in python 2 it was the reverse. Update typeshed to reflect this.
2018-12-13 19:20:42 +01:00
Dave Halter
96ed18f6e1
Add posix attributes for Python 3 ( #2631 )
...
The posix module in Python 3 lacks some attributes that are present in both
os/__init__.pyi and Python 2's posix.pyi
2018-11-26 14:39:12 +01:00
Sebastian Rittau
006a79220f
Flake8 fixes ( #2549 )
...
* Fix over-indented continuation lines
* Fix under-indented continuation lines
* Fix whitespace around default operator problems
* Limit line lengths
* Fix inconsistent files
2018-10-24 07:20:53 -07:00
Yusuke Miyazaki
86883d3df9
Remove unused import statements ( #2282 )
2018-06-27 20:14:57 -07:00
Sebastian Rittau
b05e99297c
Drop Python 3.3 support from several stubs ( #2266 )
...
* Drop Python 3.3 support from importlib stubs
* Drop Python 3.3 support from html and symbol stubs
2018-06-20 16:46:11 -07:00
Jelle Zijlstra
2dd85c3658
move os.stat_result into posix stub ( #1818 )
...
This removes the circular dependency between the os and posix stub, which
is somehow triggering python/mypy#4442 . We should ideally fix the mypy bug,
but since it's easy enough to fix the import cycle, we might as well do that
too.
2018-01-09 13:50:56 -08:00
hashstat
d333474ed9
Update and add stubs for os module ( #1645 )
2017-10-09 21:02:10 -07:00
Rhys Parry
683c6e90a0
Support named attributes in os.uname() result ( #1445 )
...
`os.uname` changed in version 3.3: Return type changed from a tuple to
a tuple-like object with named attributes.
2017-06-30 21:58:44 -07:00
Lukasz Langa
b84f20a011
Fixing flake8 W errors
2016-12-19 21:52:56 -08:00
Guido van Rossum
8c2118bace
Move contents of builtins/* to stdlib/*. This simplifies finding stubs.
2016-01-12 12:53:18 -08:00