Skip to content

Instantly share code, notes, and snippets.

View dubois's full-sized avatar

Paul Du Bois dubois

  • Google, Inc
  • Oakland, USA
View GitHub Profile
@dubois
dubois / _lupa.patch
Created March 11, 2014 03:21
Patch to _lupa.pyx to compare tables by identity of lua table rather than by identity of python wrapper
==== //dfp/Main/Common/Code/NonDF/lupa/lupa/_lupa.pyx#1 (text) - //dfp/Main/Common/Code/NonDF/lupa/lupa/_lupa.pyx#2 (text) ==== content
@@ -18,6 +18,7 @@
cdef extern from *:
ctypedef char* const_char_ptr "const char*"
+ctypedef unsigned long uintptr_t
cdef object exc_info
from sys import exc_info
@@ -458,6 +459,45 @@