Merge branch 'ahnolds-classic_python'
* ahnolds-classic_python: Updating changelog and marking -classic as passing CI Support checking names of old-style classic classes Don't claim to new-style support in classic mode Clean up setting _object Removing __swig_getmethods__ for static methods Support python(pre|ap)pend on static methods in classic mode Add support for static methods in classic mode When possible, use PyInt rather than PyLong
This commit is contained in:
commit
bb01ed3286
8 changed files with 53 additions and 34 deletions
|
|
@ -20,3 +20,10 @@ if grabpath() != os.path.dirname(mypath):
|
|||
|
||||
if grabstaticpath() != os.path.basename(mypath):
|
||||
raise RuntimeError("grabstaticpath failed")
|
||||
|
||||
clearstaticpath()
|
||||
if grabstaticpath() != None:
|
||||
raise RuntimeError("Resetting staticfuncpath failed")
|
||||
Test.static_func()
|
||||
if grabstaticpath() != os.path.basename(mypath):
|
||||
raise RuntimeError("grabstaticpath failed")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue