This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\users\jaraco> rmdir foo | |
PS C:\users\jaraco> New-Item -Path bar -ItemType SymbolicLink -Value foo | |
New-Item : Cannot find path 'C:\users\jaraco\foo' because it does not exist. | |
At line:1 char:1 | |
+ New-Item -Path bar -ItemType SymbolicLink -Value foo | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : ObjectNotFound: (C:\users\jaraco\foo:String) [New-Item], ItemNotFoundException | |
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemCommand |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\users\jaraco> New-Item -Path bar -ItemType SymbolicLink -Value foo | |
New-Item : Cannot find path 'C:\users\jaraco\foo' because it does not exist. | |
At line:1 char:1 | |
+ New-Item -Path bar -ItemType SymbolicLink -Value foo | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : ObjectNotFound: (C:\users\jaraco\foo:String) [New-Item], ItemNotFoundException | |
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemCommand | |
PS C:\users\jaraco> cmd /c mklink /d bar foo | |
symbolic link created for bar <<===>> foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\users\jaraco> New-Item -Path bar -ItemType SymbolicLink -Value foo | |
Directory: C:\users\jaraco | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d----l 12/31/2017 1:34 PM bar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Windows\system32> cd ~ | |
PS C:\Users\jaraco> mkdir foo | |
Directory: C:\Users\jaraco | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d----- 12/31/2017 1:31 PM foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import functools | |
import collections | |
import cherrypy | |
class SelectedMethod: | |
""" | |
Descriptor allowing a series of handler methods to satisfy | |
a variety of behaviors based on the request method. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:xenial | |
# general environment for docker | |
ENV DEBIAN_FRONTEND=noninteractive \ | |
FORCE_UNSAFE_CONFIGURE=1 | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
bzip2 \ | |
build-essential \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat > setup.py | |
__import__('setuptools').setup(name='foo', version='1.0', packages=__import__('setuptools').find_packages()) | |
$ python setup.py sdist | |
running sdist | |
running egg_info | |
writing foo.egg-info/PKG-INFO | |
writing dependency_links to foo.egg-info/dependency_links.txt | |
writing top-level names to foo.egg-info/top_level.txt | |
reading manifest file 'foo.egg-info/SOURCES.txt' | |
writing manifest file 'foo.egg-info/SOURCES.txt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd issue-61 | |
$ cat > setup.py | |
import distutils.core | |
distutils.core.setup( | |
name='foo', | |
version='1.0', | |
) | |
$ touch blah.py | |
$ python setup.py sdist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git bisect start | |
$ git bisect bad v11.1.0 | |
$ git bisect good v11.0.0 | |
Bisecting: 126 revisions left to test after this (roughly 7 steps) | |
[937216bd92d623cc415860f41a4762122d91ce61] Remove extraneous parenthesis. Replace faux em dash with semicolon. | |
$ git bisect run rwt -q . -- ~/issue-1662.py | |
running rwt -q . -- /Users/jaraco/issue-1662.py | |
first a get | |
then options no params | |
then options with params |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__requires__ = [ | |
'flask>=0.12.2', | |
'flask-restful>=0.3.6', | |
'requests_toolbelt', | |
'autocommand', | |
] | |
import contextlib | |
from requests_toolbelt import sessions |