diff options
Diffstat (limited to 'PKG-INFO')
-rw-r--r-- | PKG-INFO | 41 |
1 files changed, 25 insertions, 16 deletions
@@ -1,11 +1,14 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: tblib -Version: 1.3.2 +Version: 1.4.0 Summary: Traceback serialization library. Home-page: https://github.com/ionelmc/python-tblib Author: Ionel Cristian Mărieș Author-email: contact@ionelmc.ro -License: BSD +License: BSD 2-Clause License +Project-URL: Documentation, https://python-tblib.readthedocs.io/ +Project-URL: Changelog, https://python-tblib.readthedocs.io/en/latest/changelog.html +Project-URL: Issue Tracker, https://github.com/ionelmc/python-tblib/issues Description: ======== Overview ======== @@ -94,13 +97,13 @@ Description: ======== :: >>> pickle.loads(s1) - (<...Exception'>, Exception('fail',), <traceback object at ...>) + (<...Exception'>, Exception('fail'...), <traceback object at ...>) >>> pickle.loads(s2) - (<...Exception'>, Exception('fail',), <traceback object at ...>) + (<...Exception'>, Exception('fail'...), <traceback object at ...>) >>> pickle.loads(s3) - (<...Exception'>, Exception('fail',), <traceback object at ...>) + (<...Exception'>, Exception('fail'...), <traceback object at ...>) Raising ~~~~~~~ @@ -435,18 +438,14 @@ Description: ======== raise Exception('fail') Exception: fail - How's this useful ? Imagine you're using multiprocessing like this:: + How's this useful? Imagine you're using multiprocessing like this:: + # Note that Python 3.4 and later will show the remote traceback (but as a string sadly) so we skip testing this. >>> import traceback >>> from multiprocessing import Pool >>> from examples import func_a - >>> if sys.version_info[:2] >= (3, 4): - ... import multiprocessing.pool - ... # Undo the fix for http://bugs.python.org/issue13831 so that we can see the effects of our change. - ... # because Python 3.4 will show the remote traceback (but as a string sadly) - ... multiprocessing.pool.ExceptionWithTraceback = lambda e, t: e - >>> pool = Pool() - >>> try: + >>> pool = Pool() # doctest: +SKIP + >>> try: # doctest: +SKIP ... for i in pool.map(func_a, range(5)): ... print(i) ... except: @@ -461,7 +460,7 @@ Description: ======== ... Exception: Guessing time ! <BLANKLINE> - >>> pool.terminate() + >>> pool.terminate() # doctest: +SKIP Not very useful is it? Let's sort this out:: @@ -579,6 +578,14 @@ Description: ======== Changelog ========= + 1.4.0 (2019-05-02) + ~~~~~~~~~~~~~~~~~~ + + * Remove support for end of life Python 3.3. + * Fixed tests for Python 3.7. Contributed by Elliott Sales de Andrade in + `#36 <https://github.com/ionelmc/python-tblib/issues/36>`_. + * Fixed compatibility issue with Twised (``twisted.python.failure.Failure`` expected a ``co_code`` attribute). + 1.3.2 (2017-04-09) ~~~~~~~~~~~~~~~~~~ @@ -616,6 +623,7 @@ Description: ======== * Added ``to_dict`` method and ``from_dict`` classmethod on Tracebacks. Contributed by beckjake in `#5 <https://github.com/ionelmc/python-tblib/pull/5>`_. +Keywords: traceback,debugging,exceptions Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers @@ -626,10 +634,11 @@ Classifier: Operating System :: Microsoft :: Windows Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Utilities +Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* |