Skip to content
Permalink
Branch: master
Commits on Dec 14, 2019
  1. bpo-39035: travis: Don't use beta group (GH-17602)

    methane committed Dec 14, 2019
  2. Add PYTHONUTF8 to commandline usage. (GH-17587)

    methane and vstinner committed Dec 14, 2019
    Co-Authored-By: Victor Stinner <vstinner@python.org>
Commits on Dec 4, 2019
Commits on Nov 27, 2019
  1. bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400)

    methane and serhiy-storchaka committed Nov 27, 2019
    SpooledTemporaryFile.rollback() might cause data corruption
    when it is in text mode.
    
    Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
Commits on Nov 7, 2019
  1. bpo-38613: Optimize set operations of dict keys. (GH-16961)

    methane committed Nov 7, 2019
Commits on Oct 17, 2019
Commits on Sep 5, 2019
  1. bpo-38026: fix inspect.getattr_static (GH-15676)

    methane committed Sep 5, 2019
    It should avoid dynamic lookup including `isinstance`.
    
    This is a regression caused by GH-5351.
Commits on Aug 31, 2019
  1. bpo-37990: fix gc stats (GH-15626)

    methane committed Aug 31, 2019
Commits on Aug 30, 2019
  1. bpo-37781: use "z" for PY_FORMAT_SIZE_T (GH-15156)

    methane committed Aug 30, 2019
    MSVC 2015 supports %zd / %zu.  "z" is portable enough nowadays.
Commits on Aug 27, 2019
  1. bpo-37328: remove deprecated HTMLParser.unescape (GH-14186)

    methane committed Aug 27, 2019
    It is deprecated since Python 3.4.
Commits on Aug 26, 2019
  1. bpo-37055: fix warnings in _blake2 module (GH-14646)

    methane authored and miss-islington committed Aug 26, 2019
Commits on Aug 8, 2019
  1. bpo-37587: optimize json.loads (GH-15134)

    methane committed Aug 8, 2019
    Use a tighter scope temporary variable to help register allocation.
    1% speedup for large string.
    
    Use PyDict_SetItemDefault() for memoizing keys.
    At most 4% speedup when the cache hit ratio is low.
Commits on Aug 2, 2019
  1. bpo-37729: gc: write stats at once (GH-15050)

    methane committed Aug 2, 2019
    gc used several PySys_WriteStderr() calls to write stats.
    It caused stats mixed up when stderr is shared by multiple
    processes like this:
    
      gc: collecting generation 2...
      gc: objects in each generation: 0 0gc: collecting generation 2...
      gc: objects in each generation: 0 0 126077 126077
      gc: objects in permanent generation: 0
    
      gc: objects in permanent generation: 0
      gc: done, 112575 unreachable, 0 uncollectablegc: done, 112575 unreachable, 0 uncollectable, 0.2223s elapsed
      , 0.2344s elapsed
Commits on Jul 26, 2019
  1. bpo-37340: remove free_list for bound method objects (GH-14232)

    methane committed Jul 26, 2019
Commits on Jul 17, 2019
  1. bpo-37543: optimize pymalloc (#14674)

    methane committed Jul 17, 2019
    PyObject_Malloc() and PyObject_Free() inlines pymalloc_alloc and
    pymalloc_free partially.
    But when PGO is not used, compiler don't know where is the hot part
    in pymalloc_alloc and pymalloc_free.
Commits on Jun 27, 2019
  1. bpo-30345: travis: use -Og with --with-pydebug (GH-14423)

    methane committed Jun 27, 2019
Commits on Jun 24, 2019
  1. bpo-37348: optimize decoding ASCII string (GH-14283)

    methane committed Jun 24, 2019
    `_PyUnicode_Writer` is a relatively complex structure.  Initializing it is significant overhead when decoding short ASCII string.
Commits on Jun 6, 2019
  1. bpo-35551: remove mac_centeuro encoding (GH-13856)

    methane committed Jun 6, 2019
    It is alias to mac_latin2 now.
Commits on Jun 3, 2019
  1. bpo-37146: disable opcache when Py_DEBUG is defined (GH-13787)

    methane authored and vstinner committed Jun 3, 2019
    --with-pydebug is commonly used to find memory leaks.
    But opcache makes it harder.
    So disable opcache when Py_DEBUG is defined.
  2. bpo-26219: remove unused code (GH-13775)

    methane committed Jun 3, 2019
    This code was for deoptimization, which is removed from
    PR-12884.
  3. bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)

    methane committed Jun 3, 2019
    This patch implements per opcode cache mechanism, and use it in
    only LOAD_GLOBAL opcode.
    
    Based on Yury's opcache3.patch in bpo-26219.
Commits on May 30, 2019
  1. autoreconf (GH-13651)

    methane committed May 30, 2019
Commits on May 29, 2019
  1. remove unnecessary tp_dealloc (GH-13647)

    methane committed May 29, 2019
Commits on May 28, 2019
Commits on May 16, 2019
Commits on May 14, 2019
  1. bpo-27987: pymalloc: align by 16bytes on 64bit platform (GH-12850)

    methane committed May 14, 2019
Commits on May 5, 2019
  1. simplify StartupImportTests (GH-13096)

    methane committed May 5, 2019
    _osx_support and copyreg are not imported from site on macOS for now.
Commits on Apr 23, 2019
  1. fix warnings by adding more const (GH-12924)

    methane committed Apr 23, 2019
Commits on Apr 19, 2019
  1. ctypes: remove use of legacy unicode API (GH-12340)

    methane committed Apr 19, 2019
    PyUnicode_AsUnicodeAndSize() -> PyUnicode_AsWideChar()
Commits on Apr 16, 2019
  1. bpo-36642: make unicodedata const (GH-12855)

    methane committed Apr 16, 2019
  2. bpo-36641: Add "const" to PyDoc_VAR macro (GH-12854)

    methane committed Apr 16, 2019
    It reduces "data" segment in python about 200KB.
Commits on Apr 15, 2019
  1. bpo-27860: ipaddress: fix Interface missed some attributes (GH-12836)

    methane committed Apr 15, 2019
    IPv4Interface and IPv6Interface did not has netmask and hostmask
    attributes when its argument is bytes or int.
    
    This commit extracts method for constructors of Network and Interface,
    and ensure Interface class always provides them.
  2. Doc: update PendingDeprecationWarning explanation (GH-12837)

    methane authored and ncoghlan committed Apr 15, 2019
    Keep the nudge towards DeprecationWarning, but remove the
    "Note" markup and generally shorten the description.
    
    Ref: https://github.com/python/cpython/pull/12505/files#r273978757
  3. bpo-27860: use cached_property (GH-12832)

    methane committed Apr 15, 2019
    * cached_property is more efficient than hand crafted cache.
    * In IPv[46]Network, `self.network.prefixlen` is same to `self._prefixlen`.
Commits on Apr 13, 2019
  1. Doc: define PY_SSIZE_T_CLEAN always (GH-12794)

    methane committed Apr 13, 2019
Older
You can’t perform that action at this time.