Ezio Melotti
6cc7a41c2f
#14034 : added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
14 years ago
Nadeem Vawda
7e126205e6
Closes #13989 : Add support for text modes to gzip.open().
Also, add tests for gzip.open().
14 years ago
Lars Gustäbel
7a919e9930
Issue #13815 : TarFile.extractfile() now returns io.BufferedReader objects.
The ExFileObject class was removed, some of its code went into _FileInFile.
14 years ago
Larry Hastings
76ad59b7e8
Issue #14127 : Add ns= parameter to utime, futimes, and lutimes.
Removed futimens as it is now redundant.
Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat
and ns= parameter to utime--it once again preserves exact metadata on Linux!
14 years ago
Benjamin Peterson
49a69e4d48
strip is_ prefixes on clock_info fields
14 years ago
Georg Brandl
67c1444454
Update timeit documentation w.r.t default timer changes.
14 years ago
Martin v. Löwis
f6b16a4b50
Issue #14371 : Support bzip2 in zipfile module.
Patch by Serhiy Storchaka.
14 years ago
Ned Deily
2e20968feb
Issue #10433 : Document unique behavior of 'os.getgroups' on Mac OS X.
14 years ago
Ezio Melotti
3d6d7a5e15
#14558 : document the module, argv, and testLoader args of unittest.main.
14 years ago
Senthil Kumaran
290416f364
Issue11352 - Update cgi module docs
14 years ago
Georg Brandl
514880caae
Review of doc changes re PEP 418.
14 years ago
Sandro Tosi
89c4eef435
Issue #14691 : indent the traceback so the example is highlighted
14 years ago
Ezio Melotti
a0b1d1eea2
#14519 : fix the regex used in the scanf example.
14 years ago
Ezio Melotti
b8e336b974
Fix markup in unittest doc.
14 years ago
Senthil Kumaran
db727b4a77
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler
14 years ago
Senthil Kumaran
1aacba497b
Fix Issue6085 - SimpleHTTPServer address_string to return client ip instead of client hostname
14 years ago
Ezio Melotti
0a6b5419b0
#14461 : fix wording.
14 years ago
Senthil Kumaran
8dc500476a
issue14427 - Document Request.get_header and Request.header_items
14 years ago
Ezio Melotti
285e51b7e0
#14155 : add a note about \b.
14 years ago
Victor Stinner
47620a6611
Close #14309 : Deprecate time.clock()
Use time.perf_counter() or time.process_time() instead.
14 years ago
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
14 years ago
Victor Stinner
ca6e40f12a
Time doc: documentation that the CLOCK_* constants and clock_*() functions are
not always available.
14 years ago
Sandro Tosi
100b889ccd
Issue #14448 : add reference to IANA timezone database; thanks to Georg/Nick suggestions
14 years ago
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.
14 years ago
Jesus Cea
990eff0776
Backing out 86dc014cdd74. Not ready yet
14 years ago
Jesus Cea
2b47f0a23f
Close #10142 : Support for SEEK_HOLE/SEEK_DATA
14 years ago
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.
14 years ago
Marc-Andre Lemburg
ac8805a01a
Issue #14605 : Revert renaming of _SourcelessFileLoader, since it caused
the buildbots to fail.
14 years ago
Marc-Andre Lemburg
2945e78b05
Issue #14605 : Rename _SourcelessFileLoader to SourcelessFileLoader
14 years ago
Antoine Pitrou
5438ed1572
Issue #4892 : multiprocessing Connections can now be transferred over multiprocessing Connections.
Patch by Richard Oudkerk (sbt).
14 years ago
Sandro Tosi
d11d0d6343
Issue #14448 : mention pytz; patch by Andrew Svetlov
14 years ago
Sandro Tosi
3e29d93007
Issue #14554 : correct example for captured_stdout(); patch by Tshepang Lekhonkhobe
14 years ago
Sandro Tosi
e6c3462607
Issue #13478 : document timeit.default_timer()
14 years ago
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.
14 years ago
Senthil Kumaran
df7070a751
issue2193 - Update docs about the legal characters allowed in Cookie name
14 years ago
Senthil Kumaran
a42665f4d4
issue2193 - Update 3.2 docs about legal characters allowed in Cookie name
14 years ago
Michael Foord
3af125a4aa
Closes issue 14634. unittest.mock.create_autospec now supports keyword only arguments.
14 years ago
Michael Foord
2cd48738ba
Closes issue 14636. mock objects raise exceptions from an iterable side_effect
14 years ago
Larry Hastings
6fe20b3aee
Issue #14127 : Add st_{cma}time_ns fields to os.stat() result object.
14 years ago
Ned Deily
cc19140607
Remove webbrowser doc reference to the previously removed internet-config option.
14 years ago
Charles-François Natali
c8ce715a82
Issue #14087 : multiprocessing: add Condition.wait_for(). Patch by sbt.
14 years ago
Brian Curtin
c07bda0a5a
Correct warnings when building the docs for the nonexistet :arg: role. Changed to asterisks.
14 years ago
Victor Stinner
0db176f8f6
Issue #14386 : Expose the dict_proxy internal type as types.MappingProxyType
14 years ago
Kristján Valur Jónsson
69c635266e
Issue #10576 : Add a progress callback to gcmodule
14 years ago
Brett Cannon
2a082add9d
Clarify that one should not use __import__() directly. Also mention
PEP 328 in explaining how 'index' works.
14 years ago
Sandro Tosi
1ee17198c8
fix typo; thanks to Jérôme Mainka from docs@
14 years ago
Ezio Melotti
84e59aa989
Fix highlight and spacing in json example.
14 years ago
Ezio Melotti
f86b28e3d2
#14535 : fix code highlight in multiprocessing examples. Patch by Tshepang Lekhonkhobe.
14 years ago
Michael Foord
0682a0c0a9
Minor docstring / docs corrections for unittest.mock
14 years ago
Michael Foord
c287062fcf
unittest.mock.PropertyMock return value and attributes are now standard MagicMocks
14 years ago