shedskin:arkanosis-mainline.git
6 years agoterminate after hitting max nr of iterations 3 times
Mark Dufour [Sat, 10 Sep 2011 08:16:04 +0000 (10:16 +0200)]
terminate after hitting max nr of iterations 3 times

6 years agodatetime: win32 fix
Mark Dufour [Fri, 9 Sep 2011 12:04:06 +0000 (14:04 +0200)]
datetime: win32 fix

6 years agommap: win32 needs default_2
Mark Dufour [Fri, 9 Sep 2011 10:58:20 +0000 (12:58 +0200)]
mmap: win32 needs default_2

6 years agouse var.cpp_name in copy_
Mark Dufour [Wed, 7 Sep 2011 15:57:20 +0000 (17:57 +0200)]
use var.cpp_name in copy_

6 years agobreak out special case from cpp_name
Mark Dufour [Wed, 7 Sep 2011 14:44:41 +0000 (16:44 +0200)]
break out special case from cpp_name

6 years agomore of that
Mark Dufour [Wed, 7 Sep 2011 13:22:43 +0000 (15:22 +0200)]
more of that

6 years agosome more cpp_name cleanage
Mark Dufour [Wed, 7 Sep 2011 13:04:57 +0000 (15:04 +0200)]
some more cpp_name cleanage

6 years agoimprove and use variable.cpp_name more
Mark Dufour [Mon, 5 Sep 2011 18:57:23 +0000 (20:57 +0200)]
improve and use variable.cpp_name more

6 years agocleanup: add class_.cpp_name method
Mark Dufour [Sun, 4 Sep 2011 20:35:44 +0000 (22:35 +0200)]
cleanup: add class_.cpp_name method

6 years agocleanup: replace if-elif construction with dict
Mark Dufour [Sun, 4 Sep 2011 20:13:14 +0000 (22:13 +0200)]
cleanup: replace if-elif construction with dict

6 years agoremove senseless comment
Mark Dufour [Sun, 4 Sep 2011 16:33:48 +0000 (18:33 +0200)]
remove senseless comment

6 years agoa bit more of that
Mark Dufour [Sat, 3 Sep 2011 18:06:19 +0000 (20:06 +0200)]
a bit more of that

6 years agonow that FOR_IN_DICT uses dict::next, we need to use __ss_int for 'pos'
Mark Dufour [Sat, 3 Sep 2011 16:56:40 +0000 (18:56 +0200)]
now that FOR_IN_DICT uses dict::next, we need to use __ss_int for 'pos'

6 years agoupdate tx.py
Mark Dufour [Sat, 3 Sep 2011 12:02:08 +0000 (14:02 +0200)]
update tx.py

6 years agoupdate man page
Mark Dufour [Sat, 3 Sep 2011 11:38:54 +0000 (13:38 +0200)]
update man page

6 years agousage update
Mark Dufour [Sat, 3 Sep 2011 11:38:08 +0000 (13:38 +0200)]
usage update

6 years agoalphabetical..
Mark Dufour [Sat, 3 Sep 2011 11:36:45 +0000 (13:36 +0200)]
alphabetical..

6 years agoremove docs, update dist script for 0.9
Mark Dufour [Sat, 3 Sep 2011 11:23:30 +0000 (13:23 +0200)]
remove docs, update dist script for 0.9

6 years agoupdate LICENSE
Mark Dufour [Sat, 3 Sep 2011 11:13:28 +0000 (13:13 +0200)]
update LICENSE

6 years agofix 'return 0' in generator with even uglier hack
Mark Dufour [Sat, 3 Sep 2011 10:35:26 +0000 (12:35 +0200)]
fix 'return 0' in generator with even uglier hack

6 years agomake deep copying deeper
Mark Dufour [Sat, 3 Sep 2011 10:15:59 +0000 (12:15 +0200)]
make deep copying deeper

6 years agoforgot extmod.py
Mark Dufour [Thu, 1 Sep 2011 21:32:45 +0000 (23:32 +0200)]
forgot extmod.py

6 years agosplit up cpp.py a bit further
Mark Dufour [Thu, 1 Sep 2011 21:32:15 +0000 (23:32 +0200)]
split up cpp.py a bit further

6 years agomove 'copy' functionality to separate file
Mark Dufour [Thu, 1 Sep 2011 21:01:00 +0000 (23:01 +0200)]
move 'copy' functionality to separate file

6 years agominor fix there
Mark Dufour [Thu, 1 Sep 2011 20:33:36 +0000 (22:33 +0200)]
minor fix there

6 years agoadd deepcopy test
Mark Dufour [Thu, 1 Sep 2011 20:04:54 +0000 (22:04 +0200)]
add deepcopy test

6 years agoremove those
Mark Dufour [Thu, 1 Sep 2011 17:53:28 +0000 (19:53 +0200)]
remove those

6 years agoupdate README
Mark Dufour [Thu, 1 Sep 2011 17:37:09 +0000 (19:37 +0200)]
update README

6 years agonew example: k-means++ clustering
Mark Dufour [Thu, 1 Sep 2011 17:33:41 +0000 (19:33 +0200)]
new example: k-means++ clustering

6 years agoadd test with different key and value types
Mark Dufour [Thu, 1 Sep 2011 16:43:23 +0000 (18:43 +0200)]
add test with different key and value types

6 years agoforgot tests
Mark Dufour [Thu, 1 Sep 2011 14:11:53 +0000 (16:11 +0200)]
forgot tests

6 years agooptimize 'for .., .. in somedict.iteritems()'
Mark Dufour [Thu, 1 Sep 2011 14:04:37 +0000 (16:04 +0200)]
optimize 'for .., .. in somedict.iteritems()'

6 years agobeginnings of 'for a,b in dict.iteritems()' optimization
Mark Dufour [Mon, 29 Aug 2011 20:40:12 +0000 (22:40 +0200)]
beginnings of 'for a,b in dict.iteritems()' optimization

6 years agosome int<->bool conversion improvements
Mark Dufour [Mon, 29 Aug 2011 18:06:59 +0000 (20:06 +0200)]
some int<->bool conversion improvements

6 years agoadd warning for 'del AssName'
Mark Dufour [Sun, 28 Aug 2011 18:15:58 +0000 (20:15 +0200)]
add warning for 'del AssName'

6 years agotransfer fix from instance_new
Mark Dufour [Sun, 28 Aug 2011 17:02:35 +0000 (19:02 +0200)]
transfer fix from instance_new

6 years agodon't initialize unused default
Mark Dufour [Sun, 28 Aug 2011 16:38:02 +0000 (18:38 +0200)]
don't initialize unused default

6 years agodisable some dead code in loop.py that now causes a problem
Mark Dufour [Sun, 28 Aug 2011 16:19:19 +0000 (18:19 +0200)]
disable some dead code in loop.py that now causes a problem

6 years agoavoid int/bool mixing in pisang.py
Mark Dufour [Sun, 28 Aug 2011 16:16:49 +0000 (18:16 +0200)]
avoid int/bool mixing in pisang.py

6 years agoadd copyright header to every file in shedskin/lib
Mark Dufour [Sun, 28 Aug 2011 15:55:32 +0000 (17:55 +0200)]
add copyright header to every file in shedskin/lib

6 years agoname MIT license as well
Mark Dufour [Sun, 28 Aug 2011 15:41:34 +0000 (17:41 +0200)]
name MIT license as well

6 years agoupdate LICENSE a bit
Mark Dufour [Sun, 28 Aug 2011 15:39:20 +0000 (17:39 +0200)]
update LICENSE a bit

