Check-in [049c5a6edd]
Overview
| Comment: | Add unichr() function alias for Python3. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
049c5a6edda4db73cfea308987955409 |
| User & Date: | mario on 2016-11-06 18:51:20 |
| Other Links: | manifest | tags |
Context
|
2016-11-06
| ||
| 18:51 | Fix misnamed row{} reference. check-in: d2925011aa user: mario tags: trunk | |
| 18:51 | Add unichr() function alias for Python3. check-in: 049c5a6edd user: mario tags: trunk | |
| 14:41 | Use subprocess.list2cmdline() for Windows, and pipes.quote() for BSD/Linux command execution. check-in: 5a6185c3aa user: mario tags: trunk | |
Changes
Modified channels/__init__.py from [b27eefc5db] to [a62aaaa5c0].
| ︙ | ︙ | |||
29 30 31 32 33 34 35 36 37 38 39 40 41 42 | # GtkBuilder description. They derive from ChannelPlugins therefore, # which constructs and registers the required gtk widgets manually. import gtk from uikit import uikit, ver as gtk_ver from config import * import ahttp import action import os.path import xml.sax.saxutils import re import copy import inspect | > | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | # GtkBuilder description. They derive from ChannelPlugins therefore, # which constructs and registers the required gtk widgets manually. import gtk from uikit import uikit, ver as gtk_ver from config import * from compat2and3 import * import ahttp import action import os.path import xml.sax.saxutils import re import copy import inspect |
| ︙ | ︙ |
Modified compat2and3.py from [66a57d4e67] to [e60cd1b086].
| ︙ | ︙ | |||
44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# version tags
PY2 = 0
PY3 = 1
# basic functions
xrange = range
unicode = str
# urllib modules
import urllib.request as urllib
import urllib.request as urllib2
from urllib.parse import quote_plus as urlencode, unquote as urldecode
import urllib.parse as urlparse
from http import cookiejar as cookielib
| > | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# version tags
PY2 = 0
PY3 = 1
# basic functions
xrange = range
unicode = str
unichr = chr
# urllib modules
import urllib.request as urllib
import urllib.request as urllib2
from urllib.parse import quote_plus as urlencode, unquote as urldecode
import urllib.parse as urlparse
from http import cookiejar as cookielib
|
| ︙ | ︙ |