shedskin:mainline.git
10 years agofix cpp generation for 'import .. as'
mark.dufour [Wed, 27 Aug 2008 06:38:44 +0000 (06:38 +0000)]
fix cpp generation for 'import .. as'

git-svn-id: http://shedskin.googlecode.com/svn/trunk@316 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agouse import chain in lookupmodule, so e.g. import os; os.path.curdir works
mark.dufour [Tue, 26 Aug 2008 14:40:30 +0000 (14:40 +0000)]
use import chain in lookupmodule, so e.g. import os; os.path.curdir works

git-svn-id: http://shedskin.googlecode.com/svn/trunk@315 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoerr on relative imports (from (.)+.. import..)
mark.dufour [Tue, 26 Aug 2008 03:15:36 +0000 (03:15 +0000)]
err on relative imports (from (.)+.. import..)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@314 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoalso perform step-wise import in visitFrom
mark.dufour [Tue, 26 Aug 2008 03:11:18 +0000 (03:11 +0000)]
also perform step-wise import in visitFrom

git-svn-id: http://shedskin.googlecode.com/svn/trunk@313 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoalso for visitFrom
mark.dufour [Tue, 26 Aug 2008 02:36:15 +0000 (02:36 +0000)]
also for visitFrom

git-svn-id: http://shedskin.googlecode.com/svn/trunk@312 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agofix local imports in library modules (so we can fix lib/os/__init__.py)
mark.dufour [Tue, 26 Aug 2008 01:52:38 +0000 (01:52 +0000)]
fix local imports in library modules (so we can fix lib/os/__init__.py)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@311 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoimport a.b.c: import a, then a.b, then a.b.c
mark.dufour [Sat, 23 Aug 2008 17:46:21 +0000 (17:46 +0000)]
import a.b.c: import a, then a.b, then a.b.c

git-svn-id: http://shedskin.googlecode.com/svn/trunk@310 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agotypos
mark.dufour [Sat, 23 Aug 2008 15:23:40 +0000 (15:23 +0000)]
typos

git-svn-id: http://shedskin.googlecode.com/svn/trunk@309 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoadd some module documentation
mark.dufour [Sat, 23 Aug 2008 10:58:00 +0000 (10:58 +0000)]
add some module documentation

git-svn-id: http://shedskin.googlecode.com/svn/trunk@308 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoadd <climits>, necessary for GCC 4.3
mark.dufour [Sat, 23 Aug 2008 08:11:05 +0000 (08:11 +0000)]
add <climits>, necessary for GCC 4.3

git-svn-id: http://shedskin.googlecode.com/svn/trunk@307 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agotemporarily add -Wno-deprecated to silence GCC 4.3 deprecation warnings
mark.dufour [Sat, 23 Aug 2008 06:58:02 +0000 (06:58 +0000)]
temporarily add -Wno-deprecated to silence GCC 4.3 deprecation warnings

git-svn-id: http://shedskin.googlecode.com/svn/trunk@306 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoavoid two crashes for contained lambdas
mark.dufour [Sat, 23 Aug 2008 06:44:36 +0000 (06:44 +0000)]
avoid two crashes for contained lambdas

git-svn-id: http://shedskin.googlecode.com/svn/trunk@305 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodefault dst of -1 in datetime.timetuple (ffao)
mark.dufour [Fri, 22 Aug 2008 07:12:37 +0000 (07:12 +0000)]
default dst of -1 in datetime.timetuple (ffao)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@304 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agofix datetime.datetime.now() (ffao)
mark.dufour [Thu, 21 Aug 2008 08:03:46 +0000 (08:03 +0000)]
fix datetime.datetime.now() (ffao)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@300 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agosupport for staticmethod decorator (sanxiyn)
mark.dufour [Tue, 19 Aug 2008 17:01:35 +0000 (17:01 +0000)]
support for staticmethod decorator (sanxiyn)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@299 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agominor fix for GCC 4.3 (sanxiyn)
mark.dufour [Tue, 19 Aug 2008 16:21:32 +0000 (16:21 +0000)]
minor fix for GCC 4.3 (sanxiyn)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@298 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years ago-O3 seems broken, so use -O2
mark.dufour [Mon, 18 Aug 2008 07:15:55 +0000 (07:15 +0000)]
-O3 seems broken, so use -O2

