1. 10 Sep, 2017 3 commits
    • 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
    • Stefan Krah's avatar
    • Zhiming Wang's avatar
      Improve IncrementalEncoder documentation (GH-2746) · 30644dee
      Zhiming Wang authored
      getstate and setstate are instance methods, same as encode and reset.
      30644dee
  2. 09 Sep, 2017 4 commits
  3. 08 Sep, 2017 17 commits
  4. 07 Sep, 2017 16 commits