Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start testing with Python 3.13
- Loading branch information
Showing
111 changed files
with
3,524 additions
and
2,369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2012-2022 Vinay Sajip. | ||
# Copyright (C) 2012-2023 Vinay Sajip. | ||
# Licensed to the Python Software Foundation under a contributor agreement. | ||
# See LICENSE.txt and CONTRIBUTORS.txt. | ||
# | ||
import logging | ||
|
||
__version__ = '0.3.6' | ||
__version__ = '0.3.8' | ||
|
||
|
||
class DistlibException(Exception): | ||
pass | ||
|
||
|
||
try: | ||
from logging import NullHandler | ||
except ImportError: # pragma: no cover | ||
except ImportError: # pragma: no cover | ||
|
||
class NullHandler(logging.Handler): | ||
def handle(self, record): pass | ||
def emit(self, record): pass | ||
def createLock(self): self.lock = None | ||
|
||
def handle(self, record): | ||
pass | ||
|
||
def emit(self, record): | ||
pass | ||
|
||
def createLock(self): | ||
self.lock = None | ||
|
||
|
||
logger = logging.getLogger(__name__) | ||
logger.addHandler(NullHandler()) |
Oops, something went wrong.