An error occurred fetching the project authors.
- 15 Nov, 2017 1 commit
-
-
Serhiy Storchaka authored
-
- 09 Nov, 2017 1 commit
-
-
Cody Scott authored
-
- 08 Nov, 2017 2 commits
-
-
Berker Peksag authored
-
Sanyam Khurana authored
* bpo-21862: Add -m option to cProfile for profiling modules
-
- 06 Nov, 2017 1 commit
-
-
Nir Soffer authored
blocksize was hardcoded to 8192, preventing efficient upload when using file-like body. Add blocksize argument to __init__, so users can configure the blocksize to fit their needs. I tested this uploading data from /dev/zero to a web server dropping the received data, to test the overhead of the HTTPConnection.send() with a file-like object. Here is an example 10g upload with the default buffer size (8192): $ time ~/src/cpython/release/python upload-httplib.py 10 https://localhost:8000/ Uploaded 10.00g in 17.53 seconds (584.00m/s) real 0m17.574s user 0m8.887s sys 0m5.971s Same with 512k blocksize: $ time ~/src/cpython/release/python upload-httplib.py 10 https://localhost:8000/ Uploaded 10.00g in 6.60 seconds (1551.15m/s) real 0m6.641s user 0m3.426s sys 0m2.162s In real world usage the difference will be smaller, depending on the local and remote storage and the network. See https://github.com/nirs/http-bench for more info.
-
- 05 Nov, 2017 1 commit
-
-
Nick Coghlan authored
While technically a purely internal change, bpo-31845 was a fairly significant externally visible bug caused by these changes (environment variable based configuration was being ignored due to a change in the relative order of reading the environment and reading command line settings, and the test suite was only testing the command line options) Hence this note to essentially say "If you see odd startup problems in 3.7 that you've never seen in previous releases, it's probably our fault, so let us know, and we'll fix it".
-
- 04 Nov, 2017 2 commits
-
-
Berker Peksag authored
-
Serhiy Storchaka authored
This speeds up it to 20-40%.
-
- 02 Nov, 2017 2 commits
-
-
Victor Stinner authored
Add new time functions: * time.clock_gettime_ns() * time.clock_settime_ns() * time.monotonic_ns() * time.perf_counter_ns() * time.process_time_ns() * time.time_ns() Add new _PyTime functions: * _PyTime_FromTimespec() * _PyTime_FromNanosecondsObject() * _PyTime_FromTimeval() Other changes: * Add also os.times() tests to test_os. * pytime_fromtimeval() and pytime_fromtimeval() now return _PyTime_MAX or _PyTime_MIN on overflow, rather than undefined behaviour * _PyTime_FromNanoseconds() parameter type changes from long long to _PyTime_t
-
Victor Stinner authored
Add new clock identfiers: * time.CLOCK_BOOTTIME * time.CLOCK_PROF * time.CLOCK_UPTIME
-
- 26 Oct, 2017 1 commit
-
-
xdegaye authored
-
- 24 Oct, 2017 4 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Julien Palard authored
-
Victor Stinner authored
-
- 17 Oct, 2017 1 commit
-
-
Mario Corchero authored
The new method allows the developer to control when to stop the feature of mocks that automagically creates new mocks when accessing an attribute that was not declared before Signed-off-by:
Mario Corchero <mariocj89@gmail.com>
-
- 08 Oct, 2017 2 commits
-
-
Serhiy Storchaka authored
-
Oren Milman authored
bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_Items() always return a list (#3840)
-
- 06 Oct, 2017 1 commit
-
-
Masayuki Yamamoto authored
See PEP 539 for details. Highlights of changes: - Add Thread Specific Storage (TSS) API - Document the Thread Local Storage (TLS) API as deprecated - Update code that used TLS API to use TSS API
-
- 05 Oct, 2017 2 commits
-
-
Barry Warsaw authored
Implement PEP 553, built-in breakpoint() with support from sys.breakpointhook(), along with documentation and tests. Closes bpo-31353
-
INADA Naoki authored
sre_compile does bit test (e.g. `flags & SRE_FLAG_IGNORECASE`) in loop. `IntFlag.__and__` and `IntFlag.__new__` made it slower. So this commit convert it to normal int before passing flags to `sre_compile()`.
-
- 30 Sep, 2017 1 commit
-
-
scoder authored
* Allow whitespace inside of ElementPath predicates. * Add ElementPath predicate support for text comparison of the current node, like "[.='text']".
-
- 29 Sep, 2017 1 commit
-
-
Zhiming Wang authored
Add optional argument `compressed` to `zipapp.create_archive`, and add option `--compress` to the command line interface of `zipapp`.
-
- 22 Sep, 2017 1 commit
-
-
Barry Warsaw authored
* Give pdb.set_trace() an optional `header` argument * What's new. * Give pdb.set_trace() an optional `header` argument * What's new.
-
- 15 Sep, 2017 1 commit
-
-
Paul Romano authored
-
- 14 Sep, 2017 1 commit
-
-
Eric Snow authored
PR #1638, for bpo-28411, causes problems in some (very) edge cases. Until that gets sorted out, we're reverting the merge. PR #3506, a fix on top of #1638, is also getting reverted.
-
- 10 Sep, 2017 1 commit
-
-
Raymond Hettinger authored
* Working draft without _source * Re-use itemgetter() instances * Speed-up calls to __new__() with a pre-bound tuple.__new__() * Add note regarding string interning * Remove unnecessary create function wrappers * Minor sync-ups with PR-2736. Mostly formatting and f-strings * Bring-in qualname/__module fix-ups from PR-2736 * Formally remove the verbose flag and _source attribute * Restore a test of potentially problematic field names * Restore kwonly_args test but without the verbose option * Adopt Inada's idea to reuse the docstrings for the itemgetters * Neaten-up a bit * Add news blurb * Serhiy pointed-out the need for interning * Jelle noticed as missing f on an f-string * Add whatsnew entry for feature removal * Accede to request for dict literals instead keyword arguments * Leave the method.__module__ attribute pointing the actual location of the code * Improve variable names and add a micro-optimization for an non-public helper function * Simplify by in-lining reuse_itemgetter() * Arrange steps in more logical order * Save docstring in local cache instead of interning
-
- 08 Sep, 2017 1 commit
-
-
Nick Coghlan authored
f_trace_lines: enable/disable line trace events f_trace_opcodes: enable/disable opcode trace events These are intended primarily for testing of the interpreter itself, as they make it much easier to emulate signals arriving at unfortunate times.
-
- 07 Sep, 2017 2 commits
-
-
Antoine Pitrou authored
* Remove Setup.config * Always define WITH_THREAD for compatibility.
-
R. David Murray authored
This adds support for parsing a command line where options and positionals are intermixed as is common in many unix commands. This is paul.j3's patch with a few tweaks.
-
- 04 Sep, 2017 2 commits
-
-
Eric Snow authored
sys.modules is the one true source.
-
Barry Warsaw authored
-
- 26 Aug, 2017 1 commit
-
-
Paul Moore authored
bpo-31072: Rename the new filter argument for zipapp.create_archive (GH-3049) * Rename the new argument to "filter" * Improve tests for the new functionality * Add a "What's New" entry.
-
- 11 Aug, 2017 1 commit
-
-
Daniel Himmelstein authored
Remove unneeded word `to`.
-
- 28 Jul, 2017 1 commit
-
-
Utkarsh Upadhyay authored
* Update 'Porting to .37' section. * Fix a minor example in the doc.
-
- 28 Jun, 2017 2 commits
-
-
Segev Finer authored
* bpo-23451: Fix WSASocket and WSADuplicateSocket deprecation warnings * bpo-23451: Add backwards compatibility note about socket share/fromshare * bpo-23451: Fixed `WSAAddressToString`/`WSAStringToAddress` deprecation warnings * bpo-23451: Use `inet_pton`/`inet_ntop` instead of `WSAAddressToString`/`WSAStringToAddress` * bpo-23451: Move `HAVE_INET_PTON` from _socket.vcxproj to pyconfig.h * bpo-23451: Add SUPPRESS_DEPRECATED_CALL to socketmodule.c * bpo-23451: Add a NEWS.d entry * bpo-23451: Corrected NEWS.d entry
-
Steve (Gadget) Barnes authored
* bpo-30362 Add list options to launcher. * bpo-30362 Add list options to help message. * To avoid possible later conflict with python replaced flags with --launcher-list and --launcher-list-paths * bpo-30362 Changed flag to -0 as suggested on review. * bpo-30362: Modified to default to not path for -0, -0p to dispaly path and append * to default * bpo-30362: Modified to display list on required version not found. * bpo-30362 add --list and --list-paths added back in following review by paul.moore * bpo-30362 Cleaner handing of -0 & -0p by not calling exit directly per review by @zooba * bpo-30362: Tidy up and add news & what's new Removed commented out line of code in PC/launcher.c. Added the results of using blurb to add details of bpo-30362 & bpo-30291. Updated Doc/whatsnew/3.7.rst to add a Windows only section covering both tickets. * bpo-30362 Resolve conflict in Doc/whatsnew/3.7.rst * bpo-30362:Address Whitespace Issue in Doc\whatsnew\3.7.rst * Shorten NEWS message for bpo-30362 * Shorten NEWS item for bpo-30291
-
- 27 Jun, 2017 1 commit
-
-
Serhiy Storchaka authored
Raise a ValueError if the second argument is NULL and the wchar_t\* string contains null characters.
-
- 26 Jun, 2017 1 commit
-
-
Walter Dörwald authored
-
- 23 Jun, 2017 1 commit
-
-
Victor Stinner authored
-