Ezio Melotti
9ab3fdd8cb
#14034 : fix indentation.
14 years ago
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
Larry Hastings
faf91e75ab
Issue #14705 : Add 'p' format character to PyArg_ParseTuple* for bool support.
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
Antoine Pitrou
9a86447c12
Add some whatsnew entries
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
Martin v. Löwis
24a05f787e
Include micro version even if it is 0.
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
Georg Brandl
ebb29640fa
Suspicious markup check.
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
Brett Cannon
c204348906
Write the What's New for the importlib stuff.
14 years ago
Sandro Tosi
89c4eef435
Issue #14691 : indent the traceback so the example is highlighted
14 years ago
Raymond Hettinger
b77b5c308d
merge
14 years ago
Raymond Hettinger
99a56386f1
Issue 14688: Fix typo
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
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.
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
Georg Brandl
f4095837a7
Fix location of versionaddeds and empty lines.
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
Sandro Tosi
08ccbf4be9
Issue #13587 : use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
14 years ago
R David Murray
790e005669
#14640 : Fix typos/syntax in pyporting.rst.
Patch by Dionysios Kalofonos.
14 years ago
Sandro Tosi
cfdba61c3c
Issue #14641 : minor fixes to sockets Howto; patch by Dionysios Kalofonos
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