Charles-Francois Natali
a771a1b48e
Issue #17529 : Fix os.sendfile() documentation regarding the type of file
...
descriptor supported.
2013-05-01 15:12:20 +02:00
Serhiy Storchaka
f8def28ff0
Issue #17193 : Use binary prefixes (KiB, MiB, GiB) for memory units.
2013-02-16 17:29:56 +02:00
Andrew Svetlov
5b89840d9c
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Ezio Melotti
44dcd6bcb2
#16530 : merge with 3.2.
2012-11-23 19:46:29 +02:00
Ezio Melotti
ba4d8ed8f8
#16530 : the "options" arg of os.wait3 is required.
2012-11-23 19:45:52 +02:00
Chris Jerdonek
1c8bb9f4d5
Merge from 3.2: link to mapping glossary entry in docs.
2012-11-03 12:06:42 -07:00
Chris Jerdonek
11f3f172e7
Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs.
2012-11-03 12:05:55 -07:00
Andrew Svetlov
2bfe386091
Issue #15936 : Reformat text for os.random to follow Larry Hastings suggestion
2012-10-16 13:52:25 +03:00
Andrew Svetlov
03cb99c2d1
Issue #15936 : Add link from os.urandom to random.SystemRandom
2012-10-16 13:15:06 +03:00
Hynek Schlawack
101591e9d5
Merge 3.2
2012-10-08 07:44:54 +02:00
Hynek Schlawack
0230b6af78
#13498 : Clarify docs of os.makedirs()'s exist_ok argument.
...
Done with great native-speaker help from R. David Murray.
2012-10-07 18:04:38 +02:00
R David Murray
ce478b9891
#15886 : remove redundant phrase
2012-09-10 21:08:50 -04:00
Andrew Svetlov
a2fe334081
Issue #15527 : fix docs, remove double parens by changing markup.
...
Patch by Serhiy Storchaka.
2012-08-11 21:14:08 +03:00
Victor Stinner
69a6ca5260
os.unlinkat() has been removed, update os.fwalk() doc
2012-08-05 15:18:02 +02:00
Victor Stinner
15f3d1e266
Issue #12655 : Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc
2012-08-04 20:57:48 +02:00
Antoine Pitrou
848698727f
Issue #12655 : Instead of requiring a custom type, os.sched_getaffinity and
...
os.sched_setaffinity now use regular sets of integers to represent the
CPUs a process is restricted to.
2012-08-04 16:16:35 +02:00
Larry Hastings
950b76ab1a
Doc fix: the text role is called "func", not "funk".
2012-07-15 17:32:36 -07:00
Larry Hastings
b40380667c
Issue #15202 : Consistently use the name "follow_symlinks" for
...
new parameters in os and shutil functions. Patch by Serhiy Storchaka.
2012-07-15 10:57:38 -07:00
Larry Hastings
c48fe98a7c
Issue #15177 : Added dir_fd parameter to os.fwalk().
2012-06-25 04:49:05 -07:00
Larry Hastings
fdaea06d3c
Issue #15176 : Clarified behavior, documentation, and implementation
...
of os.listdir().
2012-06-25 04:42:23 -07:00
Larry Hastings
77892dc1e3
More doc fixes: made it clear where to start reading when you click on <dir_fd>.
2012-06-25 03:27:33 -07:00
Georg Brandl
aceaf90804
Some tightening of the documentation for the new kwarg-style os module functionality.
2012-06-25 08:33:56 +02:00
Georg Brandl
4d399a4092
Grammar fix.
2012-06-25 07:40:32 +02:00
Éric Araujo
0a8f5f709a
Fix typos
2012-06-24 13:53:41 -04:00
Hynek Schlawack
1729b8f45b
Fix doc of os.fwalk: example used now non-existing os.fstatat()
2012-06-24 16:11:08 +02:00
Georg Brandl
6cff9ffab0
Fix use of class markup.
2012-06-24 14:05:40 +02:00
Larry Hastings
605a62ddb1
Issue #15118 : Change return value of os.uname() and os.times() from
...
plain tuples to immutable iterable objects with named attributes
(structseq objects).
2012-06-24 04:33:36 -07:00
Georg Brandl
f62445ad30
Fix casing of Unix.
2012-06-24 13:31:20 +02:00
Georg Brandl
8a5555f792
Make the style of the "Availability" sections consistent.
2012-06-24 13:29:09 +02:00
Georg Brandl
a570e98e7b
Actually it is just one function.
2012-06-24 13:26:22 +02:00
Georg Brandl
b2462e2b8c
Minor clarification about fdopen().
2012-06-24 13:24:56 +02:00
Georg Brandl
306336bcda
Closes #15161 : add support for giving path as a fd for truncate() and pathconf().
2012-06-24 12:55:33 +02:00
Georg Brandl
8ccadaafe6
Restore mostly-alphabetic sorting of os functions.
2012-06-24 12:50:06 +02:00
Georg Brandl
b9df00cc00
Note that equivalents are valid for 3.3+ only.
2012-06-24 12:38:14 +02:00
Georg Brandl
b9831ab63c
Move Linux-only *xattr() functions to their own subheading.
2012-06-24 11:57:07 +02:00
Georg Brandl
b1a1ac0b67
Small nits in os doc.
2012-06-24 11:54:07 +02:00
Georg Brandl
50c4000685
"Refactor" docs for the new dir_fd, follow_symlinks, path-as-fd APIs: document the options at a central place and link to it.
2012-06-24 11:45:20 +02:00
Larry Hastings
b698d8e7e9
Issue #15154 : Add "dir_fd" parameter to os.rmdir, remove "rmdir"
...
parameter from os.remove / os.unlink.
Patch written by Georg Brandl. (I'm really looking forward to George
getting commit privileges so I don't have to keep doing checkins on his
behalf.)
2012-06-23 16:55:07 -07:00
Larry Hastings
9cf065cfdc
Issue #14626 : Large refactoring of functions / parameters in the os module.
...
Many functions now support "dir_fd" and "follow_symlinks" parameters;
some also support accepting an open file descriptor in place of of a path
string. Added os.support_* collections as LBYL helpers. Removed many
functions only previously seen in 3.3 alpha releases (often starting with
"f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka;
implemented by Larry Hastings.
2012-06-22 16:30:09 -07:00
Jesus Cea
9436361e4c
Closes #10142 : Support for SEEK_HOLE/SEEK_DATA
2012-06-22 18:32:07 +02:00
Victor Stinner
034d0aa217
Issue #14711 : os.stat_float_times() has been deprecated.
2012-06-05 01:22:15 +02:00
Petri Lehtinen
fa52cbd5e6
#14863 : Update the documentation of os.fdopen()
2012-05-24 21:49:59 +03:00
Petri Lehtinen
1a01ebc41c
#14863 : Update the documentation of os.fdopen()
...
There's no bufsize argument anymore, and os.fdopen() is only a very
thin wrapper around open() anymore. Change the documentation to
reflect that.
2012-05-24 21:46:36 +03:00
Hynek Schlawack
f0bf135cd1
Restore [] where default arguments are not keywords
2012-05-22 16:14:56 +02:00
Hynek Schlawack
979f37afd2
Restore [] where default arguments are not keywords
...
Reverts some changes of d13fdd97cc8e.
2012-05-22 16:12:18 +02:00
Hynek Schlawack
87d8200978
#14804 : Remove [] around optional arguments with default values
2012-05-21 13:35:03 +02:00
Hynek Schlawack
dfa465243c
#14804 : Remove [] around optional arguments with default values
2012-05-21 11:01:54 +02:00
Larry Hastings
76ad59b7e8
Issue #14127 : Add ns= parameter to utime, futimes, and lutimes.
...
Removed futimens as it is now redundant.
Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat
and ns= parameter to utime--it once again preserves exact metadata on Linux!
2012-05-03 00:30:07 -07:00
Ned Deily
ca9bfe17be
Issue #10433 : merge
2012-04-30 11:15:38 -07:00
Ned Deily
2e20968feb
Issue #10433 : Document unique behavior of 'os.getgroups' on Mac OS X.
2012-04-30 11:14:02 -07:00