Skip to content

Commit cfa5b14

Browse files
author
Pan
committed
Updated session functions, some channel functions for specific exception handling.
Added exception handling failure tests for session functions, channel pty. Updated changelog.
1 parent eeba9c1 commit cfa5b14

File tree

17 files changed

+2356
-2043
lines changed

17 files changed

+2356
-2043
lines changed

Changelog.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
Change Log
22
=============
33

4+
0.12.0
5+
++++++++
6+
7+
Changes
8+
---------
9+
10+
* Session functions now raise exceptions.
11+
* Channel functions now raise specific exceptions.
12+
* Added exceptions for all known libssh2 error codes.
13+
* Added ``ssh2.utils.handle_error_codes`` function for raising appropriate exception from error code.
14+
415
0.11.0
516
+++++++
617

doc/api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ API Documentation
1414
exceptions
1515
statinfo
1616
fileinfo
17+
utils

doc/utils.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Utility Functions
2+
===================
3+
4+
.. automodule:: ssh2.utils
5+
:members:
6+
:undoc-members:
7+
:member-order: groupwise

0 commit comments

Comments
 (0)