Sei Lisa
f854e94349
New copyright year
2024-04-14 11:40:21 +02:00
Sei Lisa
500a8bb751
llHMAC implementation (without importing hmac)
2023-04-09 11:08:20 +02:00
Sei Lisa
231c16b90e
New copyright year
2023-02-03 13:06:18 +01:00
Sei Lisa
dc655e3501
Monkey-patch some string functions in narrow string builds
...
The official distribution of Python 2.7 on Windows is built with "narrow strings" (UTF-16 strings with no proper indexing or length). This makes some tests fail. "Fix" this by monkey-patching a few functions and using a wrapping unicode class, as we can't monkey-patch the actual unicode type.
This is very fragile code, but it's the best we could do given the limitations.
2022-12-11 23:22:42 +01:00
Sei Lisa
8d413f910e
Forgot to update copyright year
2022-06-07 19:46:31 +02:00
Sei Lisa
81906475ff
Update copyright year
2021-01-05 23:27:21 +01:00
Sei Lisa
dde9577cea
Additions for strutil: xrange, python2, python3, any2str
...
Also output to stderr with str instead of unicode.
2020-11-09 02:12:29 +01:00
Sei Lisa
d9938f1a37
Misc small non-user-visible fixes
...
Some are Unicode vs Str stuff, others are style adjustments, others in unused functions, and so on.
2020-11-09 02:00:40 +01:00
Sei Lisa
234b9b23a3
Bump copyright year
2020-04-23 00:38:20 +02:00
Sei Lisa
f0068dd3bc
Style fixes
...
Calm pyflakes by using identifiers, and change hexversion to version.major.
2019-02-04 00:07:12 +01:00
Sei Lisa
09556d5fbc
'backslashreplace' makes no sense for str.decode()
2019-02-04 00:07:10 +01:00
Sei Lisa
65f217afa8
Fix codec problem on MSW
2019-01-31 11:51:55 +01:00
Sei Lisa
fe2dd9a721
First baby steps towards dual Python2+3 compatibility
2019-01-16 00:15:06 +01:00