Ezio Melotti
cfc104ee76
#14558 : merge with 3.2.
2012-04-30 19:11:11 +03:00
Ezio Melotti
3d6d7a5e15
#14558 : document the module, argv, and testLoader args of unittest.main.
2012-04-30 19:10:28 +03:00
Senthil Kumaran
d3433918e7
Issue11352 - Update cgi module docs
2012-04-30 22:43:46 +08:00
Senthil Kumaran
290416f364
Issue11352 - Update cgi module docs
2012-04-30 22:43:13 +08:00
Georg Brandl
514880caae
Review of doc changes re PEP 418.
2012-04-30 12:50:30 +02:00
Brett Cannon
c204348906
Write the What's New for the importlib stuff.
2012-04-29 20:59:41 -04:00
Sandro Tosi
89c4eef435
Issue #14691 : indent the traceback so the example is highlighted
2012-04-29 20:33:28 +02:00
Raymond Hettinger
b77b5c308d
merge
2012-04-29 09:35:39 -07:00
Raymond Hettinger
99a56386f1
Issue 14688: Fix typo
2012-04-29 09:32:30 -07:00
Ezio Melotti
5fe0f4e369
#14519 : merge with 3.2.
2012-04-29 11:48:54 +03:00
Ezio Melotti
a0b1d1eea2
#14519 : fix the regex used in the scanf example.
2012-04-29 11:47:28 +03:00
Ezio Melotti
5fbd37e57a
Merge markup fix in unittest doc from 3.2.
2012-04-29 10:53:31 +03:00
Ezio Melotti
b8e336b974
Fix markup in unittest doc.
2012-04-29 10:52:18 +03:00
Senthil Kumaran
4ca008b643
issue6085 - update docs in default branch
2012-04-29 13:44:14 +08:00
Senthil Kumaran
db727b4a77
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler
2012-04-29 13:41:03 +08:00
Senthil Kumaran
1aacba497b
Fix Issue6085 - SimpleHTTPServer address_string to return client ip instead of client hostname
2012-04-29 12:51:54 +08:00
Ezio Melotti
0ce1649674
#14461 : merge with 3.2.
2012-04-29 07:35:22 +03:00
Ezio Melotti
0a6b5419b0
#14461 : fix wording.
2012-04-29 07:34:46 +03:00
Senthil Kumaran
4b7698c468
issue14427 - Document Request.get_header and Request.header_items
2012-04-29 11:51:56 +08:00
Senthil Kumaran
8dc500476a
issue14427 - Document Request.get_header and Request.header_items
2012-04-29 11:50:39 +08:00
Ezio Melotti
e240947cc0
#14155 : merge note about \b from 3.2.
2012-04-29 04:53:20 +03:00
Ezio Melotti
285e51b7e0
#14155 : add a note about \b.
2012-04-29 04:52:30 +03:00
Victor Stinner
fe98e2fc83
Issue #14428 : Use the new time.perf_counter() and time.process_time() functions
...
* Replace "time.clock on windows, or time.time" with time.perf_counter()
* profile module: only use time.process_time() instead of trying different
functions providing the process time
* timeit module: use time.perf_counter() by default, time.time() and
time.clock() can still be used using --time and --clock options
* pybench program: use time.perf_counter() by default, add support for
the new time.process_time() and time.perf_counter() functions, but stay
backward compatible. Use also time.get_clock_info() to display information
of the timer.
2012-04-29 03:01:20 +02:00
Victor Stinner
47620a6611
Close #14309 : Deprecate time.clock()
...
Use time.perf_counter() or time.process_time() instead.
2012-04-29 02:52:39 +02:00
Victor Stinner
ec89539ccc
Issue #14428 , #14397 : Implement the PEP 418
...
* Rename time.steady() to time.monotonic()
* On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of
QueryPerformanceCounter()
* time.monotonic() uses CLOCK_HIGHRES if available
* Add time.get_clock_info(), time.perf_counter() and time.process_time()
functions
2012-04-29 02:41:27 +02:00
Victor Stinner
ca6e40f12a
Time doc: documentation that the CLOCK_* constants and clock_*() functions are
...
not always available.
2012-04-28 23:47:33 +02:00
Sandro Tosi
4aff7ed332
Issue #14448 : merge with 3.2
2012-04-28 11:19:59 +02:00
Sandro Tosi
100b889ccd
Issue #14448 : add reference to IANA timezone database; thanks to Georg/Nick suggestions
2012-04-28 11:19:37 +02:00
Brett Cannon
efad00d520
Issue #14646 : __import__() now sets __loader__ if need be.
...
importlib.util.module_for_loader also will set __loader__ along with
__package__. This is in conjunction to a forthcoming update to PEP 302
which will make these two attributes required for loaders to set.
2012-04-27 17:27:14 -04:00
Jesus Cea
990eff0776
Backing out 86dc014cdd74. Not ready yet
2012-04-26 17:05:31 +02:00
Jesus Cea
2b47f0a23f
Close #10142 : Support for SEEK_HOLE/SEEK_DATA
2012-04-26 16:39:35 +02:00
Marc-Andre Lemburg
4fe29c9657
Issue #14605 : Rename _SourcelessFileLoader to SourcelessFileLoader.
...
This time also recreating the Python/importlib.h file to make
make happy. See the ticket for details.
2012-04-25 02:31:37 +02:00
Marc-Andre Lemburg
ac8805a01a
Issue #14605 : Revert renaming of _SourcelessFileLoader, since it caused
...
the buildbots to fail.
2012-04-25 02:11:07 +02:00
Marc-Andre Lemburg
2945e78b05
Issue #14605 : Rename _SourcelessFileLoader to SourcelessFileLoader
2012-04-25 01:36:48 +02:00
Antoine Pitrou
5438ed1572
Issue #4892 : multiprocessing Connections can now be transferred over multiprocessing Connections.
...
Patch by Richard Oudkerk (sbt).
2012-04-24 22:56:57 +02:00
Sandro Tosi
17feca0efc
Issue #14448 : merge with 3.2
2012-04-24 19:46:29 +02:00
Sandro Tosi
d11d0d6343
Issue #14448 : mention pytz; patch by Andrew Svetlov
2012-04-24 19:46:06 +02:00
Georg Brandl
f4095837a7
Fix location of versionaddeds and empty lines.
2012-04-24 19:16:24 +02:00
Sandro Tosi
f0c10f0840
Issue #14554 : merge with 3.2
2012-04-24 18:39:53 +02:00
Sandro Tosi
3e29d93007
Issue #14554 : correct example for captured_stdout(); patch by Tshepang Lekhonkhobe
2012-04-24 18:39:24 +02:00
Sandro Tosi
d57c73bbdd
Issue #13478 : merge with 3.2
2012-04-24 18:12:13 +02:00
Sandro Tosi
e6c3462607
Issue #13478 : document timeit.default_timer()
2012-04-24 18:11:46 +02:00
Sandro Tosi
011c9aa822
Issue #13587 : merge with 3.2
2012-04-24 17:37:02 +02:00
Sandro Tosi
08ccbf4be9
Issue #13587 : use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
2012-04-24 17:36:41 +02:00
R David Murray
0b7d7c9544
Merge #14640 : Fix typos/syntax in pyporting.rst.
...
Patch by Dionysios Kalofonos.
2012-04-23 14:45:45 -04:00
R David Murray
790e005669
#14640 : Fix typos/syntax in pyporting.rst.
...
Patch by Dionysios Kalofonos.
2012-04-23 14:44:00 -04:00
Sandro Tosi
8c52ab597f
Issue #14641 : merge with 3.2
2012-04-23 19:45:45 +02:00
Sandro Tosi
cfdba61c3c
Issue #14641 : minor fixes to sockets Howto; patch by Dionysios Kalofonos
2012-04-23 19:45:07 +02:00
Brett Cannon
938d44d59c
Issue #14605 : Expose importlib.abc.FileLoader and
...
importlib.machinery.(FileFinder, SourceFileLoader,
_SourcelessFileLoader, ExtensionFileLoader).
This exposes all of importlib's mechanisms that will become public on
the sys module.
2012-04-22 19:58:33 -04:00
Senthil Kumaran
df7070a751
issue2193 - Update docs about the legal characters allowed in Cookie name
2012-04-22 10:31:52 +08:00
Senthil Kumaran
a42665f4d4
issue2193 - Update 3.2 docs about legal characters allowed in Cookie name
2012-04-22 10:30:17 +08:00
Michael Foord
3af125a4aa
Closes issue 14634. unittest.mock.create_autospec now supports keyword only arguments.
2012-04-21 18:22:28 +01:00
Michael Foord
2cd48738ba
Closes issue 14636. mock objects raise exceptions from an iterable side_effect
2012-04-21 15:52:11 +01:00
Brett Cannon
1b5123aae5
Issue #14628 : Document the fact that import always returns the module
...
as found in sys.modules and not as what the loader returns (even
though it is required to by PEP 302).
2012-04-20 15:57:46 -04:00
Larry Hastings
6fe20b3aee
Issue #14127 : Add st_{cma}time_ns fields to os.stat() result object.
2012-04-19 15:07:49 -07:00
Martin v. Löwis
aa2efcb0bc
Issue #14098 : New functions PyErr_GetExcInfo and PyErr_SetExcInfo.
...
Patch by Stefan Behnel.
2012-04-19 14:33:43 +02:00
Ned Deily
05fac022ec
Remove webbrowser doc reference to the previously removed internet-config option.
2012-04-18 12:55:57 -07:00
Ned Deily
cc19140607
Remove webbrowser doc reference to the previously removed internet-config option.
2012-04-18 12:48:52 -07:00
Brian Curtin
09b86d1196
Fix #14600 . Correct reference handling and naming of ImportError convenience function
2012-04-17 16:57:09 -05:00
Charles-François Natali
c8ce715a82
Issue #14087 : multiprocessing: add Condition.wait_for(). Patch by sbt.
2012-04-17 18:45:57 +02:00
Vinay Sajip
f138f8c1ab
Merged cookbook corrections from 3.2.
2012-04-17 00:41:39 +01:00
Vinay Sajip
62930e1cc5
Corrected version numbers in cookbook example.
2012-04-17 00:40:48 +01:00
Brian Curtin
bded894499
Add versionadded tags to newly added ImportError convenience functions.
2012-04-16 18:14:09 -05:00
Brian Curtin
c07bda0a5a
Correct warnings when building the docs for the nonexistet :arg: role. Changed to asterisks.
2012-04-16 15:24:02 -05:00
Brian Curtin
bd43974037
Add documentation for the new PyErr_SetFromImport* functions
2012-04-16 15:14:36 -05:00
Vinay Sajip
e8a463d791
Merged tweaks to cookbook example from 3.2.
2012-04-16 15:47:05 +01:00
Vinay Sajip
59b9a79a5a
Tweaked format of cookbook example.
2012-04-16 15:46:18 +01:00
Vinay Sajip
1b7101968a
Merged cookbook update from 3.2.
2012-04-16 15:29:28 +01:00
Vinay Sajip
b00e8f108d
Added cookbook example for BOM insertion.
2012-04-16 15:28:50 +01:00
Victor Stinner
0db176f8f6
Issue #14386 : Expose the dict_proxy internal type as types.MappingProxyType
2012-04-16 00:16:30 +02:00
Kristján Valur Jónsson
69c635266e
Issue #10576 : Add a progress callback to gcmodule
2012-04-15 11:41:32 +00:00
Brett Cannon
2a082add9d
Clarify that one should not use __import__() directly. Also mention
...
PEP 328 in explaining how 'index' works.
2012-04-14 21:58:33 -04:00
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
Michael Foord
0682a0c0a9
Minor docstring / docs corrections for unittest.mock
2012-04-13 20:51:20 +01:00
Michael Foord
c287062fcf
unittest.mock.PropertyMock return value and attributes are now standard MagicMocks
2012-04-13 16:57:22 +01: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
Victor Stinner
6125e232e2
Doc: sort time.CLOCK_xxx constants
2012-04-12 21:40:14 +02:00
Georg Brandl
d46d69c279
3.2 sidebar: link to 3.3, not 3.1
2012-04-12 19:41:10 +02: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
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
2c5807572f
Closes #14545 : make clearer what was added.
2012-04-11 18:33:17 +02:00
Antoine Pitrou
61d85bab4d
Merge
2012-04-10 22:51:26 +02:00
Antoine Pitrou
b96a354556
Small improvements to the threading docs: better publicize support for the with statement.
2012-04-10 22:47:55 +02:00
Antoine Pitrou
2c9f1042c6
Fix some markup in the threading docs.
2012-04-10 22:35:53 +02:00
Antoine Pitrou
126aef768d
Issue #8799 : Fix and improve the threading.Condition documentation.
2012-04-10 22:24:05 +02:00
Vinay Sajip
8bf2aea962
Merged updates to logging reference and HOWTO from 3.2.
2012-04-10 20:00:43 +01:00
Vinay Sajip
074faff925
Updated logging reference and HOWTO.
2012-04-10 19:59:50 +01:00
Senthil Kumaran
9deb188799
merge - minor .rst fix
2012-04-10 19:51:58 +08:00
Senthil Kumaran
cc4979092f
minor .rst fix
2012-04-10 19:51:00 +08:00
Vinay Sajip
da29f8c915
Merged comment correction from 3.2.
2012-04-09 19:47:16 +01:00
Vinay Sajip
838e638a96
Corrected comment in cookbook example script.
2012-04-09 19:46:24 +01:00