Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cut 3.1.03.1.0 | Jeff Forcier | 2023-03-10 | 1 | -1/+1 |
| | |||||
* | codespell | Jeff Forcier | 2023-03-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'main' into 2013-int | Jeff Forcier | 2023-03-10 | 10 | -37/+61 |
|\ | |||||
| * | flake8 re #2193 | Jeff Forcier | 2023-03-03 | 1 | -2/+2 |
| | | |||||
| * | Expand documentation on server agent handling. | Jamie Bliss | 2023-02-24 | 2 | -0/+17 |
| | | |||||
| * | hostkeys: update docstring for autdodoc per #2173 | Alex Chavkin | 2023-02-16 | 1 | -1/+2 |
| | | |||||
| * | Double quotes to pass style check | Alex Chavkin | 2023-02-16 | 1 | -1/+1 |
| | | |||||
| * | Split known_hosts fields on either a single space or tab | Alex Chavkin | 2023-02-16 | 1 | -1/+2 |
| | | |||||
| * | Split known host file entries on any whitespace | Alex Chavkin | 2023-02-16 | 1 | -1/+1 |
| | | | | | | | | | | | | (Not just a single space) OpenSSH is more permissive in documentation and code | ||||
| * | [DATALAD RUNCMD] Run codespell -w | Yaroslav Halchenko | 2023-01-24 | 6 | -13/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ | ||||
| * | Harmonize into *args from *larg, *largs | Yaroslav Halchenko | 2023-01-24 | 5 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initially spotted since 'larg' was picked up by codespell as something possibly to fix to become 'large'. But realized that it is just an inconsistency. Had various uses: ❯ git grep '\*arg\>' | nl 1 paramiko/sftp_client.py: def _request(self, t, *arg): 2 paramiko/sftp_client.py: num = self._async_request(type(None), t, *arg) 3 paramiko/sftp_client.py: def _async_request(self, fileobj, t, *arg): 4 paramiko/sftp_server.py: def _response(self, request_number, t, *arg): ❯ git grep '\*largs\>' | nl 1 paramiko/sftp_server.py: *largs, 2 paramiko/sftp_server.py: self.server = sftp_si(server, *largs, **kwargs) 3 paramiko/sftp_si.py: def __init__(self, server, *largs, **kwargs): 4 paramiko/sftp_si.py: super().__init__(*largs, **kwargs) ❯ git grep '\*larg\>' | nl 1 paramiko/server.py: handler = handler_class(channel, name, self, *larg, **kwarg) 2 paramiko/transport.py: def set_subsystem_handler(self, name, handler, *larg, **kwarg): in addition to more conventional ❯ git grep '\*args\>' | nl 1 paramiko/_winapi.py: super().__init__(*args) 2 paramiko/_winapi.py: def __init__(self, *args, **kwargs): 3 paramiko/_winapi.py: super().__init__(*args, **kwargs) 4 paramiko/auth_handler.py: def _log(self, *args): 5 paramiko/auth_handler.py: return self.transport._log(*args) 6 paramiko/channel.py: def _check(self, *args, **kwds): 7 paramiko/channel.py: return func(self, *args, **kwds) 8 paramiko/channel.py: def _log(self, level, msg, *args): 9 paramiko/channel.py: self.logger.log(level, "[chan " + self._name + "] " + msg, *args) 10 paramiko/sftp.py: def _log(self, level, msg, *args): 11 paramiko/sftp.py: self.logger.log(level, msg, *args) 12 paramiko/sftp_client.py: def _log(self, level, msg, *args): 13 paramiko/sftp_client.py: self._log(level, m, *args) 14 paramiko/transport.py: def _log(self, level, msg, *args): 15 paramiko/transport.py: self.logger.log(level, msg, *args) 16 tests/__init__.py: def _test_under_locale(testself, *args, **kwargs): 17 tests/__init__.py: return test_method(testself, *args, **kwargs) 18 tests/test_client.py: def __init__(self, *args, **kwargs): 19 tests/test_client.py: super().__init__(*args, **kwargs) 20 tests/test_config.py: def inner(command, *args, **kwargs): 21 tests/test_packetizer.py: def wrapper(*args, **kwargs): 22 tests/test_packetizer.py: result = func(*args, **kwargs) | ||||
| * | Massage SSHClient.connect exception-raising docstring | Jeff Forcier | 2023-01-20 | 1 | -8/+13 |
| | | | | | | | | | | | | | | | | | | - Sphinx Python domain can link to non-stdlib exception classes inside the `:raises:` fieldlist now! yay!! - Add explicit mention of 'can raise NoValidConnectionsError', which was never added when the latter was created. Was still technically correct (it is a subclass of socket.error) but that is not the best kind of correct, after all. | ||||
* | | Add timeout for opening an SSH channel | vakarisz | 2023-03-02 | 2 | -1/+8 |
|/ | |||||
* | Docstring and changelog tweaks, thanks @bskinn! | Jeff Forcier | 2023-01-20 | 2 | -2/+4 |
| | |||||
* | blacken | Jeff Forcier | 2023-01-18 | 1 | -1/+1 |
| | |||||
* | Handpick remaining-ly relevant changes from #2110 | Jeff Forcier | 2023-01-18 | 1 | -2/+2 |
| | | | | | | Also make 'em f-strings, which AFAIK should be comparable Closes #2110 | ||||
* | Merge branch '2165-int' into 3.0 | Jeff Forcier | 2023-01-16 | 2 | -3/+5 |
|\ | |||||
| * | Improve performance by reducing expensive bytes conversion | Alex Gaynor | 2023-01-10 | 2 | -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. | ||||
* | | Break up a big int literal | Jeff Forcier | 2023-01-16 | 1 | -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 Py3 | Jeff Forcier | 2023-01-16 | 5 | -28/+5 |
| | | | | | | | | | | Additionally, other bits of code that retry EINTR can similarly just go away. | ||||
* | | Stop stripping ProxyCommand none, make it None | Jeff Forcier | 2023-01-16 | 1 | -6/+2 |
| | | | | | | | | | | Also apparently the old, old test for this had the wrong issue number in it :( | ||||
* | | Nuke unused private method | Jeff Forcier | 2023-01-16 | 1 | -4/+0 |
| | | |||||
* | | Punt a bunch of backwards incompatible TODOs to 4.0 | Jeff Forcier | 2023-01-16 | 4 | -7/+7 |
| | | |||||
* | | Nuke now extraneous chmod | Jeff Forcier | 2023-01-16 | 1 | -2/+0 |
| | | |||||
* | | Switch an os.open call to use kwargs now that we're py3 only | Jeff Forcier | 2023-01-16 | 1 | -8/+14 |
| | | | | | | | | Also shuffle comments around to be more local to subjects. | ||||
* | | blacken | Jeff Forcier | 2023-01-16 | 1 | -6/+2 |
| | | |||||
* | | well that's just super()! | Jeff Forcier | 2023-01-16 | 6 | -9/+9 |
| | | |||||
* | | No more (object)ions | Jeff Forcier | 2023-01-16 | 26 | -40/+40 |
| | | |||||
* | | s/%/fstrings/g | Jeff Forcier | 2023-01-16 | 2 | -2/+2 |
| | | | | | | | | Except in one spot where it was too complicated to bother for now XD | ||||
* | | flake8/black | Jeff Forcier | 2023-01-13 | 2 | -2/+3 |
| | | |||||
* | | No more PKey.__cmp__ | Jeff Forcier | 2023-01-12 | 1 | -18/+0 |
| | | |||||
* | | Can't actually use a set here as it will destroy ordering | Jeff Forcier | 2023-01-12 | 1 | -1/+0 |
| | | |||||
* | | Swap around __bytes__/__str__ for some classes | Jeff Forcier | 2023-01-12 | 2 | -5/+3 |
| | | | | | | | | Plus related updates to tests, docstrings, changelog | ||||
* | | Start fixing up blatantly wrong-under-py3 docstring types | Jeff Forcier | 2023-01-12 | 6 | -41/+51 |
| | | |||||
* | | We live in the future now | Jeff Forcier | 2023-01-12 | 3 | -3/+0 |
| | | |||||
* | | Update a bunch of no/low impact python2/3 references/comments | Jeff Forcier | 2023-01-12 | 2 | -7/+4 |
| | | |||||
* | | No need for passthru dunder-init in Py3-only dict subclasses yey | Jeff Forcier | 2023-01-12 | 1 | -5/+0 |
| | | |||||
* | | Last spot of six removal | Jeff Forcier | 2023-01-12 | 1 | -3/+2 |
| | | |||||
* | | flake8 | Jeff Forcier | 2023-01-11 | 3 | -3/+2 |
| | | |||||
* | | blacken | Jeff Forcier | 2023-01-11 | 13 | -36/+52 |
| | | |||||
* | | Put back the old faux-long(), kinda, in a few spots only | Jeff Forcier | 2023-01-11 | 4 | -7/+25 |
|/ | |||||
* | Some semi-missed removals of 'long' | Jeff Forcier | 2023-01-09 | 4 | -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 | ||||
* | py3compat.strftime -> time.strftime | Jeff Forcier | 2023-01-09 | 1 | -3/+2 |
| | |||||
* | Nuke outdated todo | Jeff Forcier | 2023-01-09 | 1 | -1/+0 |
| | |||||
* | nuke py3compat.input | Jeff Forcier | 2023-01-09 | 1 | -1/+0 |
| | |||||
* | Remove sys.version_info checks | Jeff Forcier | 2023-01-09 | 2 | -8/+2 |
| | |||||
* | Update encode/decodebytes | Jeff Forcier | 2023-01-09 | 2 | -2/+2 |
| | |||||
* | py3compat.builtins -> stdlib builtins | Jeff Forcier | 2023-01-09 | 1 | -1/+1 |
| | |||||
* | text_type -> str | Jeff Forcier | 2023-01-09 | 1 | -2/+1 |
| | |||||
* | bytes_types -> bytes | Jeff Forcier | 2023-01-09 | 3 | -9/+7 |
| |