git-svn-id: http://shedskin.googlecode.com/svn/trunk@297 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agooptimize set.symmetric_difference, set.update (ffao)
mark.dufour [Mon, 18 Aug 2008 07:15:18 +0000 (07:15 +0000)]
optimize set.symmetric_difference, set.update (ffao)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@296 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agorevert that, was somehow broken
mark.dufour [Sat, 16 Aug 2008 09:29:51 +0000 (09:29 +0000)]
revert that, was somehow broken

git-svn-id: http://shedskin.googlecode.com/svn/trunk@295 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoimprove performance of set.symmetric_difference (ffao)
mark.dufour [Sat, 16 Aug 2008 08:42:57 +0000 (08:42 +0000)]
improve performance of set.symmetric_difference (ffao)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@294 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agofix -b, -w options
mark.dufour [Fri, 15 Aug 2008 15:54:33 +0000 (15:54 +0000)]
fix -b, -w options

git-svn-id: http://shedskin.googlecode.com/svn/trunk@293 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agofix -b, -w options
mark.dufour [Fri, 15 Aug 2008 15:53:48 +0000 (15:53 +0000)]
fix -b, -w options

git-svn-id: http://shedskin.googlecode.com/svn/trunk@292 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agohack for strftime problem on windows (ffao)
mark.dufour [Tue, 29 Jul 2008 08:27:41 +0000 (08:27 +0000)]
hack for strftime problem on windows (ffao)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@291 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agomove __eq__, __ne__ etc. into classes
mark.dufour [Mon, 28 Jul 2008 14:13:24 +0000 (14:13 +0000)]
move __eq__, __ne__ etc. into classes

git-svn-id: http://shedskin.googlecode.com/svn/trunk@290 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agofrom datetime import *
mark.dufour [Mon, 28 Jul 2008 13:40:19 +0000 (13:40 +0000)]
from datetime import *

git-svn-id: http://shedskin.googlecode.com/svn/trunk@289 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agofix datetime on windows (ffao)
mark.dufour [Sun, 27 Jul 2008 17:45:24 +0000 (17:45 +0000)]
fix datetime on windows (ffao)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@288 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agofix extension module support for opensolaris
mark.dufour [Sat, 26 Jul 2008 19:03:15 +0000 (19:03 +0000)]
fix extension module support for opensolaris

git-svn-id: http://shedskin.googlecode.com/svn/trunk@287 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoremove -fomit-frame-pointer, breaks on solaris
mark.dufour [Sat, 26 Jul 2008 15:04:14 +0000 (15:04 +0000)]
remove -fomit-frame-pointer, breaks on solaris

git-svn-id: http://shedskin.googlecode.com/svn/trunk@286 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agogetcwd under solaris; one failing test left
mark.dufour [Sat, 26 Jul 2008 15:01:28 +0000 (15:01 +0000)]
getcwd under solaris; one failing test left

git-svn-id: http://shedskin.googlecode.com/svn/trunk@285 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodefine INFINITY on solaris
mark.dufour [Sat, 26 Jul 2008 13:57:30 +0000 (13:57 +0000)]
define INFINITY on solaris

git-svn-id: http://shedskin.googlecode.com/svn/trunk@284 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agosolaris fix, avoid 'sun' as variable name
mark.dufour [Fri, 25 Jul 2008 19:48:22 +0000 (19:48 +0000)]
solaris fix, avoid 'sun' as variable name

git-svn-id: http://shedskin.googlecode.com/svn/trunk@283 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoforgot to uncomment line
mark.dufour [Fri, 25 Jul 2008 19:41:20 +0000 (19:41 +0000)]
forgot to uncomment line

git-svn-id: http://shedskin.googlecode.com/svn/trunk@282 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoopensolaris fixes: only four failing tests left
mark.dufour [Fri, 25 Jul 2008 19:37:20 +0000 (19:37 +0000)]
opensolaris fixes: only four failing tests left

