1. 27 Kas, 2017 5 kayıt (commit)
    • Ned Deily's avatar
      Revert "bpo-30487: automatically create a venv and install Sphinx when running… · 122fc136
      Ned Deily yazdı
      Revert "bpo-30487: automatically create a venv and install Sphinx when running make (GH-4346)" (#4592)
      
      Fix breakage documented in bpo-32149.
      This reverts commit d8d6b912.
      122fc136
    • Barry Warsaw's avatar
      bpo-32107 - Better merge of #4494 (#4576) · 9522a218
      Barry Warsaw yazdı
      Improve UUID1 MAC address calculation and related tests.
      
      There are two bits in the MAC address that are relevant to UUID1.  The first is the locally administered vs. universally administered bit (second least significant of the first octet).   Physical network interfaces such as ethernet ports and wireless adapters will always be universally administered, but some interfaces --such as the interface that MacBook Pros communicate with their Touch Bars-- are locally administered.  The former are guaranteed to be globally unique, while the latter are demonstrably *not* globally unique and are in fact the same on every MBP with a Touch Bar.  With this bit is set, the MAC is locally administered; with it unset it is universally administered.
      
      The other bit is the multicast bit (least significant bit of the first octet).  When no other MAC address can be found, RFC 4122 mandates that a random 48-bit number be generated.  This randomly generated number *must* have the multicast bit set.
      
      The improvements in uuid.py include:
      
      * Preferentially return a universally administered MAC address, falling back to a locally administered address if none of the former can be found.
      * Improve several coding style issues, such as adding explicit returns of None, using a more readable bitmask pattern, and assuming that the ultimate fallback, random MAC generation will not fail (and propagating any exception there instead of swallowing them).
      
      Improvements in test_uuid.py include:
      
      * Always testing the calculated MAC for universal administration, unless explicitly disabled (i.e. for the random case), or implicitly disabled due to running in the Travis environment.  Travis test machines have *no* universally administered MAC address at the time of this writing.
      9522a218
    • Victor Stinner's avatar
      bpo-27535: Fix memory leak with warnings ignore (#4489) · c9758784
      Victor Stinner yazdı
      The warnings module doesn't leak memory anymore in the hidden
      warnings registry for the "ignore" action of warnings filters.
      
      The warn_explicit() function doesn't add the warning key to the
      registry anymore for the "ignore" action.
      c9758784
    • Victor Stinner's avatar
      bpo-32089: Use default action for ResourceWarning (#4584) · 21c77307
      Victor Stinner yazdı
      In development and debug mode, use the "default" action, rather than
      the "always" action, for ResourceWarning in the default warnings
      filters.
      21c77307
    • Jason Yang's avatar
  2. 26 Kas, 2017 6 kayıt (commit)
  3. 25 Kas, 2017 10 kayıt (commit)
  4. 24 Kas, 2017 12 kayıt (commit)
  5. 23 Kas, 2017 7 kayıt (commit)