Commit graph

15181 commits

Author SHA1 Message Date
Nadeem Vawda
bc459bb484 Rename lzma.check_is_supported() to is_check_supported() to avoid grammatical confusion. 2012-05-06 23:01:51 +02:00
Nadeem Vawda
f55b329edc Add lzma.{encode,decode}_filter_properties(). 2012-05-06 23:01:27 +02:00
Georg Brandl
75d5d8c781 Merge with 3.2. 2012-05-06 21:39:59 +02:00
Ezio Melotti
b55d9e3e19 #14034: merge indentation fixes from 3.2. 2012-05-06 17:05:54 +03:00
Ezio Melotti
df5bedbf88 #14034: merge argparse tutorial from 3.2. 2012-05-06 16:34:43 +03:00
Nadeem Vawda
7e126205e6 Closes #13989: Add support for text modes to gzip.open().
Also, add tests for gzip.open().
2012-05-06 15:04:01 +02:00
Larry Hastings
faf91e75ab Issue #14705: Add 'p' format character to PyArg_ParseTuple* for bool support. 2012-05-05 16:54:29 -07:00
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.
2012-05-05 18:15:03 +02:00
Antoine Pitrou
9a86447c12 Add some whatsnew entries 2012-05-04 23:15:47 +02:00
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!
2012-05-03 00:30:07 -07:00
Martin v. Löwis
cc1c146c7a Merge sphinx changes 2012-05-01 18:15:13 +02:00
Martin v. Löwis
24a05f787e Include micro version even if it is 0. 2012-05-01 16:27:55 +02:00
Benjamin Peterson
49a69e4d48 strip is_ prefixes on clock_info fields 2012-05-01 09:38:34 -04:00
Georg Brandl
67c1444454 Update timeit documentation w.r.t default timer changes. 2012-05-01 11:59:36 +02:00
Georg Brandl
ebb29640fa Suspicious markup check. 2012-05-01 09:29:56 +02:00
Martin v. Löwis
f6b16a4b50 Issue #14371: Support bzip2 in zipfile module.
Patch by Serhiy Storchaka.
2012-05-01 07:58:44 +02:00
Ned Deily
ca9bfe17be Issue #10433: merge 2012-04-30 11:15:38 -07:00
Ezio Melotti
cfc104ee76 #14558: merge with 3.2. 2012-04-30 19:11:11 +03:00
Senthil Kumaran
d3433918e7 Issue11352 - Update cgi module docs 2012-04-30 22:43:46 +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
Ezio Melotti
5fe0f4e369 #14519: merge with 3.2. 2012-04-29 11:48:54 +03:00
Ezio Melotti
5fbd37e57a Merge markup fix in unittest doc from 3.2. 2012-04-29 10:53:31 +03:00
Senthil Kumaran
4ca008b643 issue6085 - update docs in default branch 2012-04-29 13:44:14 +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
Senthil Kumaran
4b7698c468 issue14427 - Document Request.get_header and Request.header_items 2012-04-29 11:51:56 +08:00
Ezio Melotti
e240947cc0 #14155: merge note about \b from 3.2. 2012-04-29 04:53:20 +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
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
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
d57c73bbdd Issue #13478: merge with 3.2 2012-04-24 18:12:13 +02:00
Sandro Tosi
011c9aa822 Issue #13587: merge with 3.2 2012-04-24 17:37:02 +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
Sandro Tosi
8c52ab597f Issue #14641: merge with 3.2 2012-04-23 19:45:45 +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