git-svn-id: http://shedskin.googlecode.com/svn/trunk@281 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agotimedelta operators; fix in lib/time.py (david marek)
mark.dufour [Fri, 25 Jul 2008 15:04:59 +0000 (15:04 +0000)]
timedelta operators; fix in lib/time.py (david marek)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@280 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodatetime.py update (karel heyse)
mark.dufour [Thu, 24 Jul 2008 13:31:10 +0000 (13:31 +0000)]
datetime.py update (karel heyse)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@279 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodatetime update (karel heyse)
mark.dufour [Thu, 24 Jul 2008 13:03:02 +0000 (13:03 +0000)]
datetime update (karel heyse)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@278 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agosome fixes for open solaris
mark.dufour [Wed, 23 Jul 2008 19:05:39 +0000 (19:05 +0000)]
some fixes for open solaris

git-svn-id: http://shedskin.googlecode.com/svn/trunk@277 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoFreeBSD fixes
mark.dufour [Fri, 18 Jul 2008 19:54:03 +0000 (19:54 +0000)]
FreeBSD fixes

git-svn-id: http://shedskin.googlecode.com/svn/trunk@276 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agorandom.randrange can take a single argument (bearophile)
mark.dufour [Fri, 18 Jul 2008 17:23:39 +0000 (17:23 +0000)]
random.randrange can take a single argument (bearophile)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@275 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agorandom.randrange can take a single argument (bearophile)
mark.dufour [Fri, 18 Jul 2008 17:23:03 +0000 (17:23 +0000)]
random.randrange can take a single argument (bearophile)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@274 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoadd space after while
mark.dufour [Fri, 18 Jul 2008 14:54:04 +0000 (14:54 +0000)]
add space after while

git-svn-id: http://shedskin.googlecode.com/svn/trunk@273 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agorename -n option to -w (bearophile)
mark.dufour [Fri, 18 Jul 2008 14:47:17 +0000 (14:47 +0000)]
rename -n option to -w (bearophile)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@272 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoadd function to avoid problems with default None values for int arguments in library...
mark.dufour [Thu, 10 Jul 2008 10:11:45 +0000 (10:11 +0000)]
add function to avoid problems with default None values for int arguments in library modules

git-svn-id: http://shedskin.googlecode.com/svn/trunk@271 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoadd two datetime tests
mark.dufour [Thu, 10 Jul 2008 08:47:31 +0000 (08:47 +0000)]
add two datetime tests

git-svn-id: http://shedskin.googlecode.com/svn/trunk@270 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agothanks
mark.dufour [Wed, 9 Jul 2008 10:24:50 +0000 (10:24 +0000)]
thanks

git-svn-id: http://shedskin.googlecode.com/svn/trunk@269 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoinitial datetime implementation (karel heyse)
mark.dufour [Wed, 9 Jul 2008 10:22:28 +0000 (10:22 +0000)]
initial datetime implementation (karel heyse)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@268 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoenable keyword arguments for datetime module
mark.dufour [Wed, 9 Jul 2008 09:19:31 +0000 (09:19 +0000)]
enable keyword arguments for datetime module

git-svn-id: http://shedskin.googlecode.com/svn/trunk@267 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoadd colon to 'f' option (karel heyse)
mark.dufour [Tue, 1 Jul 2008 09:22:54 +0000 (09:22 +0000)]
add colon to 'f' option (karel heyse)

git-svn-id: http://shedskin.googlecode.com/svn/trunk@266 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agouse char cache in str.{lower, upper}
mark.dufour [Fri, 27 Jun 2008 10:40:03 +0000 (10:40 +0000)]
use char cache in str.{lower, upper}

git-svn-id: http://shedskin.googlecode.com/svn/trunk@265 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoone more test
mark.dufour [Tue, 24 Jun 2008 11:39:39 +0000 (11:39 +0000)]
one more test

git-svn-id: http://shedskin.googlecode.com/svn/trunk@264 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoextension modules: improve def args
mark.dufour [Tue, 24 Jun 2008 11:26:22 +0000 (11:26 +0000)]
extension modules: improve def args

git-svn-id: http://shedskin.googlecode.com/svn/trunk@263 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years ago64 bit fix
mark.dufour [Mon, 23 Jun 2008 13:15:33 +0000 (13:15 +0000)]
64 bit fix

