Itamar Turner-Trauring
|
e1f9f7de94
|
Note for future improvement.
|
2022-01-25 10:06:23 -05: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
|
8aa3391276
|
Consistent behavior.
|
2021-05-27 13:26:46 -04:00 |
|
Itamar Turner-Trauring
|
073f521cc1
|
WIP
|
2021-05-17 12:59:38 -04:00 |
|
Jason R. Coombs
|
ee99c610b3
|
argv_type on Windows can be either
|
2021-03-06 16:06:24 -05:00 |
|
Jason R. Coombs
|
c673726139
|
Alongside unicode_to_argv, declare the argv type to avoid errors on Windows now that args are actually unicode.
|
2021-03-06 15:37:29 -05:00 |
|
Jean-Paul Calderone
|
680a5a0575
|
mangling no longer a thing
|
2021-02-12 14:26:08 -05:00 |
|
Jean-Paul Calderone
|
9b2a9e14ae
|
Re-add the check so we still get early failure if this ever happens
|
2021-02-09 21:21:31 -05:00 |
|
Jean-Paul Calderone
|
522f96b150
|
may as well leave(/restore) this
|
2021-01-12 14:56:37 -05:00 |
|
Jean-Paul Calderone
|
e3a805caa7
|
unicode_to_argv == id on win32
|
2021-01-12 14:44:00 -05:00 |
|
Jean-Paul Calderone
|
99f00818a8
|
diff shrink
|
2021-01-12 14:21:32 -05:00 |
|
Jean-Paul Calderone
|
46d3ffb2e2
|
diff shrink
|
2021-01-12 14:20:50 -05:00 |
|
Jean-Paul Calderone
|
82d24bfaf7
|
one more
|
2021-01-12 10:46:04 -05:00 |
|
Jean-Paul Calderone
|
ae1a0c591b
|
Prefer to fix unicode_to_argv/argv_to_unicode instead of callers
|
2021-01-12 09:58:34 -05:00 |
|
Jean-Paul Calderone
|
7c0d2e3cd5
|
another un-re-shuffling
|
2021-01-12 09:29:24 -05:00 |
|
Jean-Paul Calderone
|
a9a60857b2
|
attempt to reduce diff noise
|
2021-01-12 09:28:50 -05:00 |
|
Jean-Paul Calderone
|
2889922a08
|
reign in scope - don't mess with filesystem encoding here
It is a separate can of works from argv
|
2021-01-12 09:27:23 -05:00 |
|
Jean-Paul Calderone
|
15c46924ce
|
unused import
|
2021-01-12 09:27:20 -05:00 |
|
Jean-Paul Calderone
|
1810f4e99b
|
Force the encoding to utf-8 more often
|
2021-01-11 19:31:41 -05:00 |
|
Jean-Paul Calderone
|
2306819db1
|
Get rid of unicode_to_argv and argv_to_unicode
|
2021-01-11 15:45:39 -05:00 |
|
Jean-Paul Calderone
|
f4432d3f23
|
Respect the provided encoding
UTF-8 is great but if we're claiming the encoding is something else everywhere
else we can't just make it UTF-8 here.
|
2020-12-07 09:12:38 -05:00 |
|
Jean-Paul Calderone
|
b464fa6483
|
docstring
|
2020-12-06 18:28:11 -05:00 |
|
Jean-Paul Calderone
|
77bebb9916
|
[wip] remove mock from test_alias, along with a bunch of encoding-related changes :/
|
2020-12-06 17:00:34 -05:00 |
|
Itamar Turner-Trauring
|
5fc95d569f
|
Improve explanations.
|
2020-08-20 12:39:38 -04:00 |
|
Itamar Turner-Trauring
|
97c3be0509
|
Make quote_* and friends return unicode.
|
2020-08-17 13:29:49 -04:00 |
|
Itamar Turner-Trauring
|
f95f9c481e
|
Explanation.
|
2020-08-17 12:04:52 -04:00 |
|
Itamar Turner-Trauring
|
af5e9eaf67
|
A better name.
|
2020-08-17 11:29:27 -04:00 |
|
Itamar Turner-Trauring
|
03ed0fd66f
|
Another function that should be a no-op on Python 3.
|
2020-08-17 11:29:09 -04:00 |
|
Itamar Turner-Trauring
|
2cc2cb6a7f
|
Rename to_str() to the more accurate to_bytes().
|
2020-08-14 13:49:48 -04:00 |
|
Itamar Turner-Trauring
|
2157da524d
|
This needs an encoding too.
|
2020-08-13 15:04:44 -04:00 |
|
Itamar Turner-Trauring
|
e113cba8d0
|
Address review comments.
|
2020-08-13 15:02:59 -04:00 |
|
Itamar Turner-Trauring
|
5c9294ebf1
|
Port to Python 3.
|
2020-08-12 15:46:15 -04:00 |
|
Itamar Turner-Trauring
|
b25f62d189
|
Clarifications.
|
2020-08-12 15:40:45 -04:00 |
|
Itamar Turner-Trauring
|
e03c2a759f
|
Port test_encodingutil.py to Python 3.
|
2020-08-12 15:14:04 -04:00 |
|
Itamar Turner-Trauring
|
f7e28ffb0b
|
More progress towards Python 3.
|
2020-08-12 14:18:02 -04:00 |
|
Itamar Turner-Trauring
|
53bdc10e19
|
Some steps towards Python 3 support.
|
2020-08-12 13:10:10 -04:00 |
|
Itamar Turner-Trauring
|
e13c0cf4d3
|
Reorganize imports to make Python 3 support easier.
|
2020-08-12 10:23:30 -04:00 |
|
Itamar Turner-Trauring
|
39fc75a3fd
|
Tweaks in preparation for Python 3 support.
|
2020-08-10 13:39:55 -04:00 |
|
Itamar Turner-Trauring
|
45a891114b
|
Fix some things that prevent Python 3 imports.
|
2020-07-24 13:48:11 -04:00 |
|
heartsucker
|
05e0d19cca
|
updated string literal syntax for python3 compatibility
|
2019-04-25 11:18:33 +02:00 |
|
Jean-Paul Calderone
|
6b16afaa2e
|
Avoid using the list comprehension loop variable
It works fine but it relies on leaky scopes.
|
2018-04-26 15:16:00 -04:00 |
|
Daira Hopwood
|
b53efdbf8b
|
Fix a corner case for to_filepath on Windows to make it consistent with Unix.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
b6b638efd1
|
Depend on FilePath.asTextMode().
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
903c6f1d6c
|
Fix check for initial '-' in argv_to_abspath.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
16275cb8f6
|
Teach magic-folder join to use argv_to_abspath
- also we modify argv_to_abspath to through a usage error
if the name starts with a '-'
- add a test
currently the tests fail
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
e03a1e3361
|
WIP.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
7b4067850f
|
Unicode path fixes for drop-upload.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
f2824459eb
|
Reject path arguments that start with '-' with a usage error.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2015-12-28 21:27:15 +00:00 |
|
Daira Hopwood
|
21226cbb82
|
Add from_utf8_or_none and tests.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2015-03-24 16:46:40 +00:00 |
|
Daira Hopwood
|
95f98e1aae
|
Quote local paths correctly. refs #2235
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2015-01-30 00:05:20 +00:00 |
|