6 years agoupdate copyright headers for shedskin/*.py
Mark Dufour [Sun, 28 Aug 2011 15:38:10 +0000 (17:38 +0200)]
update copyright headers for shedskin/*.py

6 years agoupdate plcfrs.py example
Mark Dufour [Sun, 28 Aug 2011 15:05:18 +0000 (17:05 +0200)]
update plcfrs.py example

6 years agofinally, rewrite assign_needs_cast as incompatible_assignment
Mark Dufour [Sun, 28 Aug 2011 13:48:56 +0000 (15:48 +0200)]
finally, rewrite assign_needs_cast as incompatible_assignment

6 years agoremove unused function
Mark Dufour [Sun, 28 Aug 2011 10:15:13 +0000 (12:15 +0200)]
remove unused function

6 years agosome fixes for new modules and shedskin -l
Mark Dufour [Sun, 28 Aug 2011 10:08:12 +0000 (12:08 +0200)]
some fixes for new modules and shedskin -l

6 years agoreplace last usage of assign_needs_cast with visit_conv
Mark Dufour [Sat, 27 Aug 2011 20:08:53 +0000 (22:08 +0200)]
replace last usage of assign_needs_cast with visit_conv

6 years agomake cast_to_builtin type-based, more flexible than typestrings
Mark Dufour [Sat, 27 Aug 2011 19:33:11 +0000 (21:33 +0200)]
make cast_to_builtin type-based, more flexible than typestrings

6 years agosome more test conversion tests
Mark Dufour [Sat, 27 Aug 2011 18:39:19 +0000 (20:39 +0200)]
some more test conversion tests

6 years agouse visit_conv for addition
Mark Dufour [Sat, 27 Aug 2011 18:19:55 +0000 (20:19 +0200)]
use visit_conv for addition

6 years agoremove another use of assign_needs_cast, by improving default args
Mark Dufour [Sat, 27 Aug 2011 17:51:39 +0000 (19:51 +0200)]
remove another use of assign_needs_cast, by improving default args

6 years agosupport up to three args for all set methods (brent)
Brent Pedersen [Sat, 27 Aug 2011 16:07:44 +0000 (18:07 +0200)]
support up to three args for all set methods (brent)

6 years agomultiple args for set.difference_update (brent)
Brent Pedersen [Sat, 27 Aug 2011 12:06:25 +0000 (14:06 +0200)]
multiple args for set.difference_update (brent)

6 years agouse visit_conv in assignment, only few cases left
Mark Dufour [Sat, 27 Aug 2011 10:41:08 +0000 (12:41 +0200)]
use visit_conv in assignment, only few cases left

6 years agosimplify var_assign_needs_cast by removing it
Mark Dufour [Sat, 27 Aug 2011 10:14:07 +0000 (12:14 +0200)]
simplify var_assign_needs_cast by removing it

6 years agoexamples/plcfrs: itertools.chain unused
Mark Dufour [Sat, 27 Aug 2011 09:54:38 +0000 (11:54 +0200)]
examples/plcfrs: itertools.chain unused

6 years agoforgot to update test script of course
Mark Dufour [Sat, 27 Aug 2011 09:43:59 +0000 (11:43 +0200)]
forgot to update test script of course

6 years agoadd an RCG natural language parser (andreas van cranenburgh)
Mark Dufour [Sat, 27 Aug 2011 09:39:09 +0000 (11:39 +0200)]
add an RCG natural language parser (andreas van cranenburgh)

6 years agowrestle visit_andor into using visit_conv
Mark Dufour [Sat, 27 Aug 2011 09:30:43 +0000 (11:30 +0200)]
wrestle visit_andor into using visit_conv

6 years agosome further fine-tuning for rc4
Mark Dufour [Fri, 26 Aug 2011 19:30:45 +0000 (21:30 +0200)]
some further fine-tuning for rc4

6 years agofile.read(1) optimization (for rc4)
=Fran├žois Boutines [Wed, 24 Aug 2011 23:49:36 +0000 (01:49 +0200)]
file.read(1) optimization (for rc4)

6 years agooptimize bool(str)
Mark Dufour [Sat, 20 Aug 2011 09:49:32 +0000 (11:49 +0200)]
optimize bool(str)

6 years agonew speed test (thanks to funami)
Mark Dufour [Sat, 20 Aug 2011 09:07:25 +0000 (11:07 +0200)]
new speed test (thanks to funami)

6 years agouseful script to investigate e.g. rich comparison
Mark Dufour [Thu, 18 Aug 2011 19:00:55 +0000 (21:00 +0200)]
useful script to investigate e.g. rich comparison

6 years agomove Makefile generation to shedskin/makefile.py
Mark Dufour [Thu, 18 Aug 2011 18:51:43 +0000 (20:51 +0200)]
move Makefile generation to shedskin/makefile.py

6 years agouse visit_conv also for other slice method, didn't work correctly before
Mark Dufour [Thu, 18 Aug 2011 15:14:59 +0000 (17:14 +0200)]
use visit_conv also for other slice method, didn't work correctly before

6 years agousing visit_conv for slicing 1/2
Mark Dufour [Thu, 18 Aug 2011 12:52:07 +0000 (14:52 +0200)]
using visit_conv for slicing 1/2

6 years agomove struct hacks to separate struct_.py
Mark Dufour [Thu, 18 Aug 2011 10:52:18 +0000 (12:52 +0200)]
move struct hacks to separate struct_.py

6 years agofix lcp check for Name('self')
Mark Dufour [Thu, 18 Aug 2011 10:02:09 +0000 (12:02 +0200)]
fix lcp check for Name('self')

6 years agogeneralize self-specific code to visitName, remove returnexpr function
Mark Dufour [Wed, 17 Aug 2011 22:19:05 +0000 (00:19 +0200)]
generalize self-specific code to visitName, remove returnexpr function

6 years agouse visit_conv for return statements
Mark Dufour [Wed, 17 Aug 2011 20:56:40 +0000 (22:56 +0200)]
use visit_conv for return statements

6 years agowin32 implementation of os.utime
Mark Dufour [Tue, 16 Aug 2011 19:34:21 +0000 (21:34 +0200)]
win32 implementation of os.utime

6 years agoupdate script a bit
Mark Dufour [Sat, 13 Aug 2011 19:13:18 +0000 (21:13 +0200)]
update script a bit

6 years agoimprove that a bit
Mark Dufour [Sat, 13 Aug 2011 16:45:46 +0000 (18:45 +0200)]
improve that a bit

6 years agoscript to easily make scalability graph for different versions of shedskin
Mark Dufour [Sat, 13 Aug 2011 16:23:14 +0000 (18:23 +0200)]
script to easily make scalability graph for different versions of shedskin

6 years agoadd timer and --silent mode (thanks jason ye for timer suggestion)
Mark Dufour [Sat, 13 Aug 2011 15:44:48 +0000 (17:44 +0200)]
add timer and --silent mode (thanks jason ye for timer suggestion)

6 years agofinally merge visit_child and visit_conv
Mark Dufour [Sat, 13 Aug 2011 15:22:53 +0000 (17:22 +0200)]
finally merge visit_child and visit_conv

6 years agouse all over visitCompare
Mark Dufour [Sat, 13 Aug 2011 14:58:42 +0000 (16:58 +0200)]
use all over visitCompare

6 years agoremove unused method
Mark Dufour [Sat, 13 Aug 2011 12:34:49 +0000 (14:34 +0200)]
remove unused method

6 years agoremove padme() method
Mark Dufour [Sat, 13 Aug 2011 12:19:40 +0000 (14:19 +0200)]
remove padme() method

6 years agoalmost equal now
Mark Dufour [Sat, 13 Aug 2011 12:03:29 +0000 (14:03 +0200)]
almost equal now

6 years agomake visit_child and visit_conv more similar, in preparation for merge
Mark Dufour [Sat, 13 Aug 2011 11:43:36 +0000 (13:43 +0200)]
make visit_child and visit_conv more similar, in preparation for merge

6 years agochange in 'time' broke windows version (Tony Veijalainen)
Mark Dufour [Fri, 12 Aug 2011 15:12:51 +0000 (17:12 +0200)]
change in 'time' broke windows version (Tony Veijalainen)

6 years agodon't waste effort on parentheses
Mark Dufour [Fri, 12 Aug 2011 14:44:45 +0000 (16:44 +0200)]
don't waste effort on parentheses

6 years agouse to avoid cast in comparison, fixes for set()
Mark Dufour [Fri, 12 Aug 2011 14:29:08 +0000 (16:29 +0200)]
use to avoid cast in comparison, fixes for set()

6 years agofill that in a bit further, add incompatibility check
Mark Dufour [Fri, 12 Aug 2011 13:41:26 +0000 (15:41 +0200)]
fill that in a bit further, add incompatibility check

6 years agostart of rewriting exprs with incompatible types (as opposed to casting)
Mark Dufour [Fri, 12 Aug 2011 13:09:59 +0000 (15:09 +0200)]
start of rewriting exprs with incompatible types (as opposed to casting)

6 years agoalter test comments
Mark Dufour [Thu, 11 Aug 2011 18:51:55 +0000 (20:51 +0200)]
alter test comments

6 years agoforward-referencing variables in inherited methods.. (thanks jason ye for test case)
Mark Dufour [Thu, 11 Aug 2011 18:38:50 +0000 (20:38 +0200)]
forward-referencing variables in inherited methods.. (thanks jason ye for test case)

6 years agoadd another problem (thanks again jason ye)
Mark Dufour [Thu, 11 Aug 2011 17:19:37 +0000 (19:19 +0200)]
add another problem (thanks again jason ye)

6 years ago'refer' method didn't do much
Mark Dufour [Thu, 11 Aug 2011 12:28:08 +0000 (14:28 +0200)]
'refer' method didn't do much

6 years agomicro-optimize propagate a bit further
Mark Dufour [Wed, 10 Aug 2011 14:29:27 +0000 (16:29 +0200)]
micro-optimize propagate a bit further

6 years agoavoid calling cpa repeatedly for the same callnode
Mark Dufour [Wed, 10 Aug 2011 01:41:28 +0000 (03:41 +0200)]
avoid calling cpa repeatedly for the same callnode

6 years agomerge some further slowness
Mark Dufour [Wed, 10 Aug 2011 00:55:34 +0000 (02:55 +0200)]
merge some further slowness

6 years agooptimize analyze_callfunc, seems to help 10%
Mark Dufour [Wed, 10 Aug 2011 00:19:54 +0000 (02:19 +0200)]
optimize analyze_callfunc, seems to help 10%

6 years agoand implement the fallbacks, similar as for cmp
Mark Dufour [Tue, 9 Aug 2011 22:01:23 +0000 (00:01 +0200)]
and implement the fallbacks, similar as for cmp

6 years agomodel fallback of __lt__ to __gt__ etc.
Mark Dufour [Tue, 9 Aug 2011 21:35:31 +0000 (23:35 +0200)]
model fallback of __lt__ to __gt__ etc.

6 years agomodel comparison in heapq module
Mark Dufour [Tue, 9 Aug 2011 17:53:43 +0000 (19:53 +0200)]
model comparison in heapq module

6 years agoand fix that one with a cleanup
Mark Dufour [Tue, 9 Aug 2011 16:04:58 +0000 (18:04 +0200)]
and fix that one with a cleanup