Commit Graph

15 Commits

Author SHA1 Message Date
Daniël van Eeden
d315ceb060 Add os.scandir and os.DirEntry (#424)
Introduced in Python 3.5
2016-08-03 15:40:00 -07:00
Guido van Rossum
1c4662d2f3 Two small changes to help the mypy test suite pass (#355)
* Condition arg for skip{If,Unless} should be object, not bool.

* Env arg to os.get_exec_path() is a Mapping, not a Dict.
2016-07-12 14:10:36 -07:00
tharvik
1833e8e4b6 add some types to os 2016-07-11 15:09:52 +02:00
Eklavya Sharma
c98c2afb58 os: Add buffering to fdopen. (#337) 2016-07-04 20:12:06 -07:00
Alvaro Caceres
d0ac66f5f8 Use "..." for attribute values, instead of None, [], {} 2016-06-15 14:10:04 -05:00
thomascellerier
f45c00f129 Added os.sync, os.truncate and os.fwalk for Python version >= 3.3 (#293) 2016-06-15 09:53:26 -07:00
Eklavya Sharma
b56ebf2b6a Make os.name str in python 3. (#296) 2016-06-14 16:30:07 -07:00
James Tatum
33fe6a0685 Add os.replace() 2016-05-07 13:22:16 -07:00
Jukka Lehtosalo
a5d5dcc4f4 Fixes to os.environ (#172)
Add os.environ.copy() to Python 2 stubs. Fix return
type of os.environ.copy().
2016-04-28 11:53:51 +01:00
Tim Abbott
0632f2e530 Add missing exec*, EX_* stubs for python 2 and fix py3 types. 2016-01-29 17:54:24 -08:00
Tim Abbott
c2555b3119 Port stub for os.walk from python 3 to 2 and cleanup comment. 2016-01-26 16:30:15 -08:00
Matthias Kramm
94c9ce8fd0 Consistently use '= ...' for optional parameters. 2015-11-09 13:55:02 -08:00
Matthias Kramm
d2a3d4a4ed Use explicit "# type: str" instead of '' shortcut. 2015-11-09 07:59:24 -08:00
Matthias Kramm
9edaf83284 Apply stub fixes from o11c.
These are extracted from https://github.com/JukkaL/mypy/pull/721
2015-10-01 14:53:57 -07:00
Matthias Kramm
337abed05a add (overwrite with) mypy stubs, if available 2015-09-30 09:59:44 -07:00