• Raymond Hettinger's avatar
    bpo-28638: Optimize namedtuple() creation time by minimizing use of exec() (#3454) · 8b57d736
    Raymond Hettinger yazdı
    * 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
Adı
Son kayıt (commit)
Son güncelleme
..
2.0.rst Loading commit data...
2.1.rst Loading commit data...
2.2.rst Loading commit data...
2.3.rst Loading commit data...
2.4.rst Loading commit data...
2.5.rst Loading commit data...
2.6.rst Loading commit data...
2.7.rst Loading commit data...
3.0.rst Loading commit data...
3.1.rst Loading commit data...
3.2.rst Loading commit data...
3.3.rst Loading commit data...
3.4.rst Loading commit data...
3.5.rst Loading commit data...
3.6.rst Loading commit data...
3.7.rst Loading commit data...
changelog.rst Loading commit data...
index.rst Loading commit data...