Commit graph

3491 commits

Author SHA1 Message Date
Nadeem Vawda
d1a107132c Merge: #13989: Document that GzipFile does not support text mode. 2012-02-11 23:54:51 +02:00
Nadeem Vawda
30d94b7aea Issue #13989: Document that GzipFile does not support text mode.
Also, give a more helpful error message when opened with an invalid mode string.
2012-02-11 23:45:10 +02:00
Eli Bendersky
d049d5c7fb fix Sphinx error in os.rst 2012-02-11 09:52:29 +02:00
Petri Lehtinen
bc35bebb45 Undocument and clean up sqlite3.OptimizedUnicode
Closes #13921.
2012-02-09 21:09:03 +02:00
Senthil Kumaran
f0f9679d5c merge from 3.2
Issue #9021 - Introduce copy module better in the docs.
2012-02-09 18:27:48 +08:00
Senthil Kumaran
5b14d732d8 Issue #9021 - Introduce copy module better. Doc changes suggested by Terry
Reedy.
2012-02-09 18:26:59 +08:00
Senthil Kumaran
0bfa963fbb merged from 3.2
Issue #6005: Examples in the socket library documentation use sendall, where
relevant, instead send method.
2012-02-09 17:55:56 +08:00
Senthil Kumaran
6e13f130a9 Fix Issue #6005: Examples in the socket library documentation use sendall,
where relevant, instead send method.
2012-02-09 17:54:17 +08:00
Antoine Pitrou
bcf2b59fb5 Issue #13609: Add two functions to query the terminal size:
os.get_terminal_size (low level) and shutil.get_terminal_size (high level).
Patch by Zbigniew Jędrzejewski-Szmek.
2012-02-08 23:28:36 +01:00
Victor Stinner
4195b5caea Backout f8409b3d6449: the PEP 410 is not accepted yet 2012-02-08 23:03:19 +01:00
Victor Stinner
ccd5715a14 PEP 410 2012-02-08 14:31:50 +01:00
Victor Stinner
8b30201f7d Issue #13846: Add time.monotonic(), monotonic clock. 2012-02-07 23:29:46 +01:00
Charles-François Natali
7794090251 Following Nick's suggestion, rename posix.fdlistdir() to posix.flistdir(), to
be consistent with other functions accepting file descriptors (fdlistdir() was
added in 3.3, so hasn't been released yet).
2012-02-06 19:54:48 +01:00
Charles-François Natali
7372b06cd7 Issue #13734: Add os.fwalk(), a directory walking function yielding file
descriptors.
2012-02-05 15:15:38 +01:00
Nadeem Vawda
fb39063202 Make lzma docs consistent with other compression modules (cf. changeset 11bd2d32b4e8). 2012-02-05 15:07:43 +02:00
Éric Araujo
cd0d951a70 Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715) 2012-02-05 13:49:59 +01:00
Éric Araujo
cd2a6033ac Branch merge 2012-02-05 13:41:47 +01:00
Nadeem Vawda
bd249c1bae Clarify note in BZ2File docs about lack of multi-stream support (issue #1625). 2012-02-05 14:29:00 +02:00
Georg Brandl
2cf04487ac merge with 3.2 2012-02-05 09:28:39 +01:00
Georg Brandl
9701eb6e14 Closes #13944: fix capitalization of class name. 2012-02-05 09:25:22 +01:00
Nadeem Vawda
8f50912f87 Issue #1625: Document BZ2File's lack of support for multi-stream inputs. 2012-02-04 23:44:49 +02:00
Benjamin Peterson
94015f13f1 merge 3.2 2012-02-04 09:56:43 -05:00
Benjamin Peterson
f51ebf94bb threading primitives now have timeouts 2012-02-04 09:55:52 -05:00
Nadeem Vawda
d85d0e7247 Document that some of LZMAFile.__init__()'s args are keyword-only. 2012-02-04 14:06:07 +02:00
Nadeem Vawda
54d8144bb0 Make BZ2File.__init__()'s fileobj argument keyword-only. 2012-02-04 13:58:07 +02:00
Martin v. Löwis
9d6c66933a Issue #13777: Add PF_SYSTEM sockets on OS X.
Patch by Michael Goderbauer.
2012-02-03 17:44:58 +01:00
Georg Brandl
538343d6ec Fix small grammatical inconsistency. 2012-02-02 22:22:19 +01:00
Petri Lehtinen
4b0eab62f0 Merge branch 3.2
Closes #13402.
2012-02-02 21:23:15 +02:00
Petri Lehtinen
9713321f46 Document absoluteness of sys.executable
Closes #13402.
2012-02-02 20:59:50 +02:00
Brian Curtin
090ec3c7fc merge. again. 2012-02-01 15:24:10 -06:00
Brian Curtin
97e2008645 merge updates 2012-02-01 15:20:03 -06:00
Brian Curtin
8d132c88c2 merge from 3.2 2012-02-01 15:15:14 -06:00
Brian Curtin
10dda6e029 Add a hint that CSD == Service Pack.
People searcing for the way to get a "service pack" will never find that we
provide it here, and people that find this function won't know what CSD is
until they run the function. On top of this, they won't know what the value
means unless they really have a service pack installed.

CSD, or Customer Service Diagnostics, is apparently no longer used, and was
rarely used term at that. Most references to it online are from
universities making Windows 2000 and XP service packs available to students.
2012-02-01 15:14:00 -06:00
Raymond Hettinger
590463efc4 merge 2012-02-01 09:08:08 -08:00
Raymond Hettinger
fc3ba6b8fc Add usage note 2012-02-01 09:07:40 -08:00
Antoine Pitrou
f3b2d88b67 Issue #8828: Add new function os.replace(), for cross-platform renaming with overwriting. 2012-01-30 22:08:52 +01:00
Charles-François Natali
cdc878e562 Issue #6774: Back out c8b77efe8b56, which only brings confusion. 2012-01-29 16:42:54 +01:00
Georg Brandl
9e312dabdb merge with 3.2 2012-01-29 15:38:55 +01:00
Georg Brandl
c875d2032b Fix #13900: resolve self-referential description of a parameter. 2012-01-29 15:38:47 +01:00
Benjamin Peterson
bc9f1b5a14 merge heads (#13887) 2012-01-27 09:14:29 -05:00
Benjamin Peterson
871b9d169d note that get() is not affected by default_factory (closes #13887) 2012-01-27 09:14:01 -05:00
Antoine Pitrou
e10ae8871a Clarify that ssl.OP_ALL can be different from OpenSSL's SSL_OP_ALL. 2012-01-27 10:03:23 +01:00
Antoine Pitrou
9f6b02ecde Clarify that ssl.OP_ALL can be different from OpenSSL's SSL_OP_ALL. 2012-01-27 10:02:55 +01:00
Meador Inge
c9e7ef7d70 - Issue #13840: Fix ctypes.create_string_buffer exception message and docs. 2012-01-26 08:47:27 -06:00
Meador Inge
65992c1c01 - Issue #13840: Fix ctypes.create_string_buffer exception message and docs. 2012-01-26 08:44:00 -06:00
Georg Brandl
b0f30c9891 merge with 3.2 2012-01-25 22:36:43 +01:00
Georg Brandl
6c89a79d55 #13852: some small doc fixes. 2012-01-25 22:36:25 +01:00
Benjamin Peterson
a5f6d0e030 merge 3.2 2012-01-25 16:31:56 -05:00
Benjamin Peterson
b4b0b354dd kill extra word 2012-01-25 16:30:18 -05:00
Benjamin Peterson
e9fca253d0 say bitwise (because I have no idea what a bit-string is) 2012-01-25 16:29:03 -05:00