- 29 Apr, 2012 9 commits
-
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Victor Stinner authored
* 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.
-
Victor Stinner authored
Use time.perf_counter() or time.process_time() instead.
-
Victor Stinner authored
* 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
-
- 28 Apr, 2012 3 commits
-
-
Victor Stinner authored
not always available.
-
Sandro Tosi authored
-
Sandro Tosi authored
-
- 27 Apr, 2012 17 commits
-
-
Victor Stinner authored
-
Antoine Pitrou authored
Also, block delivery of signals to that thread. Patch by Richard Oudkerk. This will hopefully fix sporadic freezes on the FreeBSD 9.0 buildbot.
-
Victor Stinner authored
* Remove _PyBytes_FormatLong(): inline it into formatlong() * the input type is always a long, so remove the code for bool * don't duplicate the string if the length does not change * Use PyUnicode_DATA() instead of _PyUnicode_AsString()
-
Brett Cannon authored
-
Brett Cannon authored
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.
-
Victor Stinner authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
finder instead of using some (now non-existent) implicit finder.
-
Benjamin Peterson authored
-
Brett Cannon authored
-
Brett Cannon authored
ImportWarning is raised if sys.meta_path is found to be empty.
-
Brett Cannon authored
-
Brett Cannon authored
-
Benjamin Peterson authored
-
Martin v. Loewis authored
-
Victor Stinner authored
* In debug mode, fill the string data with invalid characters * Simplify also reference counting in PyCodec_BackslashReplaceErrors() and PyCodec_XMLCharRefReplaceError()
-
- 26 Apr, 2012 9 commits
-
-
Jesus Cea authored
-
Jesus Cea authored
-
Brian Curtin authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Brett Cannon authored
be implicit. Added a warning for when sys.path_hooks is found to be empty. Also changed the meaning of None in sys.path_importer_cache to represent trying sys.path_hooks again (an interpretation of previous semantics). Also added a warning for when None was found. The long-term goal is for None in sys.path_importer_cache to represent the same as imp.NullImporter: no finder found for that sys.path entry.
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
- 25 Apr, 2012 2 commits
-
-
Victor Stinner authored
null character
-
Victor Stinner authored
created strings using _PyUnicode_CheckConsistency() in debug mode
-