Maciej Fijalkowski
c178c55178
remove this import
2020-08-02 12:03:59 +02:00
Maciej Fijalkowski
bf37413e05
address the review (mostly)
2020-08-02 11:16:18 +02:00
Jean-Paul Calderone
27b6737eaf
Merge remote-tracking branch 'origin/master' into 3358.fileutil-to-python-3
...
with fijal
2020-07-30 13:38:47 -04:00
Maciej Fijalkowski
ecb3ee023d
add a dummy commit
2020-07-30 09:36:11 +02:00
Maciej Fijalkowski
7618b295cb
Revert "merge master (I think properly)"
...
This reverts commit 6140b5ff52
, reversing
changes made to da87bd7e7f
.
2020-07-30 09:29:20 +02:00
Maciej Fijalkowski
6140b5ff52
merge master (I think properly)
2020-07-29 21:09:23 +02:00
Maciej Fijalkowski
bfead0630d
leave a comment explaining why we removed open
2020-07-29 19:56:29 +02:00
Maciej Fijalkowski
724bf7de75
remove open from imported builtins
2020-07-29 19:56:01 +02:00
Itamar Turner-Trauring
9e4eda6912
Merge pull request #756 from tahoe-lafs/3359.statistics-python-3
...
Port statistics and dictutil to Python 3
Fixes ticket:3359
2020-07-29 13:16:17 -04:00
Maciej Fijalkowski
93c474c39b
make test_util pass under both pythons
2020-07-29 09:00:50 +02:00
Itamar Turner-Trauring
17b15ae085
Add another test.
2020-07-28 11:25:34 -04:00
Itamar Turner-Trauring
e954314fe5
Don't expose Python 3 dicts to innocent, unsuspecting Python 2 code.
2020-07-28 11:23:40 -04:00
Itamar Turner-Trauring
9ca1fdef81
Note it's ported.
2020-07-28 11:12:17 -04:00
Itamar Turner-Trauring
8c9c691c02
Fix typo.
2020-07-28 11:11:27 -04:00
Itamar Turner-Trauring
cc494e3d39
Document that API returns native strings.
2020-07-28 11:11:05 -04:00
Itamar Turner-Trauring
4dae5d867c
Add retry logic, listenOnUnused is potentially flaky.
2020-07-28 11:09:02 -04:00
Itamar Turner-Trauring
cbbe260a4e
Windows doesn't like Unicode strings in os.environ in Python 2.7.
2020-07-27 16:19:36 -04:00
Itamar Turner-Trauring
94d489ff46
Fix trailing whitespace.
2020-07-27 16:01:12 -04:00
Itamar Turner-Trauring
79ae478a48
Port to Python 3.
2020-07-27 15:56:31 -04:00
Itamar Turner-Trauring
bde2f1394d
Move dictutil tests out.
2020-07-27 15:53:26 -04:00
Itamar Turner-Trauring
2ca223a67c
Port to Python 3.
2020-07-27 15:34:28 -04:00
Itamar Turner-Trauring
8d84be77d8
Port to Python 3.
2020-07-27 15:31:31 -04:00
Itamar Turner-Trauring
b140d1f1af
Move statistics tests out.
2020-07-27 15:29:01 -04:00
Itamar Turner-Trauring
d8bf811b92
Native string all the things.
2020-07-27 15:20:35 -04:00
Itamar Turner-Trauring
74fe9ccf56
Foolscap expects a native string.
2020-07-27 15:16:34 -04:00
Itamar Turner-Trauring
ce8a575808
Test for specific ports.
2020-07-27 15:16:25 -04:00
Itamar Turner-Trauring
d91b4f0e40
Fix some tests and flake issues.
2020-07-27 15:12:09 -04:00
Itamar Turner-Trauring
361e75804c
Merge remote-tracking branch 'origin/master' into 3356.iputil-python-3
2020-07-27 13:07:12 -04:00
Itamar Turner-Trauring
817355d17e
Minimal testing for listenOnUnused.
2020-07-27 13:06:41 -04:00
Itamar Turner-Trauring
e681ca1cb9
Merge pull request #754 from tahoe-lafs/3357.version_checks-py3
...
Port version_checks to Python 3
Fixes ticket:3357
2020-07-27 12:36:28 -04:00
Itamar Turner-Trauring
9919d2c9a7
Record port status.
2020-07-27 11:46:03 -04:00
Itamar Turner-Trauring
436c2e77e4
Automated port to Python 3.
2020-07-27 11:44:58 -04:00
Itamar Turner-Trauring
fce7221481
Some steps to manually port to Python 3.
2020-07-27 11:42:20 -04:00
Itamar Turner-Trauring
1f34e62987
Port test module to Python 3.
2020-07-27 11:14:01 -04:00
Maciej Fijalkowski
13e292295e
Revert "futurize and make the tests pass back under py2"
...
This reverts commit 361de05980
.
2020-07-25 11:22:03 +02:00
Maciej Fijalkowski
361de05980
futurize and make the tests pass back under py2
2020-07-25 11:12:43 +02:00
Itamar Turner-Trauring
bf13401979
Move SignalMixin to common_py3.py.
2020-07-24 14:58:08 -04:00
Itamar Turner-Trauring
025afc1efe
Merge branch '3357.version_checks-py3' into 3356.iputil-python-3
2020-07-24 14:50:50 -04:00
Itamar Turner-Trauring
11cd30c425
Merge remote-tracking branch 'origin/master' into 3357.version_checks-py3
2020-07-24 14:50:39 -04:00
Itamar Turner-Trauring
e80f138868
Fix indent.
2020-07-24 14:48:56 -04:00
Itamar Turner-Trauring
e0d3e46683
Merge remote-tracking branch 'origin/master' into 3351.spans-python-3
2020-07-24 14:48:33 -04:00
Itamar Turner-Trauring
4c6a9a5610
Merge branch '3357.version_checks-py3' into 3356.iputil-python-3
2020-07-24 14:36:31 -04:00
Itamar Turner-Trauring
337a4381bb
Finish port to Python 3.
2020-07-24 14:31:36 -04:00
Itamar Turner-Trauring
65500de72f
Merge remote-tracking branch 'origin/master' into 3346.abbreviate-and-time_format-py3
2020-07-24 14:13:28 -04:00
Itamar Turner-Trauring
f84d51d795
Port to Python 3.
2020-07-24 14:12:10 -04:00
Itamar Turner-Trauring
04db52b9e4
Some manual tweaks to be more likely to work with Python 3.
...
The Linux distribution porting code was obsolete (using Python APIs not present
in Python 3, /etc/lsb-release isn't a thing on Fedora 31, for example), so
replaced it with maintained third-party library.
2020-07-24 14:06:12 -04:00
Itamar Turner-Trauring
45a891114b
Fix some things that prevent Python 3 imports.
2020-07-24 13:48:11 -04:00
Itamar Turner-Trauring
135ade02b1
Start porting.
2020-07-24 13:47:56 -04:00
Itamar Turner-Trauring
8bcd6dd34b
Merge branch 'master' into 3346.abbreviate-and-time_format-py3
2020-07-24 11:10:38 -04:00
Itamar Turner-Trauring
38648c0f8f
Fix indentation
2020-07-24 11:09:08 -04:00