shedskin:mainline.git
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

10 years agofix for reverse sorting and equal values
mark.dufour [Sat, 24 May 2008 19:25:18 +0000 (19:25 +0000)]
fix for reverse sorting and equal values

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

10 years agofix for inheritance and temp vars (no perfect solution yet)
mark.dufour [Sat, 24 May 2008 10:00:28 +0000 (10:00 +0000)]
fix for inheritance and temp vars (no perfect solution yet)

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

10 years agofinish support for sorted, list.sort args cmp and reverse
mark.dufour [Fri, 23 May 2008 14:12:52 +0000 (14:12 +0000)]
finish support for sorted, list.sort args cmp and reverse

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

10 years agostart of support for cmp and reverse arguments of sorted and list.sort
mark.dufour [Thu, 22 May 2008 18:15:08 +0000 (18:15 +0000)]
start of support for cmp and reverse arguments of sorted and list.sort

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

10 years agofast_for_neg in listcomp_for
mark.dufour [Thu, 22 May 2008 09:14:16 +0000 (09:14 +0000)]
fast_for_neg in listcomp_for

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

10 years agorestore 2.3 compatibility
mark.dufour [Thu, 22 May 2008 08:29:49 +0000 (08:29 +0000)]
restore 2.3 compatibility

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

10 years agoOSX make fix (matteo bertini); fix some GCC 4.2.3 warnings
mark.dufour [Sat, 26 Apr 2008 10:28:05 +0000 (10:28 +0000)]
OSX make fix (matteo bertini); fix some GCC 4.2.3 warnings

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

10 years agomulti core test script
mark.dufour [Sat, 26 Apr 2008 10:26:13 +0000 (10:26 +0000)]
multi core test script

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

10 years agouse seq/iter protocols in random.{choice,sample}
mark.dufour [Sun, 20 Apr 2008 11:00:17 +0000 (11:00 +0000)]
use seq/iter protocols in random.{choice,sample}

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

10 years agoreindent socket implementation (michael elkins)
mark.dufour [Fri, 7 Mar 2008 21:50:51 +0000 (21:50 +0000)]
reindent socket implementation (michael elkins)

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

10 years agoreplace tabs here, too
mark.dufour [Fri, 7 Mar 2008 14:46:24 +0000 (14:46 +0000)]
replace tabs here, too

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

10 years agoreplace tabs with spaces! :/
mark.dufour [Fri, 7 Mar 2008 14:40:33 +0000 (14:40 +0000)]
replace tabs with spaces! :/

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

10 years agosocket update (michael elkins)
mark.dufour [Fri, 7 Mar 2008 14:16:46 +0000 (14:16 +0000)]
socket update (michael elkins)

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

10 years agohandle C++ boolean type in some builtins, fix oct(0)
mark.dufour [Fri, 7 Mar 2008 11:42:20 +0000 (11:42 +0000)]
handle C++ boolean type in some builtins, fix oct(0)

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

10 years agotest
mark.dufour [Fri, 7 Mar 2008 10:24:59 +0000 (10:24 +0000)]
test

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

10 years agowarning for socket.set/gettimeout
mark.dufour [Sat, 1 Mar 2008 22:51:51 +0000 (22:51 +0000)]
warning for socket.set/gettimeout

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

10 years agoexception for unarysub/add(int,float)
mark.dufour [Sat, 1 Mar 2008 20:45:14 +0000 (20:45 +0000)]
exception for unarysub/add(int,float)

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

10 years agoimprove default arguments: cross-module, initialization order..
mark.dufour [Sat, 1 Mar 2008 19:35:18 +0000 (19:35 +0000)]
improve default arguments: cross-module, initialization order..

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

10 years agocleanup parse_module and fix two potential problems
mark.dufour [Sat, 1 Mar 2008 10:19:32 +0000 (10:19 +0000)]
cleanup parse_module and fix two potential problems

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

10 years agopopen3, popen4 (jaroslaw tworek)
mark.dufour [Thu, 28 Feb 2008 16:04:28 +0000 (16:04 +0000)]
popen3, popen4 (jaroslaw tworek)

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

10 years agothanks
mark.dufour [Thu, 28 Feb 2008 10:21:15 +0000 (10:21 +0000)]
thanks

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