git-svn-id: http://shedskin.googlecode.com/svn/trunk@262 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agofixes for shedskin -e pystone
mark.dufour [Thu, 19 Jun 2008 10:48:22 +0000 (10:48 +0000)]
fixes for shedskin -e pystone

git-svn-id: http://shedskin.googlecode.com/svn/trunk@261 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agomake full should of course call shedskin, not ss
mark.dufour [Wed, 18 Jun 2008 12:27:27 +0000 (12:27 +0000)]
make full should of course call shedskin, not ss

git-svn-id: http://shedskin.googlecode.com/svn/trunk@260 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodoh
mark.dufour [Mon, 16 Jun 2008 10:06:19 +0000 (10:06 +0000)]
doh

git-svn-id: http://shedskin.googlecode.com/svn/trunk@259 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agominor fix for staticmethods
mark.dufour [Thu, 12 Jun 2008 07:59:08 +0000 (07:59 +0000)]
minor fix for staticmethods

git-svn-id: http://shedskin.googlecode.com/svn/trunk@258 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoalso test list.count
mark.dufour [Wed, 11 Jun 2008 12:50:31 +0000 (12:50 +0000)]
also test list.count

git-svn-id: http://shedskin.googlecode.com/svn/trunk@257 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agouse __eq in list.index instead of ==
mark.dufour [Wed, 11 Jun 2008 12:42:07 +0000 (12:42 +0000)]
use __eq in list.index instead of ==

git-svn-id: http://shedskin.googlecode.com/svn/trunk@256 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoSOL_IP, INADDR_NONE not available on solaris
mark.dufour [Sat, 7 Jun 2008 06:59:39 +0000 (06:59 +0000)]
SOL_IP, INADDR_NONE not available on solaris

git-svn-id: http://shedskin.googlecode.com/svn/trunk@255 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoasprintf/vasprintf not available on solaris
mark.dufour [Sat, 7 Jun 2008 06:57:43 +0000 (06:57 +0000)]
asprintf/vasprintf not available on solaris

git-svn-id: http://shedskin.googlecode.com/svn/trunk@254 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoavoid conflict between __reverse and std::__reverse on some system
mark.dufour [Sat, 7 Jun 2008 06:54:59 +0000 (06:54 +0000)]
avoid conflict between __reverse and std::__reverse on some system

git-svn-id: http://shedskin.googlecode.com/svn/trunk@253 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agorevert to /bin/sh
mark.dufour [Fri, 6 Jun 2008 07:04:03 +0000 (07:04 +0000)]
revert to /bin/sh

git-svn-id: http://shedskin.googlecode.com/svn/trunk@252 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoThanks
mark.dufour [Thu, 5 Jun 2008 19:38:30 +0000 (19:38 +0000)]
Thanks

git-svn-id: http://shedskin.googlecode.com/svn/trunk@251 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoalways use /bin/bash, export keyword not necessary
mark.dufour [Thu, 5 Jun 2008 19:24:52 +0000 (19:24 +0000)]
always use /bin/bash, export keyword not necessary

git-svn-id: http://shedskin.googlecode.com/svn/trunk@250 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years ago0.0.28 notes
mark.dufour [Sun, 1 Jun 2008 17:47:20 +0000 (17:47 +0000)]
0.0.28 notes

git-svn-id: http://shedskin.googlecode.com/svn/trunk@245 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agothanks
mark.dufour [Sun, 1 Jun 2008 17:38:42 +0000 (17:38 +0000)]
thanks

git-svn-id: http://shedskin.googlecode.com/svn/trunk@244 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agolibrary implementations now in lib/
mark.dufour [Sun, 1 Jun 2008 17:22:37 +0000 (17:22 +0000)]
library implementations now in lib/

git-svn-id: http://shedskin.googlecode.com/svn/trunk@243 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoadd backward.py
mark.dufour [Sun, 1 Jun 2008 17:18:14 +0000 (17:18 +0000)]
add backward.py

git-svn-id: http://shedskin.googlecode.com/svn/trunk@242 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoupdate for 0.0.28
mark.dufour [Sun, 1 Jun 2008 10:05:32 +0000 (10:05 +0000)]
update for 0.0.28

