Sandro Tosi
d2cbd90539
merge with 3.2
2012-04-14 16:01:49 +02:00
Sandro Tosi
1ee17198c8
fix typo; thanks to Jérôme Mainka from docs@
2012-04-14 16:01:17 +02:00
Ezio Melotti
9c9af9d2ad
Merge highlight and spacing fixes in json example with 3.2.
2012-04-13 21:05:36 -06:00
Ezio Melotti
84e59aa989
Fix highlight and spacing in json example.
2012-04-13 21:02:18 -06:00
Ezio Melotti
584fbbb32d
#14535 : merge with 3.2.
2012-04-13 20:52:29 -06:00
Ezio Melotti
f86b28e3d2
#14535 : fix code highlight in multiprocessing examples. Patch by Tshepang Lekhonkhobe.
2012-04-13 20:50:48 -06:00
R David Murray
2c4efa871e
Merge #14399 : corrected news item
2012-04-13 21:27:19 -04:00
R David Murray
650dfaf5c4
#14399 : corrected news item
2012-04-13 21:24:27 -04:00
Benjamin Peterson
780b66b3e6
merge 3.2
2012-04-13 18:06:42 -04:00
Benjamin Peterson
3bf01757b6
move outside WITH_THREAD conditional
2012-04-13 18:06:36 -04:00
Victor Stinner
b8d016955a
Fix clock_gettime/getres/settime: PyArg_ParseTuple() expects an int
...
Only use a single #ifdef for the 3 functions.
2012-04-13 23:44:05 +02:00
Michael Foord
0682a0c0a9
Minor docstring / docs corrections for unittest.mock
2012-04-13 20:51:20 +01:00
Michael Foord
656319e58d
Make unittest.mock.create_autospec resilient against AttributeError on original object
2012-04-13 17:39:16 +01:00
Benjamin Peterson
899ee613f7
merge 3.2
2012-04-13 11:59:52 -04:00
Benjamin Peterson
43162b8a02
take linkage def outside of WITH_THREAD conditional ( closes #14569 )
2012-04-13 11:58:27 -04:00
Michael Foord
c287062fcf
unittest.mock.PropertyMock return value and attributes are now standard MagicMocks
2012-04-13 16:57:22 +01:00
Benjamin Peterson
633b32a7fa
put PyImportErrorObject with its brothers
2012-04-12 21:50:35 -04:00
Brett Cannon
15af26fa92
Merge
2012-04-12 21:13:08 -04:00
Brett Cannon
a29629f632
NEWS entry about importlib and ImportError's new attributes.
2012-04-12 21:12:37 -04:00
Brett Cannon
bbb6680ee5
Have importlib take advantage of ImportError's new 'name' and 'path'
...
attributes.
2012-04-12 21:09:01 -04:00
Amaury Forgeot d'Arc
b413874bc8
merge heads
2012-04-13 02:29:54 +02:00
Amaury Forgeot d'Arc
504a83f020
merge heads
2012-04-13 02:27:37 +02:00
Amaury Forgeot d'Arc
18d508fc73
Merge heads
2012-04-13 02:24:56 +02:00
Brett Cannon
79ec55e980
Issue #1559549 : Add 'name' and 'path' attributes to ImportError.
...
Currently import does not use these attributes as they are planned
for use by importlib (which will be another commit).
Thanks to Filip Gruszczyński for the initial patch and Brian Curtin
for refining it.
2012-04-12 20:24:54 -04:00
Amaury Forgeot d'Arc
8963943fc3
hg merge 3.2
2012-04-13 02:23:59 +02:00
Amaury Forgeot d'Arc
a9d33a21b3
Issue14559: Fix build files old Microft compilers.
...
With VS8.0 at least Python compiles and works correctly.
2012-04-13 02:14:28 +02:00
R David Murray
f50b38a11f
Merge #14399 : zipfile now correctly handles comments added to empty zipfiles.
...
Patch by Serhiy Storchaka.
This also moves the TypeError that results from trying to use a unicode
comment from the 'close' step to the point at which the comment is added to
the zipfile.
2012-04-12 18:44:58 -04:00
R David Murray
51804e9725
#14399 : zipfile now correctly handles comments added to empty zipfiles.
...
Patch by Serhiy Storchaka.
This also moves the TypeError that results from trying to use a unicode
comment from the 'close' step to the point at which the comment is added to
the zipfile.
2012-04-12 18:44:42 -04:00
Victor Stinner
6125e232e2
Doc: sort time.CLOCK_xxx constants
2012-04-12 21:40:14 +02:00
Georg Brandl
84ba495e37
Null-merge 3.2 branch.
2012-04-12 19:41:50 +02:00
Georg Brandl
d46d69c279
3.2 sidebar: link to 3.3, not 3.1
2012-04-12 19:41:10 +02:00
Charles-François Natali
515ea9bd65
Issue #14557 : Fix extensions build on HP-UX. Patch by Adi Roiban.
2012-04-12 19:09:00 +02:00
Charles-François Natali
5739e102dd
Issue #14557 : Fix extensions build on HP-UX. Patch by Adi Roiban.
2012-04-12 19:07:25 +02:00
Senthil Kumaran
80a133b91c
code improvement. 'as cm' not required when not used. Review comment by Georg Brandl
2012-04-12 19:28:07 +08:00
R David Murray
df7ac06195
Merge doc fixes #14553 and #14552 .
2012-04-11 20:15:10 -04:00
R David Murray
e7bade568e
#14553 : fix word order.
...
Patch by Tshepang Lekhonkhobe.
2012-04-11 20:13:25 -04:00
R David Murray
644cabed4b
#14552 : remove redundant wording in 'test' docs.
...
Original patch by Tshepang Lekhonkhobe.
2012-04-11 20:11:53 -04:00
Benjamin Peterson
d268109ae3
merge 3.2 (null)
2012-04-11 16:49:40 -04:00
Benjamin Peterson
118ef7c38f
merge 3.1 (null)
2012-04-11 16:48:30 -04:00
Benjamin Peterson
2fd0b1a1b9
after 3.1.5
2012-04-11 16:46:54 -04:00
R David Murray
ea169801e1
#14508 : make gprof2html script runnable under python3
...
Not that I haven't tested it to make sure it works, just that it
can run against an empty source file.
Initial patch by Popa.Claudiu.
Here we also add a test (which uses mock, which is why I didn't
check it in on 3.2).
2012-04-11 15:17:37 -04:00
R David Murray
776c0df42b
#14508 : make gprof2html script runnable under python3
...
Not that I haven't tested it to make sure it works, just that it
can run against an empty source file.
Initial patch by Popa.Claudiu.
2012-04-11 15:16:38 -04:00
Senthil Kumaran
690598aba2
merge to default - Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests
2012-04-12 02:37:11 +08:00
Senthil Kumaran
d70846b1b1
3.2 - Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests
2012-04-12 02:34:32 +08:00
Antoine Pitrou
1c94ff8b68
Improve the threading.Condition docs.
2012-04-11 19:38:27 +02:00
Antoine Pitrou
f6cd9b2d46
Improve the threading.Condition docs.
2012-04-11 19:37:56 +02:00
Georg Brandl
b43ef77ecb
#14545 : merge 3.2
2012-04-11 18:36:58 +02:00
Georg Brandl
2a4864bea6
Merge 3.2
2012-04-11 18:36:46 +02:00
Georg Brandl
2c5807572f
Closes #14545 : make clearer what was added.
2012-04-11 18:33:17 +02:00
Senthil Kumaran
08bd4aaaf9
use assertWarns instead of check_warnings - Issue14341
2012-04-11 23:05:49 +08:00