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
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
Antoine Pitrou
0d23189dae
Remove documentation to non-existent function PyObject_CopyToObject ( fixes #11478 )
2011-03-13 19:32:21 +01:00
Raymond Hettinger
279755a165
Issue #7391 : Remove outdated HOWTO with permission of its author.
2011-03-12 22:31:06 -05:00
Ezio Melotti
32657fb152
Merge with 3.2.
2011-03-13 02:29:11 +02:00
Benjamin Peterson
6cb2b923e0
convert ast versioning to mercurial
2011-03-12 18:28:16 -06:00
Benjamin Peterson
32b0127007
merge 3.2
2011-03-12 11:59:10 -06:00
Éric Araujo
e4f6a80ed8
Fix example in atexit doc: Both open and read could raise the IOError ( #10461 follow-up).
...
Thanks to SilenGhost for catching this.
2011-03-12 15:56:09 +01:00
orsenthil@gmail.com
476021b3d0
Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex
2011-03-12 10:46:25 +08:00