Commit Graph

12267 Commits

Author SHA1 Message Date
Victor Stinner e506437b52 What's new in Python 3.3: document new functions of the os module 2011-10-14 00:08:29 +02:00
Victor Stinner 69db2dbcbe Fix typo in the os doc: lremoveattr => lremovexattr 2011-10-14 00:07:53 +02:00
Victor Stinner a1bf298454 What's New in Python 3.3: mention the PEP 3151 2011-10-12 20:35:02 +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 771dea7755 Replace a mention of EnvironmentError in the distutils docs. 2011-10-12 18:35:18 +02:00
Antoine Pitrou 23a580fd78 Update index entries 2011-10-12 18:33:15 +02:00
Antoine Pitrou 9a4a342b78 Update the C-API docs for exception types 2011-10-12 18:28:01 +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
Mark Dickinson 1c027e564f Merge issue #13145 fix. 2011-10-11 18:07:19 +01:00
Mark Dickinson f1ab47ebc4 Issue #13145. Fix incorrect documentation for PyNumber_ToBase. Thanks Sven Marnach. 2011-10-11 18:06:36 +01:00
Ezio Melotti a6968edcb0 Merge whatsnew fixes with 3.2. 2011-10-10 00:31:00 +03:00
Ezio Melotti 4e15828640 Fix/improve markup in whatsnew/2.7. 2011-10-10 00:30:14 +03: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 47a4521ece Fix distutils byte-compilation to comply with PEP 3147 (#11254).
Patch by Jeff Ramnani.  Tested with -B, -O and -OO.
2011-10-08 00:34:13 +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
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
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
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 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
É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