shedskin:mainline.git
6 years agoignore 0.9.1
Mark Dufour [Sat, 14 Jan 2012 19:52:08 +0000 (20:52 +0100)]
ignore

6 years agobump version to 0.9.1
Mark Dufour [Sat, 14 Jan 2012 19:28:49 +0000 (20:28 +0100)]
bump version to 0.9.1

6 years agoforgot to add it here
Mark Dufour [Sat, 14 Jan 2012 19:27:15 +0000 (20:27 +0100)]
forgot to add it here

6 years agomake things measurable
Mark Dufour [Sat, 14 Jan 2012 19:26:39 +0000 (20:26 +0100)]
make things measurable

6 years agoprint which file is scaled
Mark Dufour [Sat, 14 Jan 2012 19:17:27 +0000 (20:17 +0100)]
print which file is scaled

6 years agonew example: hq2x pixel art scaling
Mark Dufour [Sat, 14 Jan 2012 19:10:15 +0000 (20:10 +0100)]
new example: hq2x pixel art scaling

6 years agosome sys.exit fixes, plus tests (problem reported by rodseth)
Mark Dufour [Wed, 4 Jan 2012 20:33:09 +0000 (21:33 +0100)]
some sys.exit fixes, plus tests (problem reported by rodseth)

6 years agosame trick for productiter<T,U>
Mark Dufour [Sun, 18 Dec 2011 15:13:09 +0000 (16:13 +0100)]
same trick for productiter<T,U>

6 years agoapparently we need -lcrypto these days
Mark Dufour [Fri, 16 Dec 2011 22:23:35 +0000 (23:23 +0100)]
apparently we need -lcrypto these days

6 years agoand fix that
Mark Dufour [Fri, 16 Dec 2011 20:26:58 +0000 (21:26 +0100)]
and fix that

6 years agonew test case from c64 example svn
Mark Dufour [Fri, 16 Dec 2011 19:58:02 +0000 (20:58 +0100)]
new test case from c64 example svn

6 years agoprint elapsed time after errors
Mark Dufour [Thu, 15 Dec 2011 21:38:57 +0000 (22:38 +0100)]
print elapsed time after errors

6 years agooptimize itertools.product<T,T> by allocating tuples in batches
Mark Dufour [Wed, 14 Dec 2011 15:51:25 +0000 (16:51 +0100)]
optimize itertools.product<T,T> by allocating tuples in batches

6 years agospeed up tuple filling in itertools.product
Mark Dufour [Wed, 14 Dec 2011 15:07:17 +0000 (16:07 +0100)]
speed up tuple filling in itertools.product

6 years agoimprove extmod 'cannot export' warnings (triggered by paul boddie)
Mark Dufour [Wed, 14 Dec 2011 13:47:37 +0000 (14:47 +0100)]
improve extmod 'cannot export' warnings (triggered by paul boddie)

6 years agoavoid __join_cache.__getitem__
Mark Dufour [Sat, 10 Dec 2011 12:01:49 +0000 (13:01 +0100)]
avoid __join_cache.__getitem__

6 years agomerge join cruft into single template method, in preparation of some optizations
Mark Dufour [Sat, 10 Dec 2011 11:44:45 +0000 (12:44 +0100)]
merge join cruft into single template method, in preparation of some optizations

6 years agooptimize __ne(str *, str*) - how about a 'final' keyword or completely avoiding inher...
Mark Dufour [Sat, 10 Dec 2011 10:23:38 +0000 (11:23 +0100)]
optimize __ne(str *, str*) - how about a 'final' keyword or completely avoiding inheritance from pyobj?

6 years agoplus test
Mark Dufour [Thu, 8 Dec 2011 19:52:12 +0000 (20:52 +0100)]
plus test

6 years agoMerge commit 'refs/merge-requests/1' of git://gitorious.org/shedskin/mainline into...
Mark Dufour [Thu, 8 Dec 2011 19:46:34 +0000 (20:46 +0100)]
Merge commit 'refs/merge-requests/1' of git://gitorious.org/shedskin/mainline into merge-requests/1

6 years agoadd a test for that
Mark Dufour [Thu, 8 Dec 2011 19:34:58 +0000 (20:34 +0100)]
add a test for that

6 years agoBuiltin os.listdir: fixed the unchecked result of the call to opendir(3).
Pierre-Marie de Rodat [Thu, 8 Dec 2011 10:31:01 +0000 (11:31 +0100)]
Builtin os.listdir: fixed the unchecked result of the call to opendir(3).

opendir can sometimes return 0 (if it cannot read the directory, because of
permissions or if the directory does not exist). When this happens, readdir(3)
must not be called, but an OSError must immediately be thrown.

6 years agomissing izip constructor for when iterables have the same type 1
Jérémie Roquet [Thu, 8 Dec 2011 14:33:02 +0000 (15:33 +0100)]
missing izip constructor for when iterables have the same type

6 years agocleanup man page (triggered by paul boddie)
Mark Dufour [Mon, 28 Nov 2011 20:07:26 +0000 (21:07 +0100)]
cleanup man page (triggered by paul boddie)

