This file contains 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
https://gist.github.com/jaraco/87305e041d480e1ea5fa65e72ddcba2c |
This file contains 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
https://github.com/slingdata-io/sling-cli/issues/130 |
This file contains 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
@ docker run -it jaraco/multipy-tox | |
# import os | |
... def is_docker(): | |
... def text_in_file(text, filename): | |
... try: | |
... with open(filename, encoding='utf-8') as lines: | |
... return any(text in line for line in lines) | |
... except OSError: | |
... return False | |
... cgroup = '/proc/self/cgroup' |
This file contains 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
--- a/mercurial/dirstate.py | |
+++ b/mercurial/dirstate.py | |
@@ -70,68 +70,23 @@ class rootcache(filecache): | |
def check_invalidated(func): | |
- """check that the func is called with a non-invalidated dirstate | |
- | |
- The dirstate is in an "invalidated state" after an error occured during its | |
- modification and remains so until we exited the top level scope that framed |
This file contains 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
distutils feature/skeleton @ .tox/docs/bin/pip install -q --force-reinstall git+https://github.com/sphinx-contrib/sphinx-lint@e3f74edfda09a5c3170277ef84b1fd308825de64 | |
distutils feature/skeleton @ .tox/docs/bin/python -m sphinxlint docs | |
No problems found. | |
distutils feature/skeleton @ .tox/docs/bin/pip install -q --force-reinstall git+https://github.com/sphinx-contrib/sphinx-lint@42f1b98299dc5be6b4e2111d77369793a70028b2 | |
distutils feature/skeleton @ .tox/docs/bin/python -m sphinxlint docs | |
Process SpawnPoolWorker-6: | |
Process SpawnPoolWorker-4: | |
Process SpawnPoolWorker-2: | |
Process SpawnPoolWorker-1: | |
Traceback (most recent call last): |
This file contains 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
cssutils main @ .tox/docs/bin/python -m sphinxlint docs | |
Process SpawnPoolWorker-1: | |
Traceback (most recent call last): | |
File "/opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap | |
self.run() | |
File "/opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/process.py", line 108, in run | |
self._target(*self._args, **self._kwargs) | |
File "/opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/pool.py", line 114, in worker | |
task = get() | |
^^^^^ |
This file contains 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
--- /mnt/vex/default_pkg/test-lossy-export_citc-client_sh.runfiles/google3/devtools/piper/hgfission/e2e/tests/test-lossy-export.t | |
+++ /tmp/vex/test_tmp/mercurial_env/test-lossy-export.t#citc-client.err | |
@@ -39,28 +39,151 @@ | |
$ create_and_cd_to_new_fig_repo --include "//depot/$SUBMIT_DIR/..." --include google3/devtools/piper -q | |
$ mkdir -p "$SUBMIT_DIR" | |
$ hg cp google3/devtools/piper/BUILD "$SUBMIT_DIR/copy_one.py" | |
+ ** unknown exception encountered, please report by visiting | |
+ ** http://go/fig-bug | |
+ ** Python 3.10.13 (stable, redacted, redacted) [Clang google3-trunk (aecb58005c692ed756d748437896498b124e9d45)] | |
+ ** Mercurial Distributed SCM (version 6.4.5) |
This file contains 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
58563 default @ $XONSH_CAPTURE_ALWAYS = False | |
58563 default @ aliases['caution'] = 'echo something' | |
58563 default @ caution | |
something | |
58563 default @ caution > /dev/null | |
58563 default @ aliases['caution'] = 'echo @("something")' | |
58563 default @ caution | |
something | |
58563 default @ caution > /dev/null | |
something |
This file contains 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 ctypes | |
from ctypes import c_void_p, c_int, c_char, c_ulong | |
lib_path = '/opt/homebrew/opt/openssl@3/lib/libcrypto.dylib' | |
lib = ctypes.cdll.LoadLibrary(lib_path) | |
MAX_BLOCK_LENGTH = 32 | |
MAX_IV_LENGTH = 16 | |
This file contains 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
#!python3 | |
import curses | |
import time | |
screen = curses.initscr() | |
screen.clear() | |
pad = curses.newpad(100, 100) | |
for line in range(1, 100): | |
pad.addstr(line - 1, 0, f'line {line}') |