Skip to content

Instantly share code, notes, and snippets.

View jwilk's full-sized avatar

Jakub Wilk jwilk

View GitHub Profile
#!/usr/bin/python
#
# Copyright (c) 2008 Sandro Tosi <morph@debian.org>
# Copyright (c) 2009-2010 Luca Falavigna <dktrkranz@debian.org>
# License: Public Domain
#
#
# This tool is written to help Debian Python Modules/Apps Teams
# packagers identify what debian packages are needed to execute the
# tool being packaged.
diff --git a/NEWS b/NEWS
--- a/NEWS
+++ b/NEWS
@@ -76,7 +76,7 @@
* Idle sources are now faster registered and unregistered so they can
be used for any scheduling tasks
- * eloop got pre- and post-dispatch hooks to inetgrate external
+ * eloop got pre- and post-dispatch hooks to integrate external
event-loops better
#0 0x2000000000bd4d31 in pink_util_putn (pid=4387, addr=6917529027642483136, src=0x2000000000a27ffc "", len=18842021527562) at /usr/include/ia64-linux-gnu/bits/string3.h:52
#1 0x2000000000bd6c70 in pink_encode_simple (pid=4387, bitness=PINK_BITNESS_64, ind=0, src=0x20000000009d2bf4, len=18842021527562) at ../../src/pink-linux-trace-ia64.c:181
#2 0x2000000000c25660 in pinkpy_string_encode (self=0x0, args=(4387, 0, '/dev/NULL')) at ../../../python/pinktrace/pink-python-string.c:135
#3 0x4000000000115e90 in PyCFunction_Call (func=<optimized out>, arg=(4387, 0, '/dev/NULL'), kw=0x0) at ../Objects/methodobject.c:90
#4 0x400000000023b640 in call_function (oparg=<optimized out>, pp_stack=<optimized out>) at ../Python/ceval.c:4021
#5 PyEval_EvalFrameEx (f=Frame 0x60000000001c8ae0, for file TEST_string_linux.py, line 102, in test_03_encode (self=<TestStringLinux_02(_resultForDoCleanups=<TextTestResult(_original_stdout=<file at remote 0x20000000008ad1e0>, dots=False, skipped=[], _mirrorOutput=False, stream=<_Writ
def test_foo():
raise '\xf1'.encode('ASCII')
yield