Vadim Lebedev
5f94da7c4d
Fix version function
2 years ago
Vadim Lebedev
e2a0d6e336
Compile flag fixes
2 years ago
Vadim Lebedev
e11c498291
Fixes for version number verification
2 years ago
Vadim Lebedev
5aa191626e
Fixes to build instruction
2 years ago
Vadim Lebedev
794ef1cb17
cosmetics
2 years ago
Vadim Lebedev
c5e562d4cd
Fix exception text
2 years ago
Vadim Lebedev
546d89852e
open archive in binary mode
2 years ago
Vadim Lebedev
855dc86d1d
is_archive: Avoid closing a file not opened by is_archive
2 years ago
Vadim Lebedev
f38459c730
Fix archive element closing
2 years ago
Vadim Lebedev
9c0f6391e0
fixes archive_read_data_into_str to return python byte array
2 years ago
Vadim Lebedev
35a412ac1f
Fix SWIG helper functions
2 years ago
Vadim Lebedev
e66c2a24f3
Add SONAME to .so file
2 years ago
Vadim Lebedev
0c5afe44e7
Fixes to handle password protected archives
2 years ago
Vadim Lebedev
b95ad6fd05
Fixes for wraper rule
2 years ago
Vadim Lebedev
731e119197
upgrade archive write support
2 years ago
Vadim Lebedev
9bb3133f6e
Add password support for read access
2 years ago
Richard Young
32a2fa4fb7
switched to python 3.9
3 years ago
Richard Young
f78b6717ac
stuff
3 years ago
Richard Young
8aded1ab98
work
3 years ago
Richard Young
f35ce39dfe
stuff
3 years ago
Richard Young
08db5d3f6e
fixes
3 years ago
Richard Young
a5f43e4a58
Attempt to fix API for 3.10 compatibility
3 years ago
Richard Young
4729258a40
Change default python version to the version I'm using
3 years ago
Richard Young
22d911afef
symlink api
3 years ago
Richard Young
08704fd4eb
wip
3 years ago
Richard Young
1d1a212df1
hacking in some more api
3 years ago
Richard Young
e9597eaa2a
additional api
3 years ago
Rich Young
2cffae8dcd
symlink
3 years ago
Aaron Sierra
fcead6fb1d
Handle file-like objects with integer name attribute
When io.BufferedReader (and others) are init-ed based on a file
descriptor, their name attribute will be an integer. Handle these
objects by explicitly checking for an integer type in guess_format() and
setting sane values (empty strings).
We don't trap an exception because Python 2 and 3 throw different types;
AttributeError and TypeError, respectively. So, this way seemed cleaner.
5 years ago
Aaron Sierra
bdedb5d597
Fix Python 2 pathname type set by from_archive()
A trailing comma resulted in Entry.pathname being a tuple instead
of a string when using Entry.from_archive() in Python 2.
This partially reverts 5013165958
("Fix tests for python 2 and 3"),
which accounted for Entry.pathname as a tuple, instead of addressing why
it had become one.
This also adds whitespace around the assignment operator for Python 2
and 3 to look less like a keyword argument assignment (which appears to
be where the comma originally came from).
5 years ago
Jessica Hair
c9f15fef84
Check if data is already bytes
5 years ago
Clifton Barnes
5013165958
Fix tests for python 2 and 3
5 years ago
Clifton Barnes
311a559c9c
Fix compilation procedure
5 years ago
Jessica Hair
bfe92166e5
Use open instead of file
5 years ago
Jessica Hair
2205c003d7
Use unicode instead of string in variable names
5 years ago
Jessica Hair
52b97691e0
Remove PyString and use PyUnicode
5 years ago
Jessica Hair
cdb7e6750a
Update to python 3
5 years ago
Travis Cunningham
b208154939
Fixed test for writing directories.
10 years ago
Ryan Johnston
eeb95116cc
Add option to set mode to folder.
Add option to set mode to folder.
10 years ago
Travis Cunningham
5b97a9d780
Added travis ci
10 years ago
root
bfc45cb236
Fixed the file mode not reading the correct integer value
10 years ago