mercurial/pycompat.py
1b49b84d5ed521fabdc29b635e9558f782737527
created 2018-11-05 19:52 -0800
pushed 2018-11-08 19:19 +0000
rdamazio rdamazio - pycompat: adding Linux detection and fixing Mac
24e493ec222940123642f4dfcb8b3e5f0248d546
created 2018-09-21 19:48 -0400
pushed 2018-09-25 16:19 +0000
Matt Harbison Matt Harbison - py3: rename pycompat.getcwd() to encoding.getcwd() (API)
a407f900939257680a59c5279e481cf92605b98d
created 2018-09-13 00:39 -0400
pushed 2018-09-16 21:23 +0000
Matt Harbison Matt Harbison - py3: byteify strings in pycompat
8d858fbf2759a7f5397fe19f71087d210dbc25a4
created 2018-09-04 22:29 -0400
pushed 2018-09-07 00:16 +0000
Matt Harbison Matt Harbison - cbor: teach the encoder to handle python `long` type for Windows
11d3cd3f0ae5a1e8d354461a0e76e81885605aef
created 2018-08-25 15:33 +0900
pushed 2018-08-28 23:22 +0000
Yuya Nishihara Yuya Nishihara - pycompat: remove membershiprange which is no longer used
45e05d39d9ce55b1b853b97fd415b7ca3380accd
created 2018-08-17 00:51 +0200
pushed 2018-08-20 19:31 +0000
Joerg Sonnenberger Joerg Sonnenberger - pycompat: wrap xrange for py2 to provide efficient __contains__
7eba8f83129bc0642d19ee72ae335d0d1846803e
created 2018-08-01 12:57 -0700
pushed 2018-08-03 01:30 +0000
Gregory Szorc Gregory Szorc - pycompat: add xrange alias for Python 2
152f4822d21068b4b4343de67a46e56e2742b58b
created 2018-06-10 17:07 +0900
pushed 2018-07-08 00:11 +0000
Yuya Nishihara Yuya Nishihara - pycompat: move rapply() from util
7b12a2d2eedc995405187cdf9a35736a14d60706
created 2018-06-16 19:31 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - py3: ditch email.parser.BytesParser which appears to be plain crap
79dd61a4554fa0ddedc601d8a9a60a5eb23996fd
created 2018-06-13 22:51 +0530
pushed 2018-06-16 18:13 +0000
Pulkit Goyal Pulkit Goyal - py3: replace `unicode` with pycompat.unicode
cc9aa88792fe8daf041521710f52be59c69b79eb
created 2018-05-26 12:38 +0900
pushed 2018-05-30 19:53 +0000
Yuya Nishihara Yuya Nishihara - py3: wrap tempfile.NamedTemporaryFile() to return bytes fp.name
2ce60954b1b7e9997ee01678d2bc33139b4f72b4
created 2018-05-26 12:20 +0900
pushed 2018-05-30 19:53 +0000
Yuya Nishihara Yuya Nishihara - py3: wrap tempfile.mkdtemp() to use bytes path
aac4be30e250a3d895cf6f05944fc6f17178459c
created 2018-05-26 12:14 +0900
pushed 2018-05-30 19:53 +0000
Yuya Nishihara Yuya Nishihara - py3: wrap tempfile.mkstemp() to use bytes path
1cb54e6193a6a7c29e3bc8450ff95f42ed525060
created 2018-04-13 18:17 -0400
pushed 2018-04-14 19:23 +0000
Augie Fackler Augie Fackler - py3: paper over differences in future exception handling
6ca5f825a0cafc0609b8575a8f72830abaa945de
created 2018-03-24 14:24 +0900
pushed 2018-03-27 00:12 +0000
Yuya Nishihara Yuya Nishihara - util: make safehasattr() a pycompat function
434e520adb8c316126d5011c2d19fd5f86447656
created 2018-03-12 20:45 +0900
pushed 2018-03-22 03:18 +0000
Yuya Nishihara Yuya Nishihara - annotate: do not construct attr.s object per line while computing history
6585ac350fd9b2949f18d1174811fb5491604fd6
created 2018-03-03 12:36 -0500
pushed 2018-03-04 00:01 +0000
Yuya Nishihara Yuya Nishihara - py3: make os.curdir a bytes
052351e3e1cda49248d05bc32597c8ac462507ba
created 2018-03-03 12:34 -0500
pushed 2018-03-04 00:01 +0000
Yuya Nishihara Yuya Nishihara - py3: make os.pardir a bytes
e2b87e19c6efa87f12da17350207ea6d97062cfd
created 2018-02-27 00:33 +0530
pushed 2018-03-04 00:01 +0000
Pulkit Goyal Pulkit Goyal - pycompat: prevent encoding or decoding values if not required
63fe5ca93b1313582dd61e71c689cf2be90556f1
created 2018-03-01 17:46 -0500
pushed 2018-03-02 14:51 +0000
Augie Fackler Augie Fackler - pycompat: add support for encoding argument to our wrapper
4cd2d1cc2a310ea1d674c1cb5bd6966778e7649d
created 2018-02-20 21:37 -0500
pushed 2018-02-22 03:20 +0000
Matt Harbison Matt Harbison - pycompat: correct the shlex.split() proxy method signature in py3
b44fac3a49fbfcb53c562edc352bc46258bd5bb4
created 2018-02-17 18:09 +0900
pushed 2018-02-19 02:10 +0000
Yuya Nishihara Yuya Nishihara - py3: factor out byterepr() which returns an asciified value on py3
64600233836567ba2738f7e7ec5f3ea1f78116a1
created 2018-02-13 23:00 -0700
pushed 2018-02-15 00:42 +0000
Augie Fackler Augie Fackler - py3: introduce and use pycompat.getargspec
fc44c2657dc54b680583242916608c858026df19
created 2018-01-27 17:46 +0900
pushed 2018-02-04 23:07 +0000
Yuya Nishihara Yuya Nishihara - py3: drop b'' from repr() of smartset
1a31111e6239a2eb841a5dce5e1cf8212c54bf33
created 2018-01-27 17:31 +0900
pushed 2018-02-04 23:07 +0000
Yuya Nishihara Yuya Nishihara - py3: always drop b'' prefix from repr() of bytestr
174e0c8cb879e20dec0c289d464998c348bf0cbd
created 2017-12-22 14:56 -0700
pushed 2017-12-22 22:15 +0000
Gregory Szorc Gregory Szorc - pycompat: expose functions from scandir draft
e66d6e938d2d2909ef37bd92b3eb21d3c8173e29
created 2017-12-11 05:56 +0530
pushed 2017-12-17 18:31 +0000
Pulkit Goyal Pulkit Goyal - py3: introduce pycompat.ziplist as zip is a generator on Python 3
5b569d512fbd7422de3f53f3a8a4acfd70ab2a30
created 2017-11-24 01:09 +0900
pushed 2017-12-05 05:49 +0000
Yuya Nishihara Yuya Nishihara - fancyopts: use getopt.gnu_getopt()
c0a6c19690ff0e424df0897aa0ce3e9dd44f637b
created 2017-10-12 19:20 -0700
pushed 2017-10-18 21:03 +0000
Jun Wu Jun Wu - pycompat: define operating system constants
a568a46751b6fc87437b143582f594bfe87451f6
created 2017-10-11 17:27 -0700
pushed 2017-10-18 21:03 +0000
Jun Wu Jun Wu - selectors2: do not use platform.system()
192f7b126ed206e0ce4f7560a73c68736f16d315
created 2017-10-04 11:58 -0400
pushed 2017-10-18 21:03 +0000
Augie Fackler Augie Fackler - urllibcompat: move some adapters from pycompat to urllibcompat
cfcfbe6c96f8140c16cb228b59e86d15560de098
created 2017-08-16 13:54 +0900
pushed 2017-08-19 05:07 +0000
Yuya Nishihara Yuya Nishihara - py3: select input or raw_input by pycompat
524b13fc711f76343557f054d2a11678ef83f8c8
created 2017-08-02 22:51 +0900
pushed 2017-08-04 05:21 +0000
Yuya Nishihara Yuya Nishihara - util: fix sortdict.update() to call __setitem__() on PyPy (issue5639) stable
6e38b4212661a98c17dd3a13663fac42383e9b05
created 2017-06-16 03:01 +0530
pushed 2017-06-17 19:09 +0000
Pulkit Goyal Pulkit Goyal - pycompat: move the queue related definitions below queue import
f57f1f37290d2f8ddb9ab58f8b01d8d56811398f
created 2017-06-16 02:48 +0530
pushed 2017-06-17 19:09 +0000
Pulkit Goyal Pulkit Goyal - pycompat: move multiline comments above a function to function doc
f22f39d56bb5e5127a4eb61496c7c1293196099c
created 2017-06-16 00:36 +0530
pushed 2017-06-17 19:09 +0000
Pulkit Goyal Pulkit Goyal - py3: add a new bytesurl() to convert a str url into bytes
a05f3675c46a469a11c4bdf6016a714172188363
created 2017-06-16 00:32 +0530
pushed 2017-06-17 19:09 +0000
Pulkit Goyal Pulkit Goyal - py3: add a new strurl() which will convert a bytes url to str
c9318beb7c1ad6913b537fa958840375def6f1a6
created 2017-06-01 22:24 +0900
pushed 2017-06-09 06:37 +0000
Yuya Nishihara Yuya Nishihara - py3: convert __doc__ back to bytes in help.py
548478efc46c6147e9c2781cf70477b3461b440d
created 2017-05-04 11:51 +0900
pushed 2017-05-25 01:55 +0000
Yuya Nishihara Yuya Nishihara - pycompat: try __bytes__() to convert object to bytestr
76f9a0009b4b7fdf8e27e1381bb13ec1e27db52f
created 2017-04-20 22:16 +0900
pushed 2017-05-08 16:32 +0000
Yuya Nishihara Yuya Nishihara - pycompat: extract helper to raise exception with traceback
12aca67700460484060d1898f8e0d73167ebf4e8
created 2017-03-09 21:35 -0800
pushed 2017-04-13 02:35 +0000
Gregory Szorc Gregory Szorc - util: make cookielib module available
526e4597cca5d3baa0edced648fbcd8bd273a924
created 2017-04-07 23:35 +0530
pushed 2017-04-13 02:35 +0000
Pulkit Goyal Pulkit Goyal - py3: add pycompat.unicode and add it to importer
c130d092042a01134990a17ced3d567e9e5b564b
created 2017-04-07 16:00 +0530
pushed 2017-04-13 02:35 +0000
Pulkit Goyal Pulkit Goyal - py3: add a bytes version of urllib.parse.urlencode() to pycompat.py
45761ef1bc935b1fab74adccf2541ef854b1c2eb
created 2017-04-05 00:34 +0900
pushed 2017-04-06 06:04 +0000
Yuya Nishihara Yuya Nishihara - py3: have registrar process docstrings in bytes
8181f378b07389d0bc204bef53dcc9d5e07923c8
created 2017-03-29 21:23 +0900
pushed 2017-04-03 22:24 +0000
Yuya Nishihara Yuya Nishihara - pycompat: provide bytes os.linesep
7d2cbe11ae48ac727d3443271e1ada77043b187a
created 2017-03-29 21:13 +0900
pushed 2017-04-03 22:24 +0000
Yuya Nishihara Yuya Nishihara - pycompat: introduce identity function as a compat stub
a1e40ceee64052585420b4fb9303e84211f99082
created 2017-03-19 14:12 -0400
pushed 2017-03-22 06:06 +0000
Augie Fackler Augie Fackler - pycompat: add maplist alias for old map behavior
b70407bd84d56a2032190a3ebee1494e040b3e24
created 2017-03-08 22:48 +0900
pushed 2017-03-18 17:32 +0000
Yuya Nishihara Yuya Nishihara - pycompat: add bytestr wrapper which mostly acts as a Python 2 str
63a39d64788872a5742f8e3143b7ddd603e3af13
created 2017-03-15 09:32 -0700
pushed 2017-03-18 17:32 +0000
Martin von Zweigbergk Martin von Zweigbergk - py3: make py3 compat.iterbytestr simpler and faster
less more (0) -100 -60 tip