6 years agoremove gc, random seed cruft (triggered by paul boddie)
Mark Dufour [Mon, 28 Nov 2011 19:35:13 +0000 (20:35 +0100)]
remove gc, random seed cruft (triggered by paul boddie)

6 years agosupport /etc/shedskin/FLAGS and /usr/share/shedskin/lib (triggered by paul boddie)
Mark Dufour [Mon, 28 Nov 2011 19:33:54 +0000 (20:33 +0100)]
support /etc/shedskin/FLAGS and /usr/share/shedskin/lib (triggered by paul boddie)

6 years agoMerge branch 'master' of gitorious.org:shedskin/mainline
Mark Dufour [Tue, 1 Nov 2011 15:31:09 +0000 (16:31 +0100)]
Merge branch 'master' of gitorious.org:shedskin/mainline

6 years agomsvc doesn't like ssize_t, and it's not needed even (triggered by liu zhenhai)
Mark Dufour [Tue, 1 Nov 2011 15:30:09 +0000 (16:30 +0100)]
msvc doesn't like ssize_t, and it's not needed even (triggered by liu zhenhai)

6 years agofix copy-paste (liu zhenhai)
Mark Dufour [Mon, 24 Oct 2011 15:46:26 +0000 (17:46 +0200)]
fix copy-paste (liu zhenhai)

6 years agoimprove makefile.py for msvc (liuzhenhai)
Mark Dufour [Mon, 24 Oct 2011 09:28:24 +0000 (11:28 +0200)]
improve makefile.py for msvc (liuzhenhai)

6 years agoimprove FLAGS.msvc (note two env vars need to be set) (liuzhenhai)
Mark Dufour [Mon, 24 Oct 2011 08:56:32 +0000 (10:56 +0200)]
improve FLAGS.msvc (note two env vars need to be set) (liuzhenhai)

6 years agoignore tests/198
Mark Dufour [Mon, 24 Oct 2011 08:44:10 +0000 (10:44 +0200)]
ignore tests/198

7 years agoos.popen2(list(str),..) (issue 158)
Mark Dufour [Tue, 11 Oct 2011 16:17:46 +0000 (18:17 +0200)]
os.popen2(list(str),..) (issue 158)

7 years agofix ConfigParser return value models (issue 157)
Mark Dufour [Tue, 11 Oct 2011 16:00:30 +0000 (18:00 +0200)]
fix ConfigParser return value models (issue 157)

7 years agogenerate error when using 'exec' (issue 156)
Mark Dufour [Tue, 11 Oct 2011 15:07:27 +0000 (17:07 +0200)]
generate error when using 'exec' (issue 156)

7 years agolast character of file could disappear in annotation (will varfar)
Mark Dufour [Tue, 11 Oct 2011 14:32:24 +0000 (16:32 +0200)]
last character of file could disappear in annotation (will varfar)

7 years agoextmod fix for MSVC (liu zhenhai)
Mark Dufour [Tue, 11 Oct 2011 14:17:02 +0000 (16:17 +0200)]
extmod fix for MSVC (liu zhenhai)

7 years agoenumerate 'start' argument (new in 2.6)
Mark Dufour [Mon, 26 Sep 2011 20:18:59 +0000 (22:18 +0200)]
enumerate 'start' argument (new in 2.6)

7 years agoupdate man page
Mark Dufour [Sat, 24 Sep 2011 20:19:02 +0000 (22:19 +0200)]
update man page

7 years agoadd test case for that to tests/198.py
Mark Dufour [Sat, 24 Sep 2011 19:41:41 +0000 (21:41 +0200)]
add test case for that to tests/198.py

7 years agosafe __NOT() macro expansion. Triggered by LiuZhenhai
=François Boutines [Sat, 24 Sep 2011 14:07:24 +0000 (16:07 +0200)]
safe __NOT() macro expansion. Triggered by LiuZhenhai

7 years ago-L option to add custom library directories (Artem Egorkine)
Artem Egorkine [Tue, 13 Sep 2011 19:00:51 +0000 (21:00 +0200)]
-L option to add custom library directories (Artem Egorkine)

7 years agowindows fix
Mark Dufour [Sat, 10 Sep 2011 09:49:11 +0000 (11:49 +0200)]
windows fix

7 years ago"MIT license" is ambiguous -> we were actually using "Expat license" 0.9
Mark Dufour [Sat, 10 Sep 2011 08:41:27 +0000 (10:41 +0200)]
"MIT license" is ambiguous -> we were actually using "Expat license"

7 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

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

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

7 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_

7 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

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

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

7 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

7 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

7 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

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

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

7 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'

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

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

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

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

7 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

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

7 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

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

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

7 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

7 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

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

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

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

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

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

7 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

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

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

7 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

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

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

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

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

7 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

7 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

7 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

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

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

7 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

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

7 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

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

7 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

7 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

7 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

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

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

7 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

7 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)

7 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)

7 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

7 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