Miss Islington (bot)
a6eac83c18
bpo-20806: Reference both times(2) and times(3) and link to MSDN. (GH-15479)
...
(cherry picked from commit 3ccdbc3338
)
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
2019-09-07 00:16:27 -07:00
Miss Islington (bot)
71435f685c
closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692)
...
https://bugs.python.org/issue37554
(cherry picked from commit 7cbef72902
)
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
2019-07-11 10:48:00 -07:00
Miss Islington (bot)
e841a54206
bpo-37478: Add missing 'and'. (GH-14631)
...
(cherry picked from commit a9b40e4546
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2019-07-06 19:49:39 -07:00
Miss Islington (bot)
1dd6507595
bpo-37478: Specify possible exceptions for os.chdir() (GH-14611) (GH-14630)
...
(cherry picked from commit 0717b4d9b3
)
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
2019-07-06 22:19:08 -04:00
Miss Islington (bot)
d5a72923c2
Use OSError subclasses in os documentation (GH-14262)
...
(cherry picked from commit a55f75a6e3
)
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
2019-07-05 01:47:42 -07:00
Miss Islington (bot)
c30830bbb2
Fix doc typo: Window -> Windows (GH-10508)
...
(cherry picked from commit daeb3c4c58
)
Co-authored-by: l-n-s <supervillain@riseup.net>
2018-11-13 16:18:20 -08:00
Serhiy Storchaka
b183750f99
[3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253)
...
(cherry picked from commit 3f819ca138
)
2018-10-31 11:00:24 +02:00
Miss Islington (bot)
fdf48b6b88
bpo-35054: Add yet more index entries for symbols. (GH-10121) (GH-10171)
...
(cherry picked from commit 913876d824
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-10-28 18:43:32 +02:00
Serhiy Storchaka
9a75b8470a
[3.7] bpo-35054: Add more index entries for symbols. (GH-10064). (GH-10120)
...
(cherry picked from commit ddb961d2ab
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-10-26 11:18:42 +03:00
Cheryl Sabella
b248a8c9a5
[3.7] bpo-11233: Create availability directive for documentation (GH-9692) (GH-9830)
...
Replace "Availability: xxx" with ".. availability:: xxx" in the doc.
Original patch by Georg Brandl.
Co-Authored-By: Georg Brandl <georg@python.org>
(cherry picked from commit 2d6097d027
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-10-15 22:52:26 +02:00
Miss Islington (bot)
0e823c6efa
bpo-31368: Enhance os.preadv() documentation (GH-7254)
...
(cherry picked from commit 02e2a085dc
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2018-05-30 16:22:13 -07:00
Miss Islington (bot)
78e14f8eb4
bpo-32878: Adds documentation for st_ino on Windows (GH-5764) ( #7189 )
...
(cherry picked from commit 3e51a3d592
)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
2018-05-28 21:49:42 -04:00
Pablo Galindo
8e633a4035
bpo-20104: Remove posix_spawn from 3.7 (GH-6794)
...
Remove os.posix_spawn, the API isn't complete and we're still figuring out how it should look. wait for 3.8.
2018-05-14 17:52:43 -04:00
Miss Islington (bot)
77fa7835da
bpo-20104: Improve error handling and fix a reference leak in os.posix_spawn(). (GH-6332)
...
(cherry picked from commit ef347535f2
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-01 07:18:44 -07:00
Miss Islington (bot)
6a1799e6f0
bpo-33314: Fix rendering issues in the documentation for the os module (GH-6525) (GH-6597)
...
(cherry picked from commit d6ef6db9ff
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2018-04-25 21:30:43 +03:00
Miss Islington (bot)
f6d1d65803
closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir (GH-6335)
...
(cherry picked from commit badb894bbb
)
Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-02 20:33:38 -07:00
Miss Islington (bot)
ab84572321
bpo-20104: Add os.posix_spawn documentation. (GH-6334)
...
(cherry picked from commit 79760ed256
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2018-04-01 12:13:37 -07:00
jcea
6c51d51880
bpo-32659: Solaris "stat" should support "st_fstype" ( #5307 )
...
* bpo-32659: Solaris "stat" should support "st_fstype"
* Add 'versionadded'
2018-01-28 14:00:08 +01:00
Pablo Galindo
4defba3b95
bpo-31368: Expose preadv and pwritev in the os module ( #5239 )
2018-01-27 17:16:37 +01:00
Barry Warsaw
d499031f5f
bpo-32651 Recommend getpass.getuser() ( #5301 )
...
* bpo-32651 - In the documentation for os.getlogin(), recommend getpass.getuser()
2018-01-24 12:51:29 -05:00
Benjamin Peterson
bbdb17d19b
return the new file descriptor from os.dup2 (closes bpo-32441) ( #5041 )
2017-12-29 13:13:06 -08:00
Giuseppe Scrivano
96a5e50a5d
bpo-32143: add f_fsid to os.statvfs() ( #4571 )
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-12-14 17:46:46 -05:00
Victor Stinner
01b5aab7bf
bpo-31827: Remove os.stat_float_times() (GH-4061)
2017-10-24 02:02:00 -07:00
Gregory P. Smith
163468a766
bpo-16500: Don't use string constants for os.register_at_fork() behavior ( #1834 )
...
Instead use keyword only arguments to os.register_at_fork for each of the scenarios.
Updates the documentation for clarity.
2017-05-29 10:03:41 -07:00
Antoine Pitrou
346cbd351e
bpo-16500: Allow registering at-fork handlers ( #1715 )
...
* bpo-16500: Allow registering at-fork handlers
* Address Serhiy's comments
* Add doc for new C API
* Add doc for new Python-facing function
* Add NEWS entry + doc nit
2017-05-27 17:50:54 +02:00
Serhiy Storchaka
ea720fe7e9
bpo-25996: Added support of file descriptors in os.scandir() on Unix. ( #502 )
...
os.fwalk() is sped up by 2 times by using os.scandir().
2017-03-30 09:12:31 +03:00
Serhiy Storchaka
e304e33c16
bpo-19930: The mode argument of os.makedirs() no longer affects the file ( #799 )
...
permission bits of newly-created intermediate-level directories.
2017-03-24 13:27:42 +02:00
Serhiy Storchaka
8f6b344d36
bpo-28682: Added support for bytes paths in os.fwalk(). ( #489 )
2017-03-07 14:33:21 +02:00
Berker Peksag
d4d48743ac
Tweak PEP 519 documentation in stdlib ( #163 )
...
* Drop duplicate work 'object' in lzma docs
* Fix typo in os docs: fpr -> for
2017-02-19 03:17:35 +03:00
Xiang Zhang
4459e009ed
Issue #29092 : Sync os.stat's doc and docstring on path type.
2017-01-22 13:04:17 +08:00
Xiang Zhang
d7d87ca9b0
Issue #29092 : Sync os.stat's doc and docstring on path type.
2017-01-22 12:54:44 +08:00
Serhiy Storchaka
3c38e066b1
Issue #27998 : Documented bytes paths support on Windows.
2016-11-20 08:23:07 +02:00
Serhiy Storchaka
989db5c880
Issue #19795 : Mark up None as literal text.
2016-10-19 16:37:13 +03:00
Serhiy Storchaka
ecf41da83e
Issue #19795 : Mark up None as literal text.
2016-10-19 16:29:26 +03:00
Berker Peksag
8d08265f5e
Merge from 3.5
2016-09-26 22:50:32 +03:00
Berker Peksag
6129e14b21
Document that os.mknod() is not available on Windows
...
Reported by Regina Ochotzki on docs@p.o.
2016-09-26 22:50:11 +03:00
Berker Peksag
20d458fad6
Merge from 3.5
2016-09-26 22:44:32 +03:00
Berker Peksag
996e5f94d2
os.genenvb() is not availabnle under Windows
2016-09-26 22:44:07 +03:00
Vinay Sajip
d5ee406ff1
Closes #23105 : Merged update from 3.5.
2016-09-11 15:16:58 +01:00
Vinay Sajip
e4946e73c8
Issue #23105 : Updated documentation on open() flag constants.
2016-09-11 15:15:59 +01:00
Victor Stinner
e66987e626
os.urandom() now blocks on Linux
...
Issue #27776 : The os.urandom() function does now block on Linux 3.17 and newer
until the system urandom entropy pool is initialized to increase the security.
This change is part of the PEP 524.
2016-09-06 16:33:52 -07:00
Victor Stinner
9b1f474df6
Add os.getrandom()
...
Issue #27778 : Expose the Linux getrandom() syscall as a new os.getrandom()
function.
This change is part of the PEP 524.
2016-09-06 16:18:52 -07:00
Brett Cannon
6fa7aada9b
Issue #26027 , #27524 : Document the support for path-like objects in os and os.path.
...
This completes PEP 519.
2016-09-06 15:55:02 -07:00
Larry Hastings
10108a7b9a
Issue #27355 : Removed support for Windows CE. It was never finished,
...
and Windows CE is no longer a relevant platform for Python.
2016-09-05 15:11:23 -07:00
Martin Panter
8bde911115
Issue #27626 : Merge spelling fixes from 3.5
2016-07-28 01:30:58 +00:00
Martin Panter
eb9957065a
Issue #27626 : Spelling fixes in docs, comments and internal names
...
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Brett Cannon
a32c4d0531
Issue #27038 : Expose DirEntry as os.DirEntry.
...
Thanks to Jelle Zijlstra for the code portion of the patch.
2016-06-24 14:14:44 -07:00
Brett Cannon
559ad5d401
Remove a stale reference to pathlib.PurePath.path
2016-06-24 12:22:14 -07:00
Brett Cannon
c28592bb2f
Issue #27186 : Define what a "path-like object" is.
...
Thanks to Dusty Phillips for the initial patch.
2016-06-24 12:21:47 -07:00
Brett Cannon
c78ca1e044
Issue #27186 : Update os.fspath()/PyOS_FSPath() to check the return
...
type of __fspath__().
As part of this change, also make sure that the pure Python
implementation of os.fspath() is tested.
2016-06-24 12:03:43 -07:00