Author: Armin Rigo <[email protected]>
Branch: stm-gc
Changeset: r54818:948dfd155f01
Date: 2012-04-30 10:52 +0200
http://bitbucket.org/pypy/pypy/changeset/948dfd155f01/

Log:    Reverse the order to avoid unexpected effects if someone calls the
        constructor without keyword args.

diff --git a/pypy/rpython/memory/gc/base.py b/pypy/rpython/memory/gc/base.py
--- a/pypy/rpython/memory/gc/base.py
+++ b/pypy/rpython/memory/gc/base.py
@@ -22,7 +22,7 @@
     gcflag_extra = 0   # or a real GC flag that is always 0 when not collecting
 
     def __init__(self, config, chunk_size=DEFAULT_CHUNK_SIZE,
-                 multithread=False, translated_to_c=True):
+                 translated_to_c=True, multithread=False):
         self.gcheaderbuilder = GCHeaderBuilder(self.HDR)
         self.AddressStack = get_address_stack(chunk_size, multithread)
         self.AddressDeque = get_address_deque(chunk_size, multithread)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to