Victor Stinner
e3455c026a
Mention that os.O_CLOEXEC was added to Python 3.3
2011-10-20 00:46:21 +02:00
Raymond Hettinger
eeb905bd7b
Merge
2011-10-19 14:10:37 -07:00
Raymond Hettinger
5768e0c788
Issue 11931: Minor punctuation/grammar/wording fixups to the regex docs
2011-10-19 14:10:07 -07:00
Raymond Hettinger
becd56822a
Issue #13121 : Support in-place math operators for collections.Counter().
2011-10-19 13:40:37 -07:00
Senthil Kumaran
a41c942685
Doc improvements suggested by Éric Araujo for the new 'HEAD' Request feature.
2011-10-20 02:37:08 +08:00
Senthil Kumaran
7e3062b320
default - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
...
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
2011-10-20 01:52:41 +08:00
Senthil Kumaran
29fa9d4d68
3.2 - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
...
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
2011-10-20 01:46:00 +08:00
Florent Xicluna
95483b6a19
Fix warning while building documentation.
2011-10-19 11:44:51 +02:00
Ezio Melotti
f10644983e
Merge with 3.2.
2011-10-19 11:06:26 +03:00
Ezio Melotti
e130a52d8a
Remove duplication.
2011-10-19 10:58:56 +03:00
Victor Stinner
3a50e7056e
Issue #12281 : Rewrite the MBCS codec to handle correctly replace and ignore
...
error handlers on all Windows versions. The MBCS codec is now supporting all
error handlers, instead of only replace to encode and ignore to decode.
2011-10-18 21:21:00 +02:00
Ezio Melotti
bb8606dae3
#12277 : merge with 3.2.
2011-10-18 13:00:36 +03:00
Ezio Melotti
67494f2224
#12277 : add missing comma.
2011-10-18 12:59:39 +03:00
Senthil Kumaran
de49d64dbc
Fix closes issue 1673007 urllib.request to support HEAD requests with a new method arg.
2011-10-16 23:54:44 +08:00
Victor Stinner
69db2dbcbe
Fix typo in the os doc: lremoveattr => lremovexattr
2011-10-14 00:07:53 +02:00
Antoine Pitrou
62ab10a05a
Replace mentions of IOError
2011-10-12 20:10:51 +02:00
Antoine Pitrou
1e4fe702f6
This shameful limitation of the fileinput module is not relevant anymore.
2011-10-12 19:11:12 +02:00
Antoine Pitrou
4272d6a315
Fix some mentions of IOError
2011-10-12 19:10:10 +02:00
Antoine Pitrou
a787b650d4
Fix mentions of IOError in the io module docs
2011-10-12 19:02:52 +02:00
Antoine Pitrou
f55011f8b6
Update doc for BlockingIOError and its alias in the io module
2011-10-12 18:57:23 +02:00
Antoine Pitrou
442ee03d35
Replace mentions of WindowsError
2011-10-12 18:53:23 +02:00
Antoine Pitrou
5574c3012d
Replace mentions of socket.error.
2011-10-12 17:53:43 +02:00
Antoine Pitrou
195e702831
Mention the merging of other exceptions into OSError.
2011-10-12 16:46:46 +02:00
Antoine Pitrou
9b7fcf8c2e
Minimal update of select docs for PEP 3151.
2011-10-12 16:23:02 +02:00
Antoine Pitrou
70fa31c936
Minimal update of socket docs for PEP 3151.
...
More editing is probably desirable.
2011-10-12 16:20:53 +02:00
Antoine Pitrou
f9c774696e
Update exceptions doc for PEP 3151
2011-10-12 16:02:00 +02:00
Ezio Melotti
5b194cc8fb
#13138 : merge with 3.2.
2011-10-10 00:03:15 +03:00
Ezio Melotti
138fc896c8
#13138 : add missing versionadded.
2011-10-10 00:02:03 +03:00
Raymond Hettinger
be22d1d82a
Clean-up and improve the priority queue example in the heapq docs.
2011-10-09 17:29:14 +01:00
Raymond Hettinger
df7c4cde48
Clean-up and improve the priority queue example in the heapq docs.
2011-10-09 17:28:14 +01:00
Éric Araujo
9255464dfb
Branch merge
2011-10-09 08:55:04 +02:00
Georg Brandl
388349add2
Closes #12192 : Document that mutating list methods do not return the instance (original patch by Mike Hoy).
2011-10-08 18:32:40 +02:00
Éric Araujo
a29e4f64c1
Fix packaging byte-compilation to comply with PEP 3147 ( #11254 ).
...
I want to replace custom byte-compiling function with calls to
compileall before 3.3b1, but in the short term it’s good to have this
fixed.
Adapted from the distutils patch by Jeff Ramnani. I tested with -B, -O
and -OO; test_util and test_mixin2to3 fail in -O mode because lib2to3
doesn’t support it.
2011-10-08 04:09:15 +02:00
Éric Araujo
6ebea15e0b
Merge fixes for #10526 , #10359 , #11254 , #9100 and the bug without number
2011-10-08 02:57:45 +02:00
Éric Araujo
35a502b324
Fix a typo and a broken link (part of #10536 ).
...
Found by Franz Glasner in #2504 .
2011-10-07 22:02:58 +02:00
Antoine Pitrou
756b169c5a
Issue #12823 : remove broken link and replace it with another resource.
2011-10-07 16:58:35 +02:00
Antoine Pitrou
f394e47851
Issue #12823 : remove broken link and replace it with another resource.
2011-10-07 16:58:07 +02:00
Meador Inge
14c0f03b58
Issue #12943 : python -m tokenize support has been added to tokenize.
2011-10-07 08:53:38 -05:00
Victor Stinner
b09460f038
Issue #10141 : Don't use hardcoded frame size in example, use struct.calcsize()
2011-10-06 20:27:20 +02:00
Charles-François Natali
47413c1171
Issue #10141 : socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias
...
Fuchs, updated by Tiago Gonçalves.
2011-10-06 19:47:44 +02:00
Antoine Pitrou
45d9c91d4b
Issue #3163 : The struct module gets new format characters 'n' and 'N'
...
supporting C integer types `ssize_t` and `size_t`, respectively.
2011-10-06 15:27:40 +02:00
Éric Araujo
0f4ee93b06
Branch merge
2011-10-06 13:22:21 +02:00
Éric Araujo
bb2095f1e2
Branch merge
2011-10-06 13:10:34 +02:00
Senthil Kumaran
ad87fa6719
Issue #13073 - Address the review comments made by Ezio.
2011-10-05 23:26:49 +08:00
Éric Araujo
1079bdfde3
Merge 3.2
2011-10-05 01:52:45 +02:00
Éric Araujo
58a9153c9f
Fix markup used in the documentation of sys.prefix and sys.exec_prefix.
...
- Using the file role with {placeholders} is IMO clearer than fake
Python code.
- The fact that sys.version[:3] gives '3.2' is a CPython detail and
should not be advertised (see #9442 ), even if some stdlib modules
currently rely on that detail.
2011-10-05 01:28:24 +02:00
Éric Araujo
da27263b4a
Move doc of sys.dont_write_bytecode to make all attributes sorted again
2011-10-05 01:17:38 +02:00
Éric Araujo
525b1e9dd4
Fix minor wording issue.
...
sys.maxunicode is not called and thus does not return anything; it *is*
something. (I checked the doc quickly to see if it tells that
expression return things but found nothing.)
I also removed markup that would just generate a useless link to the
enclosing section.
2011-10-05 01:06:31 +02:00
Senthil Kumaran
91a076a72f
merge from 3.2. Issue #13073 - Address the review comments made by Ezio.
2011-10-05 23:27:37 +08:00
Senthil Kumaran
5d0de3fbaa
Document message_body arg in HTTPConnection.endheaders
2011-10-03 07:27:06 +08:00
Senthil Kumaran
0069be19e5
merge from 3.2 - Document message_body arg in HTTPConnection.endheaders
2011-10-03 07:28:00 +08:00
Ezio Melotti
6fe679f011
#13076 : merge with 3.2.
2011-10-02 12:47:10 +03:00
Ezio Melotti
35ec7f771b
#13076 : fix links to datetime.time and datetime.datetime.
2011-10-02 12:44:50 +03:00
Ezio Melotti
48a2f8fd97
#13054 : sys.maxunicode is now always 0x10FFFF.
2011-09-29 00:18:19 +03:00
Georg Brandl
f0c51fabe8
Fix markup.
2011-09-27 07:30:00 +02:00
Senthil Kumaran
85579b8f0e
merge 3.2. Fix closes issue13005 - Remove the mention of 'repeat' method in the operator module documentation.
2011-09-22 02:10:09 +08:00
Senthil Kumaran
17dac4c0e2
Fix closes issue13005 - Remove the mention of 'repeat' method in the operator module documentation.
2011-09-22 02:09:17 +08:00
Éric Araujo
9c0cccf363
Branch merge
2011-09-21 16:36:08 +02:00
Éric Araujo
dd2d55c8a1
Remove two unneeded attributes in packaging
2011-09-21 16:28:03 +02:00
Victor Stinner
9415afcce1
meth.log2 doc: add a link to int.bit_length()
2011-09-21 03:35:18 +02:00
Meador Inge
1c9f0c93ad
Issue #1172711 : Add 'long long' support to the array module.
...
Initial patch by Oren Tirosh and Hirokazu Yamamoto.
2011-09-20 19:55:51 -05:00
Nick Coghlan
2496f331a7
Close issue 12958 by flagging expected failures in test_socket on Mac OS X
2011-09-19 20:26:31 +10:00
Georg Brandl
ddd2d70cc6
Merge example fix from 3.2.
2011-09-18 07:40:20 +02:00
Georg Brandl
1d678f8413
Fix bug in heapq priority queue example.
2011-09-18 07:40:05 +02:00
Georg Brandl
902e895578
merge doc fixes from 3.2
2011-09-17 20:40:35 +02:00
Georg Brandl
73dd7c71f6
Add info from the docstring for random.gammavariate() to the docs.
2011-09-17 20:36:28 +02:00
Georg Brandl
755460694e
Fix typo.
2011-09-17 20:20:04 +02:00
Nadeem Vawda
1c82a14e86
Oops, zlib.ZLIB_VERSION isn't new in 3.3 - just newly-documented...
2011-09-12 00:09:27 +02:00
Nadeem Vawda
7cd4f203c0
Terminology fix: .gz and .bz2 are not archive formats.
2011-09-12 00:06:49 +02:00
Nadeem Vawda
64d25ddb9c
Issue #12306 : Add ZLIB_RUNTIME_VERSION to the zlib module.
...
While we're at it, also document ZLIB_VERSION.
Patch by Torsten Landschoff.
2011-09-12 00:04:13 +02:00
Ezio Melotti
d964ee9cd5
#12940 : merge with 3.2.
2011-09-10 10:08:13 +03:00
Ezio Melotti
4165bfb6e9
#12940 : fix cmd example. Patch by Tim Chase.
2011-09-10 10:06:01 +03:00
Victor Stinner
71e44cb97f
Issue #12567 : Add curses.unget_wch() function
...
Push a character so the next get_wch() will return it.
2011-09-06 01:53:03 +02:00
Senthil Kumaran
74470b5d3a
merge from 3.2. Fix closes Issue11155 - Correct the multiprocessing.Queue.put's arg (replace 'item' with 'obj') in the docs. Patch by Westley Martínez.
2011-09-06 00:22:15 +08:00
Senthil Kumaran
e969a2117c
Fix closes Issue11155 - Correct the multiprocessing.Queue.put's arg (replace 'item' with 'obj') in the docs. Patch by Westley Martínez.
2011-09-06 00:21:30 +08:00
Georg Brandl
fbd1e041af
Merge with 3.2.
2011-09-04 08:42:26 +02:00
Georg Brandl
3484a8771c
Merge with release clone.
2011-09-04 08:35:54 +02:00
Łukasz Langa
a4083d2dd8
merged configparser documentation leftovers cleanup from 3.2
2011-09-02 23:18:39 +02:00
Łukasz Langa
7335e6f3e8
removed misleading editing leftovers
2011-09-02 23:17:39 +02:00
Sandro Tosi
0b6b1c3fb5
#12781 : merge with 3.2
2011-09-02 20:07:34 +02:00
Sandro Tosi
172f374a63
#12781 : Mention SO_REUSEADDR flag near socket examples
2011-09-02 20:06:31 +02:00
Éric Araujo
677dc7189f
Branch merge
2011-09-02 17:30:55 +02:00
Éric Araujo
d9e1789364
Branch merge
2011-09-02 17:30:36 +02:00
Éric Araujo
793c47a88a
Merge doc changes from 3.2 ( #10454 , #12298 )
2011-09-02 00:03:20 +02:00
Éric Araujo
18ddf826e7
Add links from library/functions to other docs.
...
Suggested by Terry J. Reedy in #12298 .
2011-09-01 23:10:36 +02:00
Éric Araujo
9edd9f035b
Fix a few links in the table of built-in functions ( #12298 )
2011-09-01 23:08:55 +02:00
Éric Araujo
29cf58c9d5
Document that format string don’t support arbitrary dictonary keys.
...
Text adapted from the PEP. Addition requested by Terry J. Reedy on
2011-02-23 on python-dev.
2011-09-01 18:59:06 +02:00
Ezio Melotti
c2d9a0226e
Merge doc fix with 3.2.
2011-09-01 08:13:46 +03:00
Ezio Melotti
222b20844f
From RFC 3629 5- and 6-bytes UTF-8 sequences are invalid, so remove them from the doc.
2011-09-01 08:11:28 +03:00
Ross Lagerwall
7194efe8b4
Merge with 3.2.
2011-09-01 07:02:31 +02:00
Ross Lagerwall
a9353db2cd
Remove duplicate text in os documentation.
2011-09-01 06:58:52 +02:00
Éric Araujo
b8edbdf4b9
Merge doc changes from 3.2.
...
rstlint complains about packaging docs but I’m working on those in
another patch.
2011-09-01 05:57:12 +02:00
Éric Araujo
ec9a5f6399
Add version number for versionchanged directive (backport from 3.3)
2011-09-01 05:55:26 +02:00
Éric Araujo
95fc53f2b3
Clean up packaging.util: add __all__, remove some unused functions.
...
This huge module is the heir of six distutils modules, and contains
a number of miscellaneous functions. I have attempted to help readers
of the source code with an annoted __all__. Removed or deprecated
functions have been removed from the documentation; I’m working on
another patch to document the remaining public functions.
For the curious:
The unzip_file and untar_file were used by (or intended to be used by)
“pysetup install path/to/archive.tar.gz”, but the code presently used
shutil.unpack_archive and an helper function, so I just deleted them.
They’re still in the repository if we need them in the future.
The find_packages function is not used anymore but I want to discuss
module and package auto-discovery (in “pysetup create”) again before
removing it.
subst_vars now lives in sysconfig; rfc822_escape is inlined in
packaging.metadata. Other functions are for internal use only, or
deprecated; I have left them out of __all__ and sprinkled TODO notes
for future cleanups.
2011-09-01 05:11:29 +02:00
Benjamin Peterson
799bd80d8a
expose linux extended file system attributes ( closes #12720 )
2011-08-31 22:15:17 -04:00
Éric Araujo
37b5f9eebc
Fix some misuses of Sphinx roles and one typo
2011-09-01 03:19:30 +02:00
Éric Araujo
941afedd74
Avoid using the default reST role. Makes Doc/tools/rstlint.py happy.
2011-09-01 02:47:34 +02:00
Éric Araujo
be573e7d17
Remove outdated pointer to optparse ( fixes #11360 ).
...
The doc already points to argparse.
2011-08-26 16:38:40 +02:00
Éric Araujo
b008d3d00c
Synchronize packaging docs with distutils’ (includes fix for #9302 )
2011-08-26 01:23:20 +02:00
Antoine Pitrou
4fd1e6a3ba
Issue #12803 : SSLContext.load_cert_chain() now accepts a password argument
...
to be used if the private key is encrypted. Patch by Adam Simpkins.
2011-08-25 14:39:44 +02:00