Commit graph

20163 commits

Author SHA1 Message Date
Ross Lagerwall
344d26c7a0 Merge with 3.2 2011-04-10 09:34:35 +02:00
Raymond Hettinger
1929983518 Beautify and modernize the SequenceMatcher example 2011-04-09 19:41:31 -07:00
Victor Stinner
cfa7123ef1 faulthandler: fix unregister() if it is called before register()
Fix a crash: don't read from NULL.
2011-04-08 12:48:15 +02:00
Vinay Sajip
d35d64b54c Merged whitespace fix. 2011-04-08 01:35:04 +01:00
Vinay Sajip
bfd463c57d Merged doc fix in 3.2. 2011-04-08 01:32:27 +01:00
R David Murray
8debacb51c #1690608: make formataddr RFC2047 aware.
Patch by Torsten Becker.
2011-04-06 09:35:57 -04:00
Antoine Pitrou
6b4be36cfd Clarify that GzipFile.read1() is now implemented 2011-04-04 21:09:05 +02:00
Antoine Pitrou
5bfa0622ec Issue #11688: Add sqlite3.Connection.set_trace_callback(). Patch by Torsten Landschoff. 2011-04-04 00:12:04 +02:00
Antoine Pitrou
37dc5f85b8 Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept
file-like objects using a new `fileobj` constructor argument.  Patch by
Nadeem Vawda.
2011-04-03 17:05:46 +02:00
Ezio Melotti
b7af620747 #11282: merge with 3.2. 2011-04-03 17:39:19 +03:00
Ezio Melotti
c9a5272e8d Merge with 3.2 2011-04-03 16:25:49 +03:00
Victor Stinner
d727e23243 Issue #11393: The fault handler handles also SIGABRT 2011-04-01 12:13:55 +02:00
Georg Brandl
7098685bdb Fix markup. 2011-04-01 09:19:57 +02:00
Raymond Hettinger
d6056b7d8d Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples. 2011-03-31 15:46:39 -07:00
Raymond Hettinger
112226f962 Fix markup and wording. 2011-03-31 13:59:52 -07:00
Raymond Hettinger
6604662616 Add links to make the math docs more usable. 2011-03-31 12:06:47 -07:00
Victor Stinner
702624ecf7 Issue #11393: Fix the documentation (cancel_dump_traceback_later)
* dump_traceback_later() => dump_tracebacks_later()
 * cancel_dump_traceback_later() => cancel_dump_tracebacks_later()
2011-03-31 03:42:34 +02:00
Victor Stinner
024e37adcc Issue #11393: Add the new faulthandler module 2011-03-31 01:31:06 +02:00
guido@google.com
69cfcabae3 Merge. 2011-03-29 12:09:45 -07:00
guido@google.com
2008a8f8c0 Merge Issue 11662 from 3.2 branch. 2011-03-29 12:02:49 -07:00
R David Murray
86cc82e36f Remove the 'strict' argument to Parser, deprecated since 2.4. 2011-03-29 11:32:35 -04:00
Ezio Melotti
c831a91931 #10617: merge with 3.2. 2011-03-28 19:27:09 +03:00
Raymond Hettinger
5d44613e3b Add optional *func* argument to itertools.accumulate(). 2011-03-27 18:52:10 -07:00
Steven Bethard
b04d70d993 Issue #9343: Document that argparse parent parsers must be configured before their children. (Merge from 3.2.) 2011-03-26 21:51:56 +01:00
Steven Bethard
0a3a7d35ca Issue #8982: Improve the documentation for the argparse Namespace object. (Merge from 3.2.) 2011-03-26 19:55:36 +01:00
Steven Bethard
0331e906d6 Issue #11174: Add argparse.MetavarTypeHelpFormatter, which uses type names
for the names of optional and positional arguments in help messages.
2011-03-26 14:48:04 +01:00
Éric Araujo
b9a1c5662b Merge #10553 followup from 3.2 2011-03-26 03:23:43 +01:00
Éric Araujo
b3a591bf06 Branch merge 2011-03-26 02:01:33 +01:00
Éric Araujo
5c1da90f8c Merge 3.2 2011-03-26 02:00:51 +01:00
Éric Araujo
be3bd57ba2 Remove traces of division_warning left over from Python 2 (#10998) 2011-03-26 01:55:15 +01:00
Raymond Hettinger
4967be074b Issue #11071: Fix whatsnew description of O/S access to raw bytes. 2011-03-25 12:41:34 -07:00
Raymond Hettinger
2ebea41d31 Expose the namedtuple source with a _source attribute. 2011-03-23 12:52:23 -07:00
Raymond Hettinger
ba7b560c1d Fix set representation in an example. 2011-03-22 22:57:49 -07:00
Raymond Hettinger
b2d0945c87 Minor named tuple clean-ups. 2011-03-22 22:36:21 -07:00
Éric Araujo
c09fca67e7 Do not touch sys.path when site is imported and python was started with -S.
Original patch by Carl Meyer, review by Brett Cannon, small doc editions by
yours truly.  Fixes #11591.
2011-03-23 02:06:24 +01:00
Raymond Hettinger
f59c7b2bdd Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property. 2011-03-22 17:34:28 -07:00
Raymond Hettinger
941b2c99f6 Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents. 2011-03-22 16:27:57 -07:00
Raymond Hettinger
1aa8743d1c Issue 10988: fix description of super's descriptor call. 2011-03-22 15:33:40 -07:00
Antoine Pitrou
36920354c7 Merge 2011-03-22 18:33:33 +01:00
Georg Brandl
7878020035 Merge to default. 2011-03-21 08:55:42 +01:00
Éric Araujo
16e6f4c3f0 Fix a typo (see #3080) 2011-03-20 18:08:19 +01:00
Georg Brandl
2592f62a5a tabs are verboten. 2011-03-20 18:14:07 +00:00
Éric Araujo
7582385887 Merge from 3.1 2011-03-20 18:32:51 +01:00
R David Murray
3d81d3e0d3 Markup fixes for #7198 patch.
Also corrected the indentation of one of the examples.
2011-03-20 11:33:17 -04:00
R David Murray
a50549b845 Fix footnote reference. 2011-03-20 11:08:10 -04:00
Skip Montanaro
5b5394c6df mention newline= in write doc 2011-03-20 09:50:43 -05:00
Victor Stinner
fe93faf98c Issue #3080: Add PyImport_ImportModuleLevelObject() function
Use it for the builtin __import__ function.
2011-03-14 15:54:52 -04:00
Victor Stinner
db536afee1 Issue #3080: Document the name attribute of the _inittab structure
The name is an ASCII encoded string.
2011-03-07 18:34:59 +01:00
Victor Stinner
53dc735168 Issue #3080: Add PyImport_ImportFrozenModuleObject()
find_frozen(), get_frozen_object(), is_frozen_package() and other functions
related to frozen modules use Unicode strings instead of byte strings.
2011-03-20 01:50:21 +01:00
R David Murray
9188702a75 #7198: add newlines='' to csv.writer docs. 2011-03-19 22:30:14 -04:00