Commit Graph

15 Commits

Author SHA1 Message Date
njessurun c0eb3267d2 Remove python 2 code paths 2021-08-02 12:07:25 -04:00
Kyle Sunden 6a59b7e5b5
Many unused import cleanups (#1935)
* Many unused import cleanups

Ignored some star imports, some vendored code in colorama, only looked within pyqtgraph the library, not e.g. examples

* SpinBox decimal imported with both import and from import
2021-07-31 07:35:23 -07:00
Martin Chase 1d40d50b89
push bullet lists over 2 spaces to get them to show up as such in the… (#1912)
* push bullet lists over 2 spaces to get them to show up as such in the docs

* separate the literal block from the bullet list
2021-07-21 07:12:35 -07:00
Ogi Moore 7c48233bfa Remove unreachable code 2021-04-25 21:36:23 -07:00
Luke Campagnola 7eb2bf6306 reload fix - don't reload files with no pyc 2020-07-17 09:54:51 +03:00
Luke Campagnola 268ba38543 docstring update 2020-07-13 15:31:47 -07:00
Luke Campagnola 5723853308 revert behavior: reload modules with no pyc
Should fix unit test. Also: return a structure from reloadAll describing reasons for failure of each module to reload.
2020-07-13 15:29:00 -07:00
Luke Campagnola 0bc186fe7d Fix reload to use mod.__cache__ to get name of pyc files 2020-07-13 12:43:11 -07:00
Kenneth Lyons faef56c3e7 Qulogic py3 fixes (#1073)
* py3k: Remove reduce calls.

* py3k: Remove compatibility sortList function.

Sorting by key has existed since Python 2.4.

* Remove unnecessary sys.path manipulation.

This file doesn't have any __main__ code to run anyway.

* Use context manager
2019-11-12 08:45:42 -08:00
ksunden 6a4e0a106f Add condition for namespace packages 2019-05-27 16:49:08 -05:00
Luke Campagnola 986ccb81f4 fix reload import 2018-04-26 13:28:51 -07:00
Luke Campagnola 60a48ed2e4 reload tests pass in python 3 2018-04-26 13:22:47 -07:00
Luke Campagnola 4b188c73b0 Add disconnect() and SignalBlock
- make it possible to retrieve previous versions of reloaded objects (needed by disconnect)
2017-09-06 09:09:35 -07:00
Luke Campagnola c5dd0f4f63 Fixed print statements for python 3 2013-01-12 14:35:32 -05:00
Luke Campagnola af59296231 Reorganized directory structure to be more standard
Started new SVG exporter
Merged updates from ACQ4
2012-12-25 00:43:31 -05:00