|
Original |
Translation |
|
2837
|
(Contributed by Gregory Smith.)
|
|
|
2838
|
The :mod:`logging` module now implements a simple :class:`logging.NullHandler` class for applications that are not using logging but are calling library code that does. Setting-up a null handler will suppress spurious warnings such as "No handlers could be found for logger foo"::
|
|
|
2839
|
>>> h = logging.NullHandler() >>> logging.getLogger("foo").addHandler(h)
|
|
|
2840
|
(Contributed by Vinay Sajip; :issue:`4384`).
|
|
|
2841
|
|
2842
|
(Contributed by Andi Vajda; :issue:`4195`.)
|
|
|
2843
|
The :mod:`pdb` module can now access and display source code loaded via :mod:`zipimport` (or any other conformant :pep:`302` loader).
|
|
|
2844
|
(Contributed by Alexander Belopolsky; :issue:`4201`.)
|
|
|
2845
|
:class:`functools.partial` objects can now be pickled.
|
|
|
2846
|
(Suggested by Antoine Pitrou and Jesse Noller. Implemented by Jack Diedrich; :issue:`5228`.)
|
|