I hereby claim:
- I am jaraco on github.
- I am jaraco (https://keybase.io/jaraco) on keybase.
- I have a public key ASBB1cwe3WVEN7uHXVukGXLA6jRWJ0WnfOXJyHgYJGJs-wo
To claim this, I am signing this object:
| diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py | |
| index 5ad94aba64..6b7479bb51 100644 | |
| --- a/Lib/test/test_doctest.py | |
| +++ b/Lib/test/test_doctest.py | |
| @@ -7,6 +7,8 @@ import doctest | |
| import functools | |
| import os | |
| import sys | |
| +import importlib | |
| +import unittest |
| diff --git a/Lib/inspect.py b/Lib/inspect.py | |
| index bc97efe179..d629689654 100644 | |
| --- a/Lib/inspect.py | |
| +++ b/Lib/inspect.py | |
| @@ -642,13 +642,13 @@ def cleandoc(doc): | |
| def getfile(object): | |
| """Work out which source or compiled file an object was defined in.""" | |
| if ismodule(object): | |
| - if hasattr(object, '__file__'): | |
| + if getattr(object, '__file__', None): |
| $ tox -e py36 | |
| py36 create: /Users/jaraco/Dropbox/code/main/setuptools/.tox/py36 | |
| py36 installdeps: -rtests/requirements.txt | |
| py36 develop-inst: /Users/jaraco/Dropbox/code/main/setuptools | |
| py36 installed: apipkg==1.4,attrs==17.4.0,contextlib2==0.5.5,execnet==1.5.0,flake8==3.5.0,mccabe==0.6.1,mock==2.0.0,path.py==11.0,pbr==3.1.1,pluggy==0.6.0,py==1.5.2,pycodestyle==2.3.1,pyflakes==1.6.0,pytest==3.4.1,pytest-fixture-config==1.2.11,pytest-flake8==0.9.1,pytest-shutil==1.2.11,pytest-virtualenv==1.2.11,six==1.11.0,virtualenv==15.1.0 | |
| py36 runtests: PYTHONHASHSEED='1006593311' | |
| py36 runtests: commands[0] | py.test | |
| =============================================================================== test session starts =============================================================================== | |
| platform darwin -- Python 3.6.4, pytest-3.4.1, py-1.5.2, pluggy-0.6.0 | |
| rootdir: /Users/jaraco/Dropbox/code/main/setuptools, inifile: pytest.ini |
| python develop-inst-nodeps: /Users/jaraco/Dropbox/code/main/jaraco.itertools | |
| python installed: attrs==17.4.0,collective.checkdocs==0.2,docutils==0.14,inflect==0.2.5,-e git+gh://jaraco/jaraco.itertools@3a3d73e7def3403e067c5c715da9529a35b1c378#egg=jaraco.itertools,more-itertools==4.1.0,pluggy==0.6.0,py==1.5.2,pytest==3.4.1,pytest-sugar==0.9.1,six==1.11.0,termcolor==1.1.0 | |
| python runtests: PYTHONHASHSEED='3026495925' | |
| python runtests: commands[0] | py.test | |
| ============================= test session starts ============================== | |
| platform darwin -- Python 3.7.0b2, pytest-3.4.1, py-1.5.2, pluggy-0.6.0 | |
| rootdir: /Users/jaraco/Dropbox/code/main/jaraco.itertools, inifile: pytest.ini | |
| plugins: sugar-0.9.1 | |
| collected 32 items |
| $ nslookup | |
| > set type=TXT | |
| > jaraco.com | |
| Server: 2601:14d:8701:59f8:f299:bfff:fe02:cee3 | |
| Address: 2601:14d:8701:59f8:f299:bfff:fe02:cee3#53 | |
| Non-authoritative answer: | |
| jaraco.com text = "v=spf1 include:spf.protection.outlook.com ~all" | |
| Authoritative answers can be found from: |
| jaraco@seoul:~$ netstat -a -n -p | grep :25 | |
| (Not all processes could be identified, non-owned process info | |
| will not be shown, you would have to be root to see it all.) | |
| tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN - | |
| tcp6 0 0 :::25 :::* LISTEN - |
| jaraco@kafka:~$ sudo adduser --ingroup staff --disabled-password --gecos "Sumanah Harihareswara" sumanah | |
| Adding user `sumanah' ... | |
| Adding new user `sumanah' (1003) with group `staff' ... | |
| Creating home directory `/home/sumanah' ... | |
| Copying files from `/etc/skel' ... | |
| jaraco@kafka:~$ sudo usermod -a -G sudo sumanah | |
| jaraco@kafka:~$ sudo mkdir -p /home/sumanah/.ssh; sudo wget https://github.com/brainwane.keys -O /home/sumanah/.ssh/authorized_keys; sudo chown -R sumanah:nogroup '/home/sumanah/.ssh'; sudo chmod -R 600 '/home/sumanah/.ssh' | |
| --2018-03-20 15:20:57-- https://github.com/brainwane.keys | |
| Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113 | |
| Connecting to github.com (github.com)|192.30.253.112|:443... connected. |
| jaraco@kafka:~$ sudo systemctl status pmxbot | |
| ● pmxbot.service - chat bot | |
| Loaded: loaded (/etc/systemd/system/pmxbot.service; enabled; vendor preset: enabled) | |
| Active: failed (Result: exit-code) since Fri 2018-03-30 00:14:01 UTC; 17h ago | |
| Process: 8256 ExecStart=/opt/pmxbot/bin/pmxbot /etc/pmxbot/main.conf /etc/pmxbot/server.conf /etc/pmxbot/database.conf /etc/pmxbot/twilio.conf /etc/pmxbot/trans.conf / | |
| Main PID: 8256 (code=exited, status=1/FAILURE) | |
| Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable. |
I hereby claim:
To claim this, I am signing this object:
| import cherrypy | |
| class App: | |
| @cherrypy.expose | |
| def index(self): | |
| return 'Done' | |
| cherrypy.config.update({ | |
| 'server.socket_host': '127.0.0.1', | |
| 'server.socket_port': 8080, |