Commit Graph

81 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
7e8e93200f Don't "fix" things on Python 3 that are already fixed. 2021-05-24 10:13:08 -04:00
Itamar Turner-Trauring
d25140b847 Fix flakes on Python 3. 2021-05-07 09:36:01 -04:00
Itamar Turner-Trauring
da5c38b7ca Fix a NameError. 2021-05-05 12:39:42 -04:00
Itamar Turner-Trauring
fa4be104a6 New name for module. 2021-05-05 11:31:19 -04:00
Jean-Paul Calderone
3beacc9c8f Merge remote-tracking branch 'origin/master' into 3581.unicode_to_argv.1 2021-02-09 21:18:58 -05:00
Jean-Paul Calderone
b26652cad1 Try to get Mypy to recognize it this way? 2021-02-09 14:36:19 -05:00
Jean-Paul Calderone
541d7043d7 Some comments about unicode handling in this UnicodeOutput thing 2021-02-09 10:20:14 -05:00
Jean-Paul Calderone
ddcb43561d Try to convince Mypy it's okay 2021-02-08 19:49:02 -05:00
Jean-Paul Calderone
bb8348f7bb Merge remote-tracking branch 'origin/master' into 3588.use-pywin32-more 2021-01-26 09:54:59 -05:00
Jean-Paul Calderone
3dadd47416 unused import 2021-01-12 10:11:20 -05:00
Jean-Paul Calderone
1639aef197 Get rid of the argv unmangling that we no longer do 2021-01-11 15:29:32 -05:00
Jean-Paul Calderone
b81d57779a Tahoe's .pyscript is ancient history 2021-01-11 15:29:12 -05:00
Jean-Paul Calderone
e6ee13d11b Shovel code around a bit more 2021-01-11 14:03:11 -05:00
Jean-Paul Calderone
9d7b12292c Get rid of FILE_TYPE_REMOTE 2021-01-11 13:56:42 -05:00
Jean-Paul Calderone
ad48e6c005 See if we can use pywin32 GetFileType 2021-01-11 13:54:04 -05:00
Jean-Paul Calderone
52896432e1 it cannot return None 2021-01-11 13:41:54 -05:00
Jean-Paul Calderone
184b9735b5 another constant we can get from pywin32 2021-01-11 13:41:48 -05:00
Jean-Paul Calderone
5c6e5970c9 get this from pywin32 too 2021-01-11 13:36:12 -05:00
Jean-Paul Calderone
cca0071cbf these aren't win32 specific 2021-01-11 13:36:04 -05:00
Jean-Paul Calderone
ed713182e7 docstring 2021-01-11 12:31:13 -05:00
Jean-Paul Calderone
dc5ed66815 docstring 2021-01-11 12:31:08 -05:00
Jean-Paul Calderone
ad2df670e6 try using pywin32 for GetStdHandle 2021-01-11 11:51:01 -05:00
Jean-Paul Calderone
ab1f6f3a59 clean up this noise 2021-01-11 11:39:56 -05:00
Jean-Paul Calderone
4e9bdfeee4 please just always work? 2021-01-11 11:38:25 -05:00
Jean-Paul Calderone
14caaa360c different debug 2021-01-11 11:33:09 -05:00
Jean-Paul Calderone
a4061619dc shuffle code around a lot 2021-01-11 11:32:12 -05:00
Jean-Paul Calderone
f4a1a6fd97 get rid of this noise 2021-01-11 11:16:49 -05:00
Jean-Paul Calderone
33f84412b4 maybe pywin32 GetCommandLine is not really GetCommandLineW 2021-01-11 10:19:17 -05:00
Jean-Paul Calderone
389d70a682 see if GetCommandLine() value is interesting 2021-01-11 10:17:02 -05:00
Jean-Paul Calderone
b3a6f25c1c Python 2 gets an old version with no CommandLineToArgv
Thanks.
2021-01-10 11:01:30 -05:00
Jean-Paul Calderone
6b621efef2 Turns out there is also CommandLineToArgv
just not CommandLineToArgvW, but that's fine.
2021-01-10 10:48:49 -05:00
Jean-Paul Calderone
e80bd6894f Take a first attempt at testing the argv logic directly 2021-01-10 10:39:51 -05:00
Jean-Paul Calderone
d78e72595a Use SetErrorMode and related constants from pywin32 2021-01-09 18:19:09 -05:00
Jason R. Coombs
efd0aef284 Indicate that unichr is Python 2 only. 2020-12-18 10:36:43 -05:00
Jason R. Coombs
25cce8b77e Suppress typing errors in fileutil, crawler, fixups. 2020-11-29 13:57:46 -05:00
Jean-Paul Calderone
ef73e18f3d
Remove the greater part of the implementation 2020-02-13 10:43:50 -05:00
Jean-Paul Calderone
f6e7721dad Remove tahoesvc and pkgresutil 2020-01-13 15:33:21 -05:00
tpltnt
c8f11dc2d3 ported old-style classes to new-style 2019-05-26 08:28:18 +02:00
heartsucker
05e0d19cca
updated string literal syntax for python3 compatibility 2019-04-25 11:18:33 +02:00
heartsucker
ae5e282e2f
update raise syntax for python3 compatibility 2019-04-05 11:39:10 +02:00
heartsucker
0750dbac38
updated all python files to use pep-3110 exception syntax for python3 compatibility 2019-04-04 11:57:58 +02:00
heartsucker
f4ff91a6c1
updated python2 long numeric literals for python3 compatibility 2019-04-03 10:04:02 +02:00
heartsucker
64f4dfa8ca
replaced all remaining instances of the print statement with the print function 2019-03-24 14:14:00 +01:00
Jean-Paul Calderone
3978c45b04 spit out the events as raw as we can 2019-03-14 11:26:06 -04:00
Jean-Paul Calderone
101c3cf1c5 Put some Eliot messages in the info processing loop 2019-03-14 09:20:05 -04:00
Jean-Paul Calderone
8fa6c66c2f Convert this message to an action for success/failure reporting 2019-03-14 09:19:50 -04:00
Jean-Paul Calderone
0902277613 another primitive debug helper 2019-03-14 09:02:46 -04:00
Jean-Paul Calderone
17509e25d8 Add missing import. 2019-03-12 20:32:45 -04:00
Jean-Paul Calderone
1c6725fcdd is there even the slightest chance you could possibly give me a break 2019-03-12 19:37:28 -04:00
Jean-Paul Calderone
9bac375c38 tell me what you're reading, too 2019-03-12 19:36:42 -04:00