git-svn-id: http://shedskin.googlecode.com/svn/trunk@241 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoadd backward.py
mark.dufour [Sun, 1 Jun 2008 09:31:13 +0000 (09:31 +0000)]
add backward.py

git-svn-id: http://shedskin.googlecode.com/svn/trunk@240 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoupdate for 0.0.28
mark.dufour [Sun, 1 Jun 2008 09:20:54 +0000 (09:20 +0000)]
update for 0.0.28

git-svn-id: http://shedskin.googlecode.com/svn/trunk@239 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoupdate for 0.0.28
mark.dufour [Sun, 1 Jun 2008 09:18:57 +0000 (09:18 +0000)]
update for 0.0.28

git-svn-id: http://shedskin.googlecode.com/svn/trunk@238 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoupdate for 0.0.28
mark.dufour [Sun, 1 Jun 2008 09:17:42 +0000 (09:17 +0000)]
update for 0.0.28

git-svn-id: http://shedskin.googlecode.com/svn/trunk@237 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoregression on unix, different pyver.. ugliness
mark.dufour [Sun, 1 Jun 2008 09:12:57 +0000 (09:12 +0000)]
regression on unix, different pyver.. ugliness

git-svn-id: http://shedskin.googlecode.com/svn/trunk@236 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agowin32 check for lws2_32 of course..
mark.dufour [Sun, 1 Jun 2008 09:07:14 +0000 (09:07 +0000)]
win32 check for lws2_32 of course..

git-svn-id: http://shedskin.googlecode.com/svn/trunk@235 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodisable mingw check for now
mark.dufour [Sun, 1 Jun 2008 09:05:08 +0000 (09:05 +0000)]
disable mingw check for now

git-svn-id: http://shedskin.googlecode.com/svn/trunk@234 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agouse sys.version again on windows
mark.dufour [Sun, 1 Jun 2008 09:02:43 +0000 (09:02 +0000)]
use sys.version again on windows

git-svn-id: http://shedskin.googlecode.com/svn/trunk@233 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agolink with libws2_32 on windows if socket module is used
mark.dufour [Sun, 1 Jun 2008 08:39:01 +0000 (08:39 +0000)]
link with libws2_32 on windows if socket module is used

git-svn-id: http://shedskin.googlecode.com/svn/trunk@232 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodisplay error if c:/mingw exists
mark.dufour [Sat, 31 May 2008 19:31:54 +0000 (19:31 +0000)]
display error if c:/mingw exists

git-svn-id: http://shedskin.googlecode.com/svn/trunk@231 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agosets not defined for 2.3, so disable conversion code
mark.dufour [Sat, 31 May 2008 12:11:44 +0000 (12:11 +0000)]
sets not defined for 2.3, so disable conversion code

git-svn-id: http://shedskin.googlecode.com/svn/trunk@230 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoavoid compiler warnings when building extmods with 2.3, 2.4
mark.dufour [Sat, 31 May 2008 11:56:28 +0000 (11:56 +0000)]
avoid compiler warnings when building extmods with 2.3, 2.4

git-svn-id: http://shedskin.googlecode.com/svn/trunk@229 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodon't forget -lpython on darwin, cleanup pyver
mark.dufour [Sat, 31 May 2008 10:12:18 +0000 (10:12 +0000)]
don't forget -lpython on darwin, cleanup pyver

git-svn-id: http://shedskin.googlecode.com/svn/trunk@228 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoreplace python-config hack with distutils.sysconfig
mark.dufour [Sat, 31 May 2008 09:57:08 +0000 (09:57 +0000)]
replace python-config hack with distutils.sysconfig

git-svn-id: http://shedskin.googlecode.com/svn/trunk@227 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoerror when using sorted/list.sort key argument
mark.dufour [Thu, 29 May 2008 14:19:10 +0000 (14:19 +0000)]
error when using sorted/list.sort key argument

git-svn-id: http://shedskin.googlecode.com/svn/trunk@226 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoavoid crash for target functions with different signatures
mark.dufour [Thu, 29 May 2008 11:03:35 +0000 (11:03 +0000)]
avoid crash for target functions with different signatures

