An error occurred fetching the project authors.
  1. 15 Nov, 2017 1 commit
  2. 09 Nov, 2017 1 commit
  3. 08 Nov, 2017 2 commits
  4. 06 Nov, 2017 1 commit
    • Nir Soffer's avatar
      bpo-31945: Configurable blocksize in HTTP(S)Connection (#4279) · ad455cd9
      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.
      ad455cd9
  5. 05 Nov, 2017 1 commit
    • Nick Coghlan's avatar
      bpo-22257: Mention startup refactoring in What's New (GH-4286) · 1b46131a
      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".
      1b46131a
  6. 04 Nov, 2017 2 commits
  7. 02 Nov, 2017 2 commits
    • Victor Stinner's avatar
      bpo-31784: Implement PEP 564: add time.time_ns() (#3989) · c29b585f
      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
      c29b585f
    • Victor Stinner's avatar
      bpo-31917: Add 3 new clock identifiers (#4207) · a64ce973
      Victor Stinner authored
      Add new clock identfiers:
      
      * time.CLOCK_BOOTTIME
      * time.CLOCK_PROF
      * time.CLOCK_UPTIME
      a64ce973
  8. 26 Oct, 2017 1 commit
  9. 24 Oct, 2017 4 commits
  10. 17 Oct, 2017 1 commit
  11. 08 Oct, 2017 2 commits
  12. 06 Oct, 2017 1 commit
  13. 05 Oct, 2017 2 commits
  14. 30 Sep, 2017 1 commit
    • scoder's avatar
      bpo-31648: Improve ElementPath (#3835) · 101a5e84
      scoder authored
      * Allow whitespace inside of ElementPath predicates.
      * Add ElementPath predicate support for text comparison of the current node, like "[.='text']".
      101a5e84
  15. 29 Sep, 2017 1 commit
  16. 22 Sep, 2017 1 commit
  17. 15 Sep, 2017 1 commit
  18. 14 Sep, 2017 1 commit
  19. 10 Sep, 2017 1 commit
    • Raymond Hettinger's avatar
      bpo-28638: Optimize namedtuple() creation time by minimizing use of exec() (#3454) · 8b57d736
      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
      8b57d736
  20. 08 Sep, 2017 1 commit
    • Nick Coghlan's avatar
      bpo-31344: Per-frame control of trace events (GH-3417) · 5a851670
      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.
      5a851670
  21. 07 Sep, 2017 2 commits
  22. 04 Sep, 2017 2 commits
  23. 26 Aug, 2017 1 commit
  24. 11 Aug, 2017 1 commit
  25. 28 Jul, 2017 1 commit
  26. 28 Jun, 2017 2 commits
    • Segev Finer's avatar
      bpo-23451: Fix socket deprecation warnings in socketmodule.c (#2318) · 9f3bdcb6
      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
      9f3bdcb6
    • Steve (Gadget) Barnes's avatar
      bpo-30362 : Add list options to launcher. (#1578) · 5b8f972e
      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
      5b8f972e
  27. 27 Jun, 2017 1 commit
  28. 26 Jun, 2017 1 commit
  29. 23 Jun, 2017 1 commit