Commit Graph

844 Commits

Author SHA1 Message Date
Jean-Paul Calderone
198de5c648 Hoist the sys.stdout import to top level 2021-09-22 15:53:56 -04:00
Jean-Paul Calderone
87113d6a13 Merge remote-tracking branch 'origin/master' into 3525.test_status-no-mock 2021-09-20 07:14:02 -04:00
Jean-Paul Calderone
3e3fd1aa75 on Windows, Python 3 wants to play 2021-09-08 14:25:30 -04:00
Jean-Paul Calderone
88d3ee5785 debug print 2021-09-08 13:43:47 -04:00
Jean-Paul Calderone
8ca1f8c335 Python 3 is grumpy that it doesn't get to play
Fool it
2021-09-07 16:19:15 -04:00
Jean-Paul Calderone
24e7dcfcd8 Let me write unicode to stdout on Python 2 2021-09-07 16:10:10 -04:00
Jean-Paul Calderone
4db8c2209b lint 2021-09-07 15:17:18 -04:00
fenn-cs
cb81e13462 Merged masted
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-31 12:17:20 +01:00
fenn-cs
342a1c2c31 Python 3 support complete, so removed warning
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-29 16:10:30 +01:00
Jean-Paul Calderone
acc8cbd28b Remove use of the mock module from test_status 2021-08-12 16:50:01 -04:00
Jean-Paul Calderone
893d21fcbb Fix the UsageError closer in the Py2 codepath we already have for it 2021-08-11 16:46:29 -04:00
Jean-Paul Calderone
b56a956843 Sort out this gross error reporting encoding/decoding mess
A little, anyway
2021-08-11 15:42:21 -04:00
Jean-Paul Calderone
13dae392cb Go with a shorter name 2021-08-11 14:41:18 -04:00
Jean-Paul Calderone
6931d10ace Fix mis-merge: use argv parameter instead of sys.argv 2021-08-11 14:40:22 -04:00
Jean-Paul Calderone
fd3d3bc688 Give the py3 static checker something to resolve unicode to
It's pretty much just a bug in the static checker. :/
2021-08-11 14:27:21 -04:00
Jean-Paul Calderone
d56c218586 Options are defined with unicode now; argv better be unicode. 2021-08-11 14:25:24 -04:00
Jean-Paul Calderone
5f6ae1f8f5 Fix mis-merge: don't try to stripe argv[0] twice 2021-08-11 13:30:52 -04:00
Jean-Paul Calderone
ffbcbf78a7 Send the warning to the parameterized stderr 2021-08-11 13:30:39 -04:00
Jean-Paul Calderone
9632b35abe Fix mismerge: Put Py3 warning back 2021-08-11 13:19:15 -04:00
Jean-Paul Calderone
66d40527d1 Merge remote-tracking branch 'origin/master' into 3528.test_cli-no-mock 2021-08-11 12:56:00 -04:00
Itamar Turner-Trauring
83b4fb88f4
Merge pull request #1085 from tahoe-lafs/3738.failing-unicode-upload-regression-python-2
Fix bug where uploading files with Unicode filenames failed on Python 2

Fixes ticket:3738
2021-06-23 09:04:31 -04:00
Itamar Turner-Trauring
f778d25c44 Apply same fix to success path. 2021-06-15 14:05:49 -04:00
Itamar Turner-Trauring
e8308043e3 Method that doesn't break on Python 3. 2021-06-15 14:03:58 -04:00
Itamar Turner-Trauring
3461665ccf Get rid of annoying warning. 2021-06-15 13:56:34 -04:00
Itamar Turner-Trauring
d74ef0798d Fix quoting to work on Python 2. 2021-06-15 13:46:22 -04:00
Itamar Turner-Trauring
f48cf88f35 Fix flake. 2021-06-03 09:45:29 -04:00
Itamar Turner-Trauring
293cea6fd2 Port to Python 3. 2021-06-03 09:40:11 -04:00
Itamar Turner-Trauring
279d6b6542 Port to Python 3. 2021-06-03 09:39:13 -04:00
Itamar Turner-Trauring
cb1e591c6e Port to Python 3. 2021-06-03 09:37:59 -04:00
Itamar Turner-Trauring
77676c1648 Port to Python 3. 2021-06-03 09:36:22 -04:00
Itamar Turner-Trauring
cf68f55039 Port to Python 3. 2021-06-03 09:34:42 -04:00
Itamar Turner-Trauring
58d6f9f6cf Port to Python 3. 2021-06-03 09:28:10 -04:00
Itamar Turner-Trauring
53482dd8ac Port to Python 3. 2021-06-03 09:26:24 -04:00
Itamar Turner-Trauring
a910ebcc8a Fix flakes. 2021-06-02 11:31:32 -04:00
Itamar Turner-Trauring
defe16f912 Port to Python 3. 2021-06-02 11:30:19 -04:00
Itamar Turner-Trauring
9804a44c50 Port to Python 3. 2021-06-02 11:19:45 -04:00
Itamar Turner-Trauring
61fdea9043 Port to Python 3. 2021-06-02 10:19:30 -04:00
Itamar Turner-Trauring
9d5f1ad735 Port to Python 3. 2021-06-02 10:14:59 -04:00
Itamar Turner-Trauring
464b7055c2 Port to Python 3. 2021-06-02 10:12:05 -04:00
Itamar Turner-Trauring
a0744ffa8c Don't shadow builtin. 2021-06-02 09:54:57 -04:00
Itamar Turner-Trauring
43138d16d1 Merge branch '3716.allmydata-scripts-python-3-part-1' into 3718.allmydata-scripts-python-3-part-2 2021-05-28 11:28:23 -04:00
Itamar Turner-Trauring
64f6ccd17f Make --exclude-from behavior consistent, at the cost of a minor incompatibility. 2021-05-28 09:53:28 -04:00
Itamar Turner-Trauring
d78e9d891d Passing test. 2021-05-27 11:40:59 -04:00
Itamar Turner-Trauring
827e2e1d03 Merge remote-tracking branch 'origin/master' into 3716.allmydata-scripts-python-3-part-1 2021-05-26 15:06:01 -04:00
Itamar Turner-Trauring
bb74b7fe0c Note this code is buggy. 2021-05-21 11:01:00 -04:00
Itamar Turner-Trauring
f73f601f67 Port to Python 3. 2021-05-17 10:35:16 -04:00
Itamar Turner-Trauring
693e98e3a7 Port to Python 3. 2021-05-17 10:05:44 -04:00
Itamar Turner-Trauring
1b87312652 Port to Python 3. 2021-05-17 09:58:59 -04:00
Itamar Turner-Trauring
bf133be195 Port to Python 3. 2021-05-17 09:56:13 -04:00
Itamar Turner-Trauring
1e0bf545ba Port to Python 3. 2021-05-17 09:47:07 -04:00