summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch '2165-int' into 3.0Jeff Forcier2023-01-162-3/+5
|\
| * Improve performance by reducing expensive bytes conversionAlex Gaynor2023-01-102-3/+5
| | | | | | | | | | | | In two core parts of the codebase, complex type-switch based code is used to convert a value to bytes. However, in all cases (except for one, fixed in this PR), the caller is specifying a Message instance. We can make this code much simpler by directly calling the correct method on Message. In #2110 this is measured to massively speed up large SFTP transfers.
* | Stop ignoring warnings in the test suite for nowJeff Forcier2023-01-161-4/+0
| | | | | | | | | | | | | | | | Most of what we put this in for is gone as we now use newer versions of most dependencies. The few that remain are acceptable levels of noise or only on certain versions (eg py36).
* | Break up a big int literalJeff Forcier2023-01-161-2/+2
| | | | | | | | | | | | We could do this on a LOT of hex and similar literals, but that's a lot of work for little gain, let's just do that organically over time instead.
* | Nuke retry_on_signal, pointless on modern Py3Jeff Forcier2023-01-167-62/+16
| | | | | | | | | | Additionally, other bits of code that retry EINTR can similarly just go away.
* | Stop stripping ProxyCommand none, make it NoneJeff Forcier2023-01-163-16/+23
| | | | | | | | | | Also apparently the old, old test for this had the wrong issue number in it :(
* | flake8Jeff Forcier2023-01-161-1/+0
| |
* | Nuke unused private methodJeff Forcier2023-01-161-4/+0
| |
* | Punt a bunch of backwards incompatible TODOs to 4.0Jeff Forcier2023-01-165-8/+8
| |
* | Nuke now extraneous chmodJeff Forcier2023-01-163-5/+9
| |
* | Switch an os.open call to use kwargs now that we're py3 onlyJeff Forcier2023-01-161-8/+14
| | | | | | | | Also shuffle comments around to be more local to subjects.
* | blackenJeff Forcier2023-01-164-19/+9
| |
* | well that's just super()!Jeff Forcier2023-01-169-12/+12
| |
* | No more (object)ionsJeff Forcier2023-01-1634-61/+61
| |
* | s/%/fstrings/gJeff Forcier2023-01-168-72/+71
| | | | | | | | Except in one spot where it was too complicated to bother for now XD
* | Twiddle a test to not shadow hex builtin (and nuke %)Jeff Forcier2023-01-161-3/+3
| |
* | Invoke 2 is now outJeff Forcier2023-01-161-2/+1
| |
* | flake8/blackJeff Forcier2023-01-132-2/+3
| |
* | No more PKey.__cmp__Jeff Forcier2023-01-122-18/+5
| |
* | Can't actually use a set here as it will destroy orderingJeff Forcier2023-01-121-1/+0
| |
* | Swap around __bytes__/__str__ for some classesJeff Forcier2023-01-124-5/+17
| | | | | | | | Plus related updates to tests, docstrings, changelog
* | Start fixing up blatantly wrong-under-py3 docstring typesJeff Forcier2023-01-126-41/+51
| |
* | Upcoming alabaster release with modern sphinx stylesheet fixJeff Forcier2023-01-121-1/+1
| |
* | Modern sphinx autodoc settingsJeff Forcier2023-01-121-1/+4
| |
* | We live in the future nowJeff Forcier2023-01-125-5/+0
| |
* | Update a bunch of no/low impact python2/3 references/commentsJeff Forcier2023-01-125-19/+11
| |
* | No need for passthru dunder-init in Py3-only dict subclasses yeyJeff Forcier2023-01-121-5/+0
| |
* | Nix setup.cfgJeff Forcier2023-01-122-8/+1
| |
* | Last spot of six removalJeff Forcier2023-01-121-3/+2
| |
* | flake8Jeff Forcier2023-01-114-4/+2
| |
* | blackenJeff Forcier2023-01-1120-58/+73
| |
* | Missed a spot re: b,u helpers now in utilJeff Forcier2023-01-111-0/+1
| |
* | No idea when self.fail worked or didn't. old code is old?Jeff Forcier2023-01-111-8/+3
| |
* | Import shuffleJeff Forcier2023-01-111-1/+1
| |
* | Put back the old faux-long(), kinda, in a few spots onlyJeff Forcier2023-01-114-7/+25
| |
* | Set up icecream in test harnessJeff Forcier2023-01-101-0/+6
| |
* | Nix old todoJeff Forcier2023-01-101-4/+0
|/
* Oh right that's why I had specific pins hereJeff Forcier2023-01-091-1/+3
|
* Some semi-missed removals of 'long'Jeff Forcier2023-01-094-9/+5
| | | | | | | - a couple spots where we wrote longs as int64 and ints as int. I _think_ the right thing to do here is write all ints as int64 given how Python handles these under 3. - docs bits
* s/mock/unittest.mock/gJeff Forcier2023-01-097-7/+7
|
* py3compat.strftime -> time.strftimeJeff Forcier2023-01-091-3/+2
|
* Nuke outdated todoJeff Forcier2023-01-091-1/+0
|
* nuke py3compat.inputJeff Forcier2023-01-091-1/+0
|
* Remove sys.version_info checksJeff Forcier2023-01-093-17/+2
|
* Update encode/decodebytesJeff Forcier2023-01-093-3/+3
|
* py3compat.bytes -> builtin or literal dependingJeff Forcier2023-01-092-4/+2
|
* py3compat.builtins -> stdlib builtinsJeff Forcier2023-01-092-2/+2
|
* text_type -> strJeff Forcier2023-01-091-2/+1
|
* bytes_types -> bytesJeff Forcier2023-01-093-9/+7
|
* string_types -> strJeff Forcier2023-01-096-16/+12
|