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
/* | |
* SIP library code. | |
* | |
* Copyright (c) 2009 Riverbank Computing Limited <[email protected]> | |
* | |
* This file is part of SIP. | |
* | |
* This copy of SIP is licensed for use under the terms of the SIP License | |
* Agreement. See the file LICENSE for more details. | |
* |
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
/* | |
* Interface wrapper code. | |
* | |
* Generated by SIP 4.8-snapshot-20090409 * | |
* | |
* copyright 2008 Kevin Watters | |
* released under the wxWidgets License | |
*/ | |
#line 19 "src/wx.sip" | |
#include "stdwxpy.h" |
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
extern "C" {static void release_wxTimer(void *, int);} | |
static void release_wxTimer(void *sipCppV,int state) | |
{ | |
if (!wxIsMainThread()) { | |
wxpy_add_pending_delete(&sipType__wxcore_wxTimer, sipCppV, state); | |
} else { | |
wxpy_remove_pending_delete(&sipType__wxcore_wxTimer, sipCppV, state); | |
if (state & SIP_DERIVED_CLASS) | |
delete reinterpret_cast<sipwxTimer *>(sipCppV); | |
else |
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
def main2(): | |
from tests.testapp import testapp | |
from gui import skin | |
with testapp(plugins=False): | |
f = wx.Frame(None) | |
p = wx.Panel(f) | |
c = wx.CheckBox(p, -1, 'Test') | |
margins = skin.ZeroMargins | |
def layout(): | |
sz = wx.BoxSizer(wx.VERTICAL) |
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
def nameof(obj): | |
''' | |
if obj is referenced strongly in another object's __dict__, give its attribute name. | |
''' | |
for r in gc.get_referrers(obj): | |
for r2 in gc.get_referrers(r): | |
if r is getattr(r2, '__dict__', object()): | |
for k, v in r.iteritems(): | |
if v is obj: |
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
<html> | |
<head> | |
<script> | |
var natcompare = (function() { | |
var isWhitespaceChar = function(a) | |
{ | |
var charCode; | |
charCode = a.charCodeAt(0); | |
if ( charCode <= 32 ) |
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
[Timer] Timings: | |
[Timer] annotate --- 1149.3 s | |
[Timer] rtype_lltype --- 644.5 s | |
[Timer] pyjitpl_lltype --- 948.6 s | |
[Timer] backendopt_lltype --- 417.1 s | |
[Timer] stackcheckinsertion_lltype --- 64.9 s | |
[Timer] database_c --- 546.6 s | |
[Timer] source_c --- 1033.0 s | |
[Timer] compile_c --- 689.7 s | |
[Timer] =========================================== |
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
C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\goal>\python26\python.exe translate.py -Ojit | |
[translation:info] Translating target as defined by targetpypystandalone | |
[platform:msg] Updated environment with c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat | |
[platform:msg] Setting platform to 'host' cc=None | |
[platform:execute] cl.exe /nologo /c /MD /O2 c:\users\kevin\appdata\local\temp\usession-fast-forward-5\gcctest.c /Foc:\users\kevin\appd | |
ata\local\temp\usession-fast-forward-5\gcctest.obj | |
[platform:execute] link.exe /nologo c:\users\kevin\appdata\local\temp\usession-fast-forward-5\gcctest.obj /out:c:\users\kevin\appdata\l | |
ocal\temp\usession-fast-forward-5\gcctest.exe /incremental:no /MANIFEST /MANIFESTFILE:c:\users\kevin\appdata\local\temp\usession-fast-f | |
orward-5\gcctest.manifest | |
[platform:execute] mt.exe -nologo -manifest c:\users\kevin\appdata\local\temp\usession-fast-forward-5\gcctest.manifest -outputresource: |
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
[translation:ERROR] Error: | |
[translation:ERROR] Traceback (most recent call last): | |
[translation:ERROR] File "translate.py", line 290, in main | |
[translation:ERROR] drv.proceed(goals) | |
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\driver.py", line 812, in proceed | |
[translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) | |
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\tool\taskengine.py", line 116, in _execute | |
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) | |
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\driver.py", line 288, in _do | |
[translation:ERROR] res = func() |
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
[translation:ERROR] Error: | |
[translation:ERROR] Traceback (most recent call last): | |
[translation:ERROR] File "translate.py", line 290, in main | |
[translation:ERROR] drv.proceed(goals) | |
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\driver.py", line 812, in proceed | |
[translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) | |
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\tool\taskengine.py", line 116, in _execute | |
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) | |
[translation:ERROR] File "C:\Users\Kevin\src\pypy\fast-foward\pypy\translator\driver.py", line 288, in _do | |
[translation:ERROR] res = func() |