Alexander Belopolsky
54afa5504c
Issue #2736 : Documented how to compute seconds since epoch.
2011-04-25 13:00:40 -04:00
Éric Araujo
3e8987025f
Add versionchanged for c19752ea037f ( #10998 )
2011-04-24 04:37:00 +02:00
Éric Araujo
ce4c4074f9
The version* directives don’t work with a blank line between arguments
2011-04-24 03:31:37 +02:00
Éric Araujo
b1734516c2
Add versionchanged for a364719e400a ( #11591 )
2011-04-24 03:15:32 +02:00
Éric Araujo
405d77872b
Remove unneeded backslashes
2011-04-24 03:00:58 +02:00
Éric Araujo
08c9bd57f2
Remove unneeded backslashes
2011-04-24 02:59:02 +02:00
Éric Araujo
92952cc181
Merge 3.2
2011-04-24 02:49:10 +02:00
Éric Araujo
0c91e1d941
Branch merge
2011-04-24 02:47:37 +02:00
Éric Araujo
b547148d16
Fix indentation
2011-04-24 02:44:39 +02:00
Éric Araujo
fbeb1a9468
Merge 3.1
2011-04-24 02:42:52 +02:00
Éric Araujo
cae1be85f5
Branch merge
2011-04-24 02:39:43 +02:00
Éric Araujo
5348b63a91
Branch merge
2011-04-24 02:34:11 +02:00
Éric Araujo
2b9388a033
Fix weird executable name
2011-04-22 21:27:10 +02:00
Ezio Melotti
707d1e6cea
Merge with 3.2.
2011-04-22 01:57:47 +03:00
Ezio Melotti
5569e9b150
Fix some more markup glitches in argparse doc.
2011-04-22 01:42:10 +03:00
Ezio Melotti
7817e3b151
#11904-#11905: Merge typo fixes with 3.2.
2011-04-21 23:12:53 +03:00
Ezio Melotti
dca309d137
#11905 : fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.
2011-04-21 23:09:27 +03:00
Ezio Melotti
2f1db7def9
#11904 : fix indentation in argparse doc. Noticed by Vladimir Rutsky.
2011-04-21 23:06:48 +03:00
Ezio Melotti
ccb054759a
#11902 : Merge with 3.2.
2011-04-21 22:58:40 +03:00
Ezio Melotti
00f53afdda
#11902 : Fix typo in argparse doc. Noticed by Vladimir Rutsky.
2011-04-21 22:56:51 +03:00
Raymond Hettinger
295c1d4f19
Add another example for accumulate().
2011-04-21 11:09:28 -07:00
Ezio Melotti
5bba6c2785
Merge with 3.2.
2011-04-21 16:13:44 +03:00
Ezio Melotti
0ee9c1be76
Add the :mod: role where it was missing.
2011-04-21 16:12:17 +03:00
Ezio Melotti
c6f079d1b2
#11885 : Merge with 3.2.
2011-04-21 15:29:04 +03:00
Ezio Melotti
cca4ef8cba
#11885 : capitalize Python.
2011-04-21 15:26:46 +03:00
Ezio Melotti
5149eedddf
#11897 : Merge with 3.2.
2011-04-21 14:49:56 +03:00
Ezio Melotti
c17c1f64aa
#11897 : Fix typo in porting howto. Patch by Marti Raudsepp.
2011-04-21 14:49:03 +03:00
Éric Araujo
de579d4359
Add a space to make json doc a bit more readable
2011-04-21 02:37:41 +02:00
Benjamin Peterson
2b8ef2df57
say struct sequence rather than structseq and link to glossary
2011-04-20 18:31:22 -05:00
Benjamin Peterson
82f614b20a
glossary entry for struct sequence
2011-04-20 18:27:32 -05:00
Ezio Melotti
32f4db3175
Merge with 3.2.
2011-04-20 21:33:29 +03:00
Ezio Melotti
861d27f4cf
Merge with 3.1.
2011-04-20 21:32:40 +03:00
Ezio Melotti
e402724912
Fix wrong function name. Noticed by Clive Darke.
2011-04-20 21:29:31 +03:00
Éric Araujo
ab20b164b9
Merge 3.2
2011-04-20 20:22:57 +02:00
Éric Araujo
37e6c54ba1
Merge 3.1
2011-04-20 19:24:09 +02:00
Éric Araujo
5c1a0c969d
Fix argument name in reST doc to match the code
2011-04-20 19:11:12 +02:00
Éric Araujo
ad0790e573
Branch merge
2011-04-20 18:54:12 +02:00
Victor Stinner
754851f456
Issue #11223 : Add threading._info() function providing informations about the
...
thread implementation.
Skip test_lock_acquire_interruption() and test_rlock_acquire_interruption() of
test_threadsignals if a thread lock is implemented using a POSIX mutex and a
POSIX condition variable. A POSIX condition variable cannot be interrupted by a
signal (e.g. on Linux, the futex system call is restarted).
2011-04-19 23:58:51 +02:00
Ezio Melotti
4571ee0b78
Merge with 3.2.
2011-04-19 23:24:32 +03:00
Ezio Melotti
a947abec6a
Merge with 3.1.
2011-04-19 23:23:47 +03:00
Ezio Melotti
8dfcab0885
Fix wrong number of functions noticed by Sandro Tosi.
2011-04-19 23:15:13 +03:00
Vinay Sajip
64e564b8f5
Merged documentation fix from 3.2.
2011-04-19 13:58:49 +01:00
Vinay Sajip
f97255fd7c
Updated documentation on fileConfig().
2011-04-19 13:56:39 +01:00
Georg Brandl
e8d2d2d2b2
Add new email.policy document to the toctree and fix markup glitch.
2011-04-19 09:21:00 +02:00
R David Murray
6a45d3b6ae
Markup and text fixes from Georg Brandl's review.
2011-04-18 16:00:47 -04:00
R David Murray
1f056b248a
Merge: Fix markup.
2011-04-18 15:55:45 -04:00
R David Murray
530cc09796
Fix markup.
2011-04-18 15:54:58 -04:00
R David Murray
3edd22ac95
#11731 : simplify/enhance parser/generator API by introducing policy objects.
...
This new interface will also allow for future planned enhancements
in control over the parser/generator without requiring any additional
complexity in the parser/generator API.
Patch reviewed by Éric Araujo and Barry Warsaw.
2011-04-18 13:59:37 -04:00
R David Murray
f3299989a2
Merge: #11492 : rewrite header folding algorithm. Less code, more passing tests.
2011-04-18 10:11:06 -04:00
R David Murray
01581ee0b7
#11492 : rewrite header folding algorithm. Less code, more passing tests.
2011-04-18 10:04:34 -04:00
Ezio Melotti
d66f07a6b3
#11865 : Merge with 3.2.
2011-04-18 10:14:49 +03:00
Ezio Melotti
74c0031066
#11865 : Merge with 3.1.
2011-04-18 10:14:13 +03:00
Ezio Melotti
340bb95ffd
#11865 : fix typo in init.rst.
2011-04-18 10:11:21 +03:00
Éric Araujo
a0b3c32c7a
Advertise nesting directives for class/method and class/data combos.
...
Also fix a typo and a misleading example (method used to describe function).
2011-04-16 23:47:53 +02:00
Ezio Melotti
2476ee32b1
Merge with 3.2.
2011-04-16 23:14:40 +03:00
Ezio Melotti
2409d770d9
Fix a few more hyphens in argparse.rst
2011-04-16 23:13:50 +03:00
Georg Brandl
884843dd35
Fix duplicate "is".
2011-04-16 17:02:58 +02:00
Georg Brandl
d606ebe144
Merge with 3.2
2011-04-16 16:59:48 +02:00
Georg Brandl
10fe23b495
Merge with 3.1
2011-04-16 16:59:32 +02:00
Georg Brandl
340d2690b3
Small wording fix.
2011-04-16 16:54:15 +02:00
Georg Brandl
1d827ff43d
Consistency fix: "command line" is the noun, "command-line" the adjective.
2011-04-16 16:44:54 +02:00
Georg Brandl
ab8d93c03a
Backport 8a9f8f34d9d5.
2011-04-16 17:05:30 +02:00
Georg Brandl
69518bc765
Consistency fix: "command line" is the noun, "command-line" the adjective.
2011-04-16 16:44:54 +02:00
Eli Bendersky
5145ed5859
Issue #11855 : merge from 3.2
2011-04-16 15:36:26 +03:00
Eli Bendersky
3384e54c23
Issue #11855 : merge from 3.1
2011-04-16 15:34:29 +03:00
Eli Bendersky
219cc776f6
Issue #11855 : Apply missing formatting for urlretrieve
2011-04-16 15:32:13 +03:00
Raymond Hettinger
4c2ffab80b
merge
2011-04-15 17:44:30 -07:00
Raymond Hettinger
f05c1394fe
merge
2011-04-15 17:43:57 -07:00
Raymond Hettinger
7bba683d27
Add another example to the collections module docs.
2011-04-15 17:43:19 -07:00
Ezio Melotti
386832ece2
#11843 : Merge with 3.2.
2011-04-15 18:08:09 +03:00
Ezio Melotti
8881868e08
#11843 : Merge with 3.1.
2011-04-15 18:07:38 +03:00
Ezio Melotti
181810b5fe
#11843 : remove duplicate line from table in distutil doc.
2011-04-15 18:05:09 +03:00
Ezio Melotti
5ee8cb1201
#4783 : Merge with 3.2.
2011-04-15 07:40:37 +03:00
Ezio Melotti
34d204bc85
#4783 : Merge with 3.1.
2011-04-15 07:39:08 +03:00
Ezio Melotti
60adf95955
#4783 : document that is not possible to use json.dump twice on the same stream.
2011-04-15 07:37:00 +03:00
Eli Bendersky
fd9103a5da
merge from 3.2
2011-04-15 07:29:31 +03:00
Eli Bendersky
d211231cd5
merge from 3.1
2011-04-15 07:26:28 +03:00
Eli Bendersky
046a764bb2
Issue #11827 : remove mention of list2cmdline in the doc of subprocess
2011-04-15 07:23:26 +03:00
Ezio Melotti
c470a0c744
#11840 : Merge with 3.2.
2011-04-14 07:51:57 +03:00
Ezio Melotti
c1f0577b54
#11840 : Merge with 3.1.
2011-04-14 07:50:25 +03:00
Ezio Melotti
95cd91c17f
#11840 : Improve c-api/unicode documentation. Patch by Sandro Tosi.
2011-04-14 07:43:53 +03:00
Ezio Melotti
832c8bbe51
#9101 : backport json reference in configparser doc.
2011-04-14 06:41:38 +03:00
R David Murray
b35c850a3f
#11684 : Complete parser bytes interface by adding BytesHeaderParser
...
Patch by Steffen Daode Nurpmeso.
2011-04-13 16:46:05 -04:00
R David Murray
c6652ca468
Merge: Fix wording and clarify that the IDNA codec operates on full domain names.
...
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:13:52 -04:00
R David Murray
5864c9f26c
Merge: Fix wording and clarify that the IDNA codec operates on full domain names.
...
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:12:59 -04:00
R David Murray
e0fd2f880e
Fix wording and clarify that the IDNA codec operates on full domain names.
...
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:12:18 -04:00
R David Murray
d16ee63df2
Merge #10019 : Fix regression relative to 2.6: add newlines if indent=0
...
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:19:20 -04:00
R David Murray
d5315482e9
Merge #10019 : Fix regression relative to 2.6: add newlines if indent=0
...
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:09:18 -04:00
R David Murray
3dd02d62c9
#10019 : Fix regression relative to 2.6: add newlines if indent=0
...
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:02:45 -04:00
Raymond Hettinger
4bbde72440
Fix markup.
2011-04-11 17:57:21 -07:00
Vinay Sajip
4a0a31df5c
Added 'handlers' argument to logging.basicConfig.
2011-04-11 08:42:07 +01:00
Ezio Melotti
88fdeb45ef
#2650 : re.escape() no longer escapes the "_".
2011-04-10 12:59:16 +03:00
Ross Lagerwall
344d26c7a0
Merge with 3.2
2011-04-10 09:34:35 +02:00
Ross Lagerwall
810b94a364
Issue #11818 : Fix tempfile examples for Python 3.
2011-04-10 09:30:04 +02:00
Raymond Hettinger
1929983518
Beautify and modernize the SequenceMatcher example
2011-04-09 19:41:31 -07:00
Raymond Hettinger
dbb677a894
Beautify and modernize the SequenceMatcher example
2011-04-09 19:41:00 -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
77f8d2962c
Normalised whitespace.
2011-04-08 01:34:20 +01:00
Vinay Sajip
bfd463c57d
Merged doc fix in 3.2.
2011-04-08 01:32:27 +01:00
Vinay Sajip
c46102c98a
Updated Formatter documentation.
2011-04-08 01:30:51 +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
e88604755c
Clarify that GzipFile.read1() isn't implemented.
2011-04-04 21:06:20 +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
361467e522
#11282 : the fail* methods will stay around a few more versions.
2011-04-03 17:37:58 +03:00
Ezio Melotti
c9a5272e8d
Merge with 3.2
2011-04-03 16:25:49 +03:00
Ezio Melotti
9481e41741
Merge with 3.1
2011-04-03 16:24:22 +03:00
Ezio Melotti
b5ff3e4ce5
Fix typo noticed by Sandro Tosi.
2011-04-03 16:20:21 +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
6c94e6fb42
Issue #7796 : Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples.
2011-03-31 15:46:06 -07:00
Raymond Hettinger
112226f962
Fix markup and wording.
2011-03-31 13:59:52 -07:00
Raymond Hettinger
12e6c256ca
Fix markup and wording.
2011-03-31 13:59:24 -07:00
Raymond Hettinger
6604662616
Add links to make the math docs more usable.
2011-03-31 12:06:47 -07:00
Raymond Hettinger
1081d48889
Add links to make the math docs more usable.
2011-03-31 12:04:53 -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 van Rossum
20d2ab435e
Merge issue 11662.
2011-03-29 12:58:29 -07:00
Guido van Rossum
acb63092b7
Merge issue 11662.
2011-03-29 12:55:41 -07: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
guido@google.com
c768ff5d4f
Merge Issue 11662 from 3.1 branch.
2011-03-29 11:51:26 -07:00
guido@google.com
a119df91f3
Issue 11662: Fix vulnerability in urllib/urllib2.
...
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -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
Ezio Melotti
7ef2b46a0a
#10617 : merge with 3.1.
2011-03-28 13:53:40 +03:00
Ezio Melotti
9b2e67c4fa
#10617 : add class directives to collections ABCs.
2011-03-28 13:50:41 +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
d186f99d00
Issue #9343 : Document that argparse parent parsers must be configured before their children.
2011-03-26 21:49:00 +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
d8f2d50c20
Issue #8982 : Improve the documentation for the argparse Namespace object.
2011-03-26 19:50:06 +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
8b8f2ec560
Kill last reference to defunct module
2011-03-26 07:22:01 +01:00
Éric Araujo
b9a1c5662b
Merge #10553 followup from 3.2
2011-03-26 03:23:43 +01:00
Éric Araujo
01606dea3d
#10553 : Explain why compileall has no command-line argument to control optimization
2011-03-26 03:22:55 +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
722bec4210
Merge 3.1
2011-03-26 01:59:47 +01:00
Éric Araujo
be3bd57ba2
Remove traces of division_warning left over from Python 2 ( #10998 )
2011-03-26 01:55:15 +01:00
Éric Araujo
5ab477695c
Tweaks to sys.flags description table.
...
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998 .
2011-03-26 00:47:04 +01:00
Éric Araujo
a464d4e608
Remove untrue statement from tutorial
2011-03-25 21:53:58 +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
df07aacebb
Issue #11071 : Fix whatsnew description of O/S access to raw bytes.
2011-03-25 12:41:07 -07:00
Éric Araujo
4dcf50250c
Use universal construct os.path.expanduser('~') instead of os.environ['HOME']
2011-03-25 20:31:50 +01: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
b1aef23316
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:53 -07:00
Raymond Hettinger
c706dbfa67
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:17 -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
2052978e9a
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:31 -07:00
Raymond Hettinger
3b654be1a4
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:02 -07:00
Raymond Hettinger
1aa8743d1c
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:33:40 -07:00
Raymond Hettinger
f047164f64
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:33:02 -07:00
Raymond Hettinger
b199b2262c
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:28:45 -07:00
Antoine Pitrou
36920354c7
Merge
2011-03-22 18:33:33 +01:00
Raymond Hettinger
608aba301e
Issue #11625 : Fix Typo
2011-03-22 09:12:18 -07:00
Raymond Hettinger
e5820c6b5d
Issue #11625 : Fix Typo
2011-03-22 09:11:39 -07:00
Georg Brandl
7878020035
Merge to default.
2011-03-21 08:55:42 +01:00
Georg Brandl
2f5cac6ab4
Merge to 3.2.
2011-03-21 08:55:31 +01:00
Georg Brandl
82d8ec5eef
Fix duplicate word.
2011-03-21 08:55:16 +01:00
Éric Araujo
d40248777b
Merge from 3.1
2011-03-20 18:31:42 +01:00
Éric Araujo
09eb980e3e
Fix typo in class name
2011-03-20 18:30:37 +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
38a04e51f6
Merge markup fixes for #7198 patch.
2011-03-20 11:19:20 -04:00
R David Murray
9c0d5eaa70
Markup fixes for #7198 patch.
2011-03-20 11:18:21 -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
R David Murray
fb8b067360
Really merge #7198
...
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:25:29 -04:00
R David Murray
f453debb45
#7198 : really add newline='' to csv.writer docs.
...
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:23:22 -04:00
Antoine Pitrou
7b98d02302
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou
877766dee8
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Raymond Hettinger
af9be06b3c
Issue 7391: Remove questionable and outdated HOWTO document with permission from its author.
2011-03-18 18:22:28 -07:00
Ezio Melotti
3b3499ba69
#11565 : Merge with 3.1.
2011-03-16 11:35:38 +02:00
Ezio Melotti
13925008dc
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 11:05:33 +02:00
Raymond Hettinger
15aded8b73
Emphasize the ['x', 'y'] option for listing field names. Remove PS2 prompts to make the examples cut-and-pasteable.
2011-03-15 17:25:51 -07:00
Michael Foord
dcebe0f2dc
Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution
2011-03-15 19:20:44 -04:00
R David Murray
729c5e203d
Merge #11216 : document all possible set_charset execution paths.
2011-03-15 17:42:50 -04:00
R David Murray
e3d09ff269
#11216 : document all possible set_charset execution paths.
2011-03-15 17:41:13 -04:00
Antoine Pitrou
9bb9877d80
Followup to 4c59cd84086f: add an entry in the porting guide and a "versionchanged" attribute.
2011-03-15 20:22:50 +01:00
R David Murray
4a0b60c527
Merge #11555 as_string doc fix from 3.1.
2011-03-15 14:02:53 -04:00
R David Murray
7dedcb4644
#11555 : update doc for 3.x change to as_string mangle_from default.
2011-03-15 14:01:18 -04:00
R David Murray
c48c19afe0
Merge redundant __contains__ doc fix from 3.1.
2011-03-14 22:53:29 -04:00
R David Murray
f6db0bbbee
Remove redundant __contains__ entry from Message docs.
2011-03-14 22:43:38 -04: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
Ross Lagerwall
13312638b3
Merge from 3.1
2011-03-14 10:41:58 +02:00
Ross Lagerwall
8fea2e6a50
Issue #10885 : Fix multiprocessing docs typo
2011-03-14 10:40:15 +02:00
Antoine Pitrou
9bd3bbcfe8
Issue #11329 : PyEval_InitThreads() cannot be called before Py_Initialize() anymore
2011-03-13 23:28:28 +01:00
Antoine Pitrou
34db469895
Remove documentation to non-existent function PyObject_CopyToObject ( fixes #11478 )
2011-03-13 19:32:01 +01:00
Antoine Pitrou
6b19e50e9b
Remove documentation to non-existent function PyObject_CopyToObject ( fixes #11478 )
2011-03-13 19:31:11 +01:00
Ezio Melotti
0def5c6907
Merge with 3.1.
2011-03-13 02:27:26 +02:00
Ezio Melotti
2b73660135
Fix markup in inputoutput.rst.
2011-03-13 02:19:57 +02:00
Ezio Melotti
77845ce55a
Fix typo.
2011-03-12 22:25:06 +02:00
Benjamin Peterson
62e0b90be2
merge 3.1
2011-03-12 11:58:40 -06:00
Benjamin Peterson
ab2b71699c
trunc -> math.trunc ( closes #11475 )
2011-03-12 11:58:15 -06:00
Senthil Kumaran
e858bca356
forward merge from 3.1
2011-03-12 11:42:33 +08:00
Senthil Kumaran
abd4a05561
Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex
2011-03-12 11:40:25 +08:00
Ezio Melotti
147f6088f0
#11446 : merge with 3.1.
2011-03-11 20:53:24 +02:00
Ezio Melotti
7885833df0
#11446 : fix incorrect PEP link.
2011-03-11 20:50:42 +02:00
Eli Bendersky
fc4252d3e2
merge
2011-03-11 16:40:25 +02:00
Eli Bendersky
a7a1c15111
merge from 3.1
2011-03-11 16:39:04 +02:00
Eli Bendersky
9cc6249dee
Issue #11426 : use 'with' statements on open files in CSV examples
2011-03-11 16:33:36 +02:00
Ezio Melotti
1a87e3211a
#11435 : Update the links generated by the source directive to use hg.python.org.
2011-03-11 15:16:01 +02:00
R David Murray
5647c473bc
Merge #10999 fix.
2011-03-10 17:22:33 -05:00
R David Murray
30178068d9
#10999 : Add missing documentation for chflags constants to stat module docs
...
Patch by Michal Nowikowski.
2011-03-10 17:18:33 -05:00
Ezio Melotti
c29cd9384a
Use simpler assert in basic example.
2011-03-10 23:38:18 +02:00
Gregory P. Smith
f2b5673f73
Explicitly mention that people should not depend on immediate
...
finalization of objects.
HG Enter commit message. Lines beginning with 'HG:' are removed.
2011-03-10 11:32:29 -08:00
Gregory P. Smith
c542547211
Reword the finalization note.
2011-03-10 11:28:50 -08:00
Gregory P. Smith
c60137b272
Explicitly mention that people should not depend on immediate
...
finalization of objects in the language reference.
2011-03-10 11:25:44 -08:00
Ezio Melotti
40dcb1d287
Port a couple of changes from 3.1.
2011-03-10 13:46:50 +02:00
Ezio Melotti
2d1e88a4d1
Backport from 3.2 several improvements and fixes for unittest.rst.
2011-03-10 12:16:35 +02:00
Ezio Melotti
3d995843ce
#11298 : Improve the unittest discovery explanation.
2011-03-08 16:17:35 +02: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
Skip Montanaro
c9b49f8759
untab
2011-03-19 13:07:10 -05:00
Skip Montanaro
b7d1aebb66
*sigh* - i don't like this workflow at all
2011-03-19 13:05:58 -05:00
Skip Montanaro
482e7e061b
merge from upstream
2011-03-19 13:03:33 -05:00
Antoine Pitrou
1679f4daa1
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:06:22 +01:00
Skip Montanaro
b61efd0a68
commit merge
2011-03-19 09:15:28 -05:00
Skip Montanaro
b40dea7499
Mention RFC 4180. Based on input by Tony Wallace in issue 11456.
2011-03-19 09:09:30 -05:00
Ross Lagerwall
7807c3545d
Issue #10812 : Add some extra posix functions to the os module.
2011-03-17 20:20:30 +02:00
Ross Lagerwall
ba102ec10d
Issue #5870 : Add subprocess.DEVNULL constant.
2011-03-16 18:40:25 +02:00
Ronald Oussoren
c1577902c6
Fix typo in subprocess documentation.
2011-03-16 10:03:10 -04:00
Ezio Melotti
b88ed1549e
#11565 : Merge with 3.2.
2011-03-16 11:38:59 +02:00
Raymond Hettinger
a2e7814b2d
Forward port doc update.
2011-03-15 18:19:52 -07:00
Michael Foord
ed1fce2ee5
merge 3.2
2011-03-15 19:22:19 -04:00
R David Murray
31f218bc6b
Merge #11216 : document all possible set_charset execution paths.
2011-03-15 17:43:21 -04:00
Barry Warsaw
ffdbbcaf71
merged
2011-03-15 15:23:56 -04:00
Barry Warsaw
5b2c876842
Merged
2011-03-15 15:23:30 -04:00
Antoine Pitrou
ec43833cc7
Merge doc update
2011-03-15 20:23:30 +01:00
Barry Warsaw
1f5c958721
- Issue #11289 : `smtp.SMTP` class becomes a context manager so it can be used
...
in a `with` statement. Contributed by Giampaolo Rodola.
2011-03-15 15:04:44 -04:00
R David Murray
ab1dfd68e1
Merge #11555 as_string doc fix from 3.2.
2011-03-15 14:04:00 -04:00
R David Murray
deaa678952
Merge redundant __contains__ doc fix from 3.2.
2011-03-14 22:54:19 -04:00
Michael Foord
1341bb0019
Closes issue 11407. TestCase.run returns the result object used or created
2011-03-14 19:01:46 -04:00
Gregory P. Smith
54d412edcc
Add a SubprocessError base class for exceptions in the subprocess module.
2011-03-14 14:08:43 -04:00
Reid Kleckner
28f130320b
Change versionchanged for timeout to 3.3, not 3.2.
2011-03-14 12:36:53 -04:00
Reid Kleckner
31aa7dd141
Add a 'timeout' argument to subprocess.Popen.
...
If the timeout expires before the subprocess exits, the wait method and the
communicate method will raise a subprocess.TimeoutExpired exception. When used
with communicate, it is possible to catch the exception, kill the process, and
retry the communicate and receive any output written to stdout or stderr.
2011-03-14 12:02:10 -04:00
Ross Lagerwall
41b1228525
Merge with 3.2
2011-03-14 10:42:24 +02:00
Antoine Pitrou
0cfc23762f
Issue #11329 : PyEval_InitThreads() cannot be called before Py_Initialize() anymore
2011-03-13 23:29:10 +01:00