git-svn-id: http://shedskin.googlecode.com/svn/trunk@225 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agomention socket support in title
mark.dufour [Wed, 28 May 2008 08:55:20 +0000 (08:55 +0000)]
mention socket support in title

git-svn-id: http://shedskin.googlecode.com/svn/trunk@224 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agogive up after 30 iterations with -i option
mark.dufour [Wed, 28 May 2008 08:52:14 +0000 (08:52 +0000)]
give up after 30 iterations with -i option

git-svn-id: http://shedskin.googlecode.com/svn/trunk@223 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agofix and test all fast-for step cases; add parentheses around unarysub/add expressions
mark.dufour [Wed, 28 May 2008 08:43:37 +0000 (08:43 +0000)]
fix and test all fast-for step cases; add parentheses around unarysub/add expressions

git-svn-id: http://shedskin.googlecode.com/svn/trunk@222 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoupdate for 0.0.28
mark.dufour [Wed, 28 May 2008 08:38:03 +0000 (08:38 +0000)]
update for 0.0.28

git-svn-id: http://shedskin.googlecode.com/svn/trunk@221 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agobump version number to 0.0.28
mark.dufour [Wed, 28 May 2008 06:50:44 +0000 (06:50 +0000)]
bump version number to 0.0.28

git-svn-id: http://shedskin.googlecode.com/svn/trunk@220 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agousage: show 'shedskin' instead of 'ss.py'
mark.dufour [Wed, 28 May 2008 06:49:20 +0000 (06:49 +0000)]
usage: show 'shedskin' instead of 'ss.py'

git-svn-id: http://shedskin.googlecode.com/svn/trunk@219 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agofixes for OSX
mark.dufour [Tue, 27 May 2008 19:48:48 +0000 (19:48 +0000)]
fixes for OSX

git-svn-id: http://shedskin.googlecode.com/svn/trunk@218 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodon't add include/lib dirs if they don't exist
mark.dufour [Tue, 27 May 2008 19:41:36 +0000 (19:41 +0000)]
don't add include/lib dirs if they don't exist

git-svn-id: http://shedskin.googlecode.com/svn/trunk@217 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agotest socket/stat compilation, remove sets module for now
mark.dufour [Tue, 27 May 2008 15:41:15 +0000 (15:41 +0000)]
test socket/stat compilation, remove sets module for now

git-svn-id: http://shedskin.googlecode.com/svn/trunk@216 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoss-progs regression (msp_ss.py): don't change 'nodes'
mark.dufour [Tue, 27 May 2008 15:21:02 +0000 (15:21 +0000)]
ss-progs regression (msp_ss.py): don't change 'nodes'

git-svn-id: http://shedskin.googlecode.com/svn/trunk@215 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoinheritance merge of list comprehension vars
mark.dufour [Mon, 26 May 2008 19:01:33 +0000 (19:01 +0000)]
inheritance merge of list comprehension vars

git-svn-id: http://shedskin.googlecode.com/svn/trunk@214 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodon't make consts for nodes in inherited functions
mark.dufour [Mon, 26 May 2008 15:15:34 +0000 (15:15 +0000)]
don't make consts for nodes in inherited functions

git-svn-id: http://shedskin.googlecode.com/svn/trunk@213 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agoauto-register tempvars for inheritance merging
mark.dufour [Mon, 26 May 2008 14:17:44 +0000 (14:17 +0000)]
auto-register tempvars for inheritance merging

git-svn-id: http://shedskin.googlecode.com/svn/trunk@212 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agotempvar needs parent func
mark.dufour [Mon, 26 May 2008 13:48:32 +0000 (13:48 +0000)]
tempvar needs parent func

git-svn-id: http://shedskin.googlecode.com/svn/trunk@211 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d

10 years agodon't visit listcomps in inherited functions, minor cleanup
mark.dufour [Mon, 26 May 2008 10:16:11 +0000 (10:16 +0000)]
don't visit listcomps in inherited functions, minor cleanup

git-svn-id: http://shedskin.googlecode.com/svn/trunk@210 acccb5f4-fd3f-0410-a51f-a7a3fbc0418d