pyflyby 1.9.6__tar.gz → 1.9.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pyflyby might be problematic. Click here for more details.
- {pyflyby-1.9.6/lib/python/pyflyby.egg-info → pyflyby-1.9.7}/PKG-INFO +33 -1
- {pyflyby-1.9.6 → pyflyby-1.9.7}/README.rst +32 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/__init__.py +1 -0
- {pyflyby-1.9.6/lib/python → pyflyby-1.9.7/bin}/pyflyby/_importdb.py +1 -1
- pyflyby-1.9.7/bin/pyflyby/_saveframe.py +1074 -0
- {pyflyby-1.9.6/lib/python → pyflyby-1.9.7/bin}/pyflyby/_version.py +1 -1
- pyflyby-1.9.7/bin/saveframe +298 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/etc/pyflyby/common.py +1 -1
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/__init__.py +1 -0
- {pyflyby-1.9.6/bin → pyflyby-1.9.7/lib/python}/pyflyby/_importdb.py +1 -1
- pyflyby-1.9.7/lib/python/pyflyby/_saveframe.py +1074 -0
- {pyflyby-1.9.6/bin → pyflyby-1.9.7/lib/python}/pyflyby/_version.py +1 -1
- {pyflyby-1.9.6 → pyflyby-1.9.7/lib/python/pyflyby.egg-info}/PKG-INFO +33 -1
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby.egg-info/SOURCES.txt +4 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/setup.py +1 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_importdb.py +24 -0
- pyflyby-1.9.7/tests/test_saveframe.py +964 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/.pyflyby +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/LICENSE.txt +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/MANIFEST.in +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/autoipython +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/autopython +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/collect-exports +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/collect-imports +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/create-imports +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/find-import +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/list-bad-xrefs +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/prune-broken-imports +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/__main__.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_autoimp.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_cmdline.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_comms.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_dbg.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_docxref.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_dynimp.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_file.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_flags.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_format.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_idents.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_import_sorting.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_importclns.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_imports2s.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_importstmt.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_interactive.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_livepatch.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_log.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_modules.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_parse.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_py.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/_util.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/autoimport.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby/importdb.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/pyflyby-diff +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/reformat-imports +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/replace-star-imports +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/tidy-imports +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/bin/transform-imports +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/LICENSE.txt +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/Makefile +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/TODO.txt +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/__init__.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/api.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/autoimp.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/cmdline.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/comms.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/dbg.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/file.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/flags.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/format.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/idents.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/importclns.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/importdb.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/imports2s.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/importstmt.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/interactive.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/livepatch.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/log.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/modules.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/parse.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/py.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/api/util.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/autoipython.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/cli.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/collect_exports.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/collect_imports.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/find_import.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/prune_broken_imports.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/py.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/pyflyby_diff.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/reformat_imports.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/replace_star_imports.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/tidy_imports.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/cli/transform_imports.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/conf.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/index.rst +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/make.bat +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/doc/testing.txt +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/etc/pyflyby/canonical.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/etc/pyflyby/forget.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/etc/pyflyby/mandatory.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/etc/pyflyby/numpy.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/etc/pyflyby/std.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/emacs/pyflyby.el +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/__main__.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_autoimp.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_cmdline.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_comms.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_dbg.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_docxref.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_dynimp.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_file.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_flags.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_format.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_idents.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_import_sorting.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_importclns.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_imports2s.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_importstmt.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_interactive.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_livepatch.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_log.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_modules.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_parse.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_py.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/_util.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/autoimport.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby/importdb.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby.egg-info/dependency_links.txt +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby.egg-info/entry_points.txt +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby.egg-info/requires.txt +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/lib/python/pyflyby.egg-info/top_level.txt +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/libexec/pyflyby/colordiff +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/libexec/pyflyby/diff-colorize +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/pyproject.toml +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/setup.cfg +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/__init__.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_0testconfig.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_autoimp.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_cmdline.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_docxref.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_file.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_flags.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_format.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_idents.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_importclns.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_imports2s.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_importstmt.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_interactive.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_jupyterlab_pyflyby.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_livepatch.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_modules.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_parse.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_py.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/test_util.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/tests_sorts.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tests/xrefs.py +0 -0
- {pyflyby-1.9.6 → pyflyby-1.9.7}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyflyby
|
|
3
|
-
Version: 1.9.
|
|
3
|
+
Version: 1.9.7
|
|
4
4
|
Summary: pyflyby - Python development productivity tools, in particular automatic import management
|
|
5
5
|
Home-page: https://pypi.org/project/pyflyby/
|
|
6
6
|
Author: Karl Chen
|
|
@@ -481,6 +481,38 @@ Emacs support
|
|
|
481
481
|
- Pyflyby.el doesn't yet work with XEmacs; patches welcome.
|
|
482
482
|
|
|
483
483
|
|
|
484
|
+
saveframe: A utility for debugging / reproducing an issue
|
|
485
|
+
=========================================================
|
|
486
|
+
|
|
487
|
+
PyFlyBy provides a utility named **saveframe** which can be used to save
|
|
488
|
+
information for debugging / reproducing an issue.
|
|
489
|
+
|
|
490
|
+
**Usage**: If you have a piece of code or a script that is failing due an issue
|
|
491
|
+
originating from upstream code, and you cannot share your private code as a reproducer,
|
|
492
|
+
use this utility to save relevant information to a file. Share the generated file with
|
|
493
|
+
the upstream team, enabling them to reproduce and diagnose the issue independently.
|
|
494
|
+
|
|
495
|
+
**Information saved in the file**: This utility captures and saves *error stack frames*
|
|
496
|
+
to a file. It includes the values of local variables from each stack frame, as well
|
|
497
|
+
as metadata about each frame and the exception raised by your code.
|
|
498
|
+
|
|
499
|
+
This utility comes with 2 interfaces:
|
|
500
|
+
|
|
501
|
+
1. **A function**: For interactive usages such as IPython, Jupyter Notebook, or a
|
|
502
|
+
debugger (pdb/ipdb), use **pyflyby.saveframe** function. To know how to use this
|
|
503
|
+
function, checkout it's documentation:
|
|
504
|
+
|
|
505
|
+
.. code::
|
|
506
|
+
|
|
507
|
+
In [1]: saveframe?
|
|
508
|
+
|
|
509
|
+
2. **A script**: For cli usages (like a failing script), use **pyflyby/bin/saveframe**
|
|
510
|
+
script. To know how to use this script, checkout its documentation:
|
|
511
|
+
|
|
512
|
+
.. code::
|
|
513
|
+
|
|
514
|
+
$ saveframe --help
|
|
515
|
+
|
|
484
516
|
Authorship
|
|
485
517
|
==========
|
|
486
518
|
|
|
@@ -460,6 +460,38 @@ Emacs support
|
|
|
460
460
|
- Pyflyby.el doesn't yet work with XEmacs; patches welcome.
|
|
461
461
|
|
|
462
462
|
|
|
463
|
+
saveframe: A utility for debugging / reproducing an issue
|
|
464
|
+
=========================================================
|
|
465
|
+
|
|
466
|
+
PyFlyBy provides a utility named **saveframe** which can be used to save
|
|
467
|
+
information for debugging / reproducing an issue.
|
|
468
|
+
|
|
469
|
+
**Usage**: If you have a piece of code or a script that is failing due an issue
|
|
470
|
+
originating from upstream code, and you cannot share your private code as a reproducer,
|
|
471
|
+
use this utility to save relevant information to a file. Share the generated file with
|
|
472
|
+
the upstream team, enabling them to reproduce and diagnose the issue independently.
|
|
473
|
+
|
|
474
|
+
**Information saved in the file**: This utility captures and saves *error stack frames*
|
|
475
|
+
to a file. It includes the values of local variables from each stack frame, as well
|
|
476
|
+
as metadata about each frame and the exception raised by your code.
|
|
477
|
+
|
|
478
|
+
This utility comes with 2 interfaces:
|
|
479
|
+
|
|
480
|
+
1. **A function**: For interactive usages such as IPython, Jupyter Notebook, or a
|
|
481
|
+
debugger (pdb/ipdb), use **pyflyby.saveframe** function. To know how to use this
|
|
482
|
+
function, checkout it's documentation:
|
|
483
|
+
|
|
484
|
+
.. code::
|
|
485
|
+
|
|
486
|
+
In [1]: saveframe?
|
|
487
|
+
|
|
488
|
+
2. **A script**: For cli usages (like a failing script), use **pyflyby/bin/saveframe**
|
|
489
|
+
script. To know how to use this script, checkout its documentation:
|
|
490
|
+
|
|
491
|
+
.. code::
|
|
492
|
+
|
|
493
|
+
$ saveframe --help
|
|
494
|
+
|
|
463
495
|
Authorship
|
|
464
496
|
==========
|
|
465
497
|
|
|
@@ -32,6 +32,7 @@ from pyflyby._interactive import (disable_auto_importer,
|
|
|
32
32
|
from pyflyby._livepatch import livepatch, xreload
|
|
33
33
|
from pyflyby._log import logger
|
|
34
34
|
from pyflyby._parse import PythonBlock, PythonStatement
|
|
35
|
+
from pyflyby._saveframe import saveframe
|
|
35
36
|
from pyflyby._version import __version__
|
|
36
37
|
|
|
37
38
|
# Deprecated:
|