Permalink
Browse files

Merge pull request #3 from JackScottAU/master

Fix octal literals in constants.py on the Windows platform, so it will work in Python 3.
  • Loading branch information...
freakboy3742 committed Aug 2, 2014
2 parents 417cd8b + be6b2fc commit 76d046cae705213857a1504042d07c7867b887f5
Showing with 20 additions and 20 deletions.
  1. +20 −20 toga/platform/win32/libs/constants.py
@@ -530,7 +530,7 @@
MB_NOFOCUS = 32768
MB_SETFOREGROUND = 65536
MB_DEFAULT_DESKTOP_ONLY = 131072
MB_TOPMOST = 262144L
MB_TOPMOST = 262144
MB_RIGHT = 524288
MB_RTLREADING = 1048576
MB_SERVICE_NOTIFICATION = 2097152
@@ -640,7 +640,7 @@
MFS_UNCHECKED = MF_UNCHECKED
MFS_UNHILITE = MF_UNHILITE
MFS_DEFAULT = MF_DEFAULT
MFS_MASK = 4235L
MFS_MASK = 4235
MFS_HOTTRACKDRAWN = 268435456
MFS_CACHEDBMP = 536870912
MFS_BOTTOMGAPDROP = 1073741824
@@ -868,7 +868,7 @@
BS_GROUPBOX = 7
BS_USERBUTTON = 8
BS_AUTORADIOBUTTON = 9
BS_OWNERDRAW = 11L
BS_OWNERDRAW = 11
BS_LEFTTEXT = 32
BS_TEXT = 0
BS_ICON = 64
@@ -2486,10 +2486,10 @@ def SUBLANGID(lgid): return ((lgid) >> 10)
IMAGE_SYM_CLASS_FILE = 103
IMAGE_SYM_CLASS_SECTION = 104
IMAGE_SYM_CLASS_WEAK_EXTERNAL = 105
N_BTMASK = 017
N_TMASK = 060
N_TMASK1 = 0300
N_TMASK2 = 0360
N_BTMASK = 0o17
N_TMASK = 0o60
N_TMASK1 = 0o300
N_TMASK2 = 0o360
N_BTSHFT = 4
N_TSHIFT = 2
IMAGE_SIZEOF_AUX_SYMBOL = 18
@@ -2502,19 +2502,19 @@ def SUBLANGID(lgid): return ((lgid) >> 10)
IMAGE_WEAK_EXTERN_SEARCH_LIBRARY = 2
IMAGE_WEAK_EXTERN_SEARCH_ALIAS = 3
IMAGE_SIZEOF_RELOCATION = 10
IMAGE_REL_I386_SECTION = 012
IMAGE_REL_I386_SECREL = 013
IMAGE_REL_MIPS_REFHALF = 01
IMAGE_REL_MIPS_REFWORD = 02
IMAGE_REL_MIPS_JMPADDR = 03
IMAGE_REL_MIPS_REFHI = 04
IMAGE_REL_MIPS_REFLO = 05
IMAGE_REL_MIPS_GPREL = 06
IMAGE_REL_MIPS_LITERAL = 07
IMAGE_REL_MIPS_SECTION = 012
IMAGE_REL_MIPS_SECREL = 013
IMAGE_REL_MIPS_REFWORDNB = 042
IMAGE_REL_MIPS_PAIR = 045
IMAGE_REL_I386_SECTION = 0o12
IMAGE_REL_I386_SECREL = 0o13
IMAGE_REL_MIPS_REFHALF = 0o1
IMAGE_REL_MIPS_REFWORD = 0o2
IMAGE_REL_MIPS_JMPADDR = 0o3
IMAGE_REL_MIPS_REFHI = 0o4
IMAGE_REL_MIPS_REFLO = 0o5
IMAGE_REL_MIPS_GPREL = 0o6
IMAGE_REL_MIPS_LITERAL = 0o7
IMAGE_REL_MIPS_SECTION = 0o12
IMAGE_REL_MIPS_SECREL = 0o13
IMAGE_REL_MIPS_REFWORDNB = 0o42
IMAGE_REL_MIPS_PAIR = 0o45
IMAGE_REL_ALPHA_ABSOLUTE = 0
IMAGE_REL_ALPHA_REFLONG = 1
IMAGE_REL_ALPHA_REFQUAD = 2

0 comments on commit 76d046c

Please sign in to comment.