Tom Tromey
ea38e5df77
Remove some Python 3 #ifs
...
A recent patch from Kevin Buettner taught me that the PyBytes API is
available on Python 2. This patch removes a couple of related #ifs in
the Python code.
Tested on x86-64 Fedora 29, using both Python 3.7 and Python 2.7.
gdb/ChangeLog
2019-03-05 Tom Tromey <tromey@adacore.com>
* python/py-prettyprint.c (print_string_repr): Remove #if.
* python/py-utils.c (unicode_to_encoded_string): Remove #if.
2019-03-05 15:01:59 -07:00
..
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-22 20:35:21 -07:00
2019-01-01 10:01:51 +04:00
2019-01-21 11:14:07 -07:00
2019-01-22 20:35:21 -07:00
2019-02-27 11:43:06 -07:00
2019-01-22 20:35:21 -07:00
2019-01-22 20:35:21 -07:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-02-07 03:27:23 -07:00
2019-02-07 03:27:23 -07:00
2019-01-22 20:35:21 -07:00
2019-01-01 10:01:51 +04:00
2019-01-02 16:28:33 -07:00
2019-01-22 20:35:21 -07:00
2019-01-22 20:35:21 -07:00
2019-01-22 20:35:21 -07:00
2019-01-22 20:35:21 -07:00
2019-01-01 10:01:51 +04:00
2019-02-27 11:43:06 -07:00
2019-01-22 20:35:21 -07:00
2019-01-02 16:28:33 -07:00
2019-01-01 10:01:51 +04:00
2019-02-07 03:27:23 -07:00
2019-01-01 10:01:51 +04:00
2019-01-22 20:35:21 -07:00
2019-01-01 10:01:51 +04:00
2019-01-22 20:35:21 -07:00
2019-01-22 20:35:21 -07:00
2019-03-05 15:01:59 -07:00
2019-01-22 20:35:21 -07:00
2019-01-01 10:01:51 +04:00
2019-02-07 03:27:23 -07:00
2019-01-01 10:01:51 +04:00
2019-02-07 03:27:23 -07:00
2019-01-03 14:49:18 -07:00
2019-02-07 03:27:23 -07:00
2019-02-07 03:27:23 -07:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-02-07 03:27:23 -07:00
2019-01-22 20:35:21 -07:00
2019-01-22 20:35:21 -07:00
2019-01-01 10:01:51 +04:00
2019-02-27 11:43:06 -07:00
2019-01-22 20:35:21 -07:00
2019-03-05 15:01:59 -07:00
2019-02-27 11:43:06 -07:00
2019-01-22 20:35:21 -07:00
2019-01-22 20:35:21 -07:00
2018-05-04 10:08:09 -04:00
2019-02-27 11:43:06 -07:00
2019-02-27 11:43:06 -07:00
2019-02-07 03:27:23 -07:00