Commit graph

15181 commits

Author SHA1 Message Date
Ezio Melotti
5b194cc8fb #13138: merge with 3.2. 2011-10-10 00:03:15 +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
É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
Martin v. Löwis
2da16e61f5 Fix indentation. 2011-10-07 20:58:00 +02:00
Martin v. Löwis
c47adb04b3 Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE. 2011-10-07 20:55:35 +02:00
Antoine Pitrou
756b169c5a Issue #12823: remove broken link and replace it with another resource. 2011-10-07 16:58:35 +02:00
Meador Inge
14c0f03b58 Issue #12943: python -m tokenize support has been added to tokenize. 2011-10-07 08:53:38 -05:00
Georg Brandl
db6c7f5c33 Update C API docs for PEP 393. 2011-10-07 11:19:11 +02: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
1079bdfde3 Merge 3.2 2011-10-05 01:52:45 +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
Éric Araujo
5043f0904b More info about PEP 393 in whatsnew and NEWS 2011-10-05 01:04:18 +02:00
Éric Araujo
b07b97f3a4 Minor updates to the whatsnew maintenance rules 2011-10-05 01:03:34 +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
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
397546ac2f Update and reorganize the whatsnew entry for PEP 393. 2011-09-29 08:34:36 +03:00
Victor Stinner
7d637ab870 Complete What's New in 3.3 about PEP 393 2011-09-29 02:56:16 +02:00
Ezio Melotti
48a2f8fd97 #13054: sys.maxunicode is now always 0x10FFFF. 2011-09-29 00:18:19 +03:00
Georg Brandl
ee12f4429c Add versionadded directive to new API function. 2011-09-28 21:51:06 +02:00
Martin v. Löwis
d63a3b8beb Implement PEP 393. 2011-09-28 07:41:54 +02: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
É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
Meador Inge
c5dbb3dadf Issue #1172711: Update What's New in Python 3.3 document for the array module.
The commit fixes 3c56e546dc60, which documented #1172711 as a struct module
change;  it is an array module change.
2011-09-20 21:48:16 -05:00
Victor Stinner
c78fb33f81 What's New in Python 3.3: add curses.unget_wch() 2011-09-21 03:35:44 +02:00
Victor Stinner
9415afcce1 meth.log2 doc: add a link to int.bit_length() 2011-09-21 03:35:18 +02:00
Victor Stinner
811db3b715 Issue #1172711: Update What's New in Python 3.3 document for the struct module 2011-09-21 03:20:03 +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
902e895578 merge doc fixes from 3.2 2011-09-17 20:40:35 +02:00
Éric Araujo
faabef548d Branch merge 2011-09-12 17:34:40 +02:00
Éric Araujo
cde6576820 Remove unneeded --all option of “pysetup list”.
The command without arguments already prints all installed distributions
found.

In addition, change “releases” for “projects” in the description of the
list action.  Strictly speaking, one installed distribution satisfies
the requirement for a release (i.e. version) of a project, but as
currently only one release per project can be installed at a time, the
two are somewhat equivalent, and “project” is more understandable in
help texts (which call their argument “dist”, by the way..)
2011-09-12 16:45:38 +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
Éric Araujo
46a9d62828 Merge 3.2 2011-09-09 19:11:04 +02:00
Vinay Sajip
e0afb16a31 Closes #12906: Merged fix from 3.2. 2011-09-06 14:08:24 +01:00
Brett Cannon
5c9a8d0908 Minor grammar fix. 2011-09-05 21:08:14 -07: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