[pypy-commit] pypy default: fix typo

2019-02-20 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick 
Branch: 
Changeset: r96109:5dd4d5699b26
Date: 2019-02-20 10:22 +0100
http://bitbucket.org/pypy/pypy/changeset/5dd4d5699b26/

Log:fix typo

diff --git a/rpython/rtyper/lltypesystem/rffi.py 
b/rpython/rtyper/lltypesystem/rffi.py
--- a/rpython/rtyper/lltypesystem/rffi.py
+++ b/rpython/rtyper/lltypesystem/rffi.py
@@ -1065,7 +1065,7 @@
 index += 1
 w[index] = unichr(0)
 return w
-utf82charp._annenforceargs_ = [str, int, bool]
+utf82wcharp._annenforceargs_ = [str, int, bool]
 
 # char**
 CCHARPP = lltype.Ptr(lltype.Array(CCHARP, hints={'nolength': True}))
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo

2017-12-13 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick 
Branch: 
Changeset: r93405:36428ed768d3
Date: 2017-12-13 11:57 +0100
http://bitbucket.org/pypy/pypy/changeset/36428ed768d3/

Log:fix typo

diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst
--- a/pypy/doc/whatsnew-head.rst
+++ b/pypy/doc/whatsnew-head.rst
@@ -36,6 +36,6 @@
 
 .. branch: win32-vcvars
 
-.. branch rdict-fast-hash
+.. branch: rdict-fast-hash
 
 Make it possible to declare that the hash function of an r_dict is fast in 
RPython.
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: Fix typo

2017-02-06 Thread PavloKapyshin
Author: PavloKapyshin 
Branch: 
Changeset: r89972:3ba228f90388
Date: 2017-02-06 12:27 +
http://bitbucket.org/pypy/pypy/changeset/3ba228f90388/

Log:Fix typo

diff --git a/pypy/doc/extending.rst b/pypy/doc/extending.rst
--- a/pypy/doc/extending.rst
+++ b/pypy/doc/extending.rst
@@ -14,7 +14,7 @@
 
 * Write them in C++ and bind them through  :doc:`cppyy ` using Cling.
 
-* Write them in as `RPython mixed modules`_.
+* Write them as `RPython mixed modules`_.
 
 
 CFFI
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo

2017-01-22 Thread gutworth
Author: Benjamin Peterson 
Branch: 
Changeset: r89694:21d3185f73a1
Date: 2017-01-22 12:07 -0800
http://bitbucket.org/pypy/pypy/changeset/21d3185f73a1/

Log:fix typo

diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.py
--- a/rpython/memory/gc/incminimark.py
+++ b/rpython/memory/gc/incminimark.py
@@ -2226,7 +2226,7 @@
 #
 # 'threshold_objects_made_old', is used inside comparisons
 # with 'size_objects_made_old' to know when we must do
-# several major GC steps (i.e. several consecurive calls
+# several major GC steps (i.e. several consecutive calls
 # to the present function).  Here is the target that
 # we try to aim to: either (A1) or (A2)
 #
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: Fix typo.

2016-11-03 Thread mjacob
Author: Manuel Jacob 
Branch: 
Changeset: r88094:bacc55bdad61
Date: 2016-11-03 07:06 +0100
http://bitbucket.org/pypy/pypy/changeset/bacc55bdad61/

Log:Fix typo.

diff --git a/pypy/doc/release-pypy2.7-v5.6.0.rst 
b/pypy/doc/release-pypy2.7-v5.6.0.rst
--- a/pypy/doc/release-pypy2.7-v5.6.0.rst
+++ b/pypy/doc/release-pypy2.7-v5.6.0.rst
@@ -16,7 +16,7 @@
 We changed ``timeit`` to now report average +- standard deviation, which is
 better than the misleading minimum value reported in CPython.
 
-We now support building PyPy with OpenSSL 1.1 in our built-in _sll module, as
+We now support building PyPy with OpenSSL 1.1 in our built-in _ssl module, as
 well as maintaining support for previous versions.
 
 XXX
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo

2016-08-27 Thread rlamy
Author: Ronan Lamy 
Branch: 
Changeset: r86622:2ae2489148f1
Date: 2016-08-27 20:15 +0100
http://bitbucket.org/pypy/pypy/changeset/2ae2489148f1/

Log:fix typo

diff --git a/pypy/module/cpyext/test/buffer_test.c 
b/pypy/module/cpyext/test/buffer_test.c
--- a/pypy/module/cpyext/test/buffer_test.c
+++ b/pypy/module/cpyext/test/buffer_test.c
@@ -198,7 +198,7 @@
 "buffer_test",
 "Module Doc",
 -1,
-buffer_functions;
+buffer_functions,
 NULL,
 NULL,
 NULL,
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: Fix typo that made a test useless

2016-03-03 Thread rlamy
Author: Ronan Lamy 
Branch: 
Changeset: r82673:4d2c1de4fbff
Date: 2016-03-03 14:12 +
http://bitbucket.org/pypy/pypy/changeset/4d2c1de4fbff/

Log:Fix typo that made a test useless

diff --git a/rpython/rtyper/test/test_rdict.py 
b/rpython/rtyper/test/test_rdict.py
--- a/rpython/rtyper/test/test_rdict.py
+++ b/rpython/rtyper/test/test_rdict.py
@@ -1048,7 +1048,7 @@
 s_BA_dic = s.items[1]
 
 r_AB_dic = rtyper.getrepr(s_AB_dic)
-r_BA_dic = rtyper.getrepr(s_AB_dic)
+r_BA_dic = rtyper.getrepr(s_BA_dic)
 
 assert r_AB_dic.lowleveltype == r_BA_dic.lowleveltype
 
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo

2016-03-01 Thread cfbolz
Author: Carl Friedrich Bolz 
Branch: 
Changeset: r82631:8855d18e3957
Date: 2016-02-27 11:37 +0100
http://bitbucket.org/pypy/pypy/changeset/8855d18e3957/

Log:fix typo

diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py
--- a/pypy/objspace/std/setobject.py
+++ b/pypy/objspace/std/setobject.py
@@ -1076,7 +1076,7 @@
 if self is w_other.strategy:
 strategy = self
 if w_set.length() > w_other.length():
-# swap operants
+# swap operands
 storage = self._intersect_unwrapped(w_other, w_set)
 else:
 storage = self._intersect_unwrapped(w_set, w_other)
@@ -1086,7 +1086,7 @@
 else:
 strategy = self.space.fromcache(ObjectSetStrategy)
 if w_set.length() > w_other.length():
-# swap operants
+# swap operands
 storage = w_other.strategy._intersect_wrapped(w_other, w_set)
 else:
 storage = self._intersect_wrapped(w_set, w_other)
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo

2016-01-31 Thread cfbolz
Author: Carl Friedrich Bolz 
Branch: 
Changeset: r82017:8a7217a547e2
Date: 2016-01-31 18:37 +0100
http://bitbucket.org/pypy/pypy/changeset/8a7217a547e2/

Log:fix typo

diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py
--- a/pypy/objspace/std/setobject.py
+++ b/pypy/objspace/std/setobject.py
@@ -942,7 +942,7 @@
 return False
 if w_set.length() == 0:
 return True
-# it's possible to have 0-lenght strategy that's not empty
+# it's possible to have 0-length strategy that's not empty
 if w_set.strategy is w_other.strategy:
 return self._issubset_unwrapped(w_set, w_other)
 if not self.may_contain_equal_elements(w_other.strategy):
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: Fix typo.

2015-03-16 Thread mjacob
Author: Manuel Jacob m...@manueljacob.de
Branch: 
Changeset: r76413:402d41538ce3
Date: 2015-03-16 17:42 +0100
http://bitbucket.org/pypy/pypy/changeset/402d41538ce3/

Log:Fix typo.

diff --git a/rpython/doc/jit/optimizer.rst b/rpython/doc/jit/optimizer.rst
--- a/rpython/doc/jit/optimizer.rst
+++ b/rpython/doc/jit/optimizer.rst
@@ -1,7 +1,7 @@
 .. _trace_optimizer:
 
-Trace Optimizier
-
+Trace Optimizer
+===
 
 Traces of user programs are not directly translated into machine code.
 The optimizer module implements several different semantic preserving
@@ -14,10 +14,10 @@
 Before some optimizations are explained in more detail, it is essential to
 understand how traces look like.
 The optimizer comes with a test suit. It contains many trace
-examples and you might want to take a look at it 
+examples and you might want to take a look at it
 (in `rpython/jit/metainterp/optimizeopt/test/*.py`).
 The allowed operations can be found in 
`rpython/jit/metainterp/resoperation.py`.
-Here is an example of a trace:: 
+Here is an example of a trace::
 
 [p0,i0,i1]
 label(p0, i0, i1)
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo

2014-12-12 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com
Branch: 
Changeset: r74900:59fae35bdef8
Date: 2014-12-12 17:48 +0200
http://bitbucket.org/pypy/pypy/changeset/59fae35bdef8/

Log:fix typo

diff --git a/rpython/jit/metainterp/optimizeopt/virtualstate.py 
b/rpython/jit/metainterp/optimizeopt/virtualstate.py
--- a/rpython/jit/metainterp/optimizeopt/virtualstate.py
+++ b/rpython/jit/metainterp/optimizeopt/virtualstate.py
@@ -585,13 +585,13 @@
 
 
 class ShortBoxes(object):
-def __init__(self, optimizer, surviving_boxes, availible_boxes=None):
+def __init__(self, optimizer, surviving_boxes, available_boxes=None):
 self.potential_ops = {}
 self.alternatives = {}
 self.synthetic = {}
 self.rename = {}
 self.optimizer = optimizer
-self.availible_boxes = availible_boxes
+self.available_boxes = available_boxes
 self.assumed_classes = {}
 
 if surviving_boxes is not None:
@@ -663,7 +663,7 @@
 return
 if box in self.short_boxes_in_production:
 raise BoxNotProducable
-if self.availible_boxes is not None and box not in 
self.availible_boxes:
+if self.available_boxes is not None and box not in 
self.available_boxes:
 raise BoxNotProducable
 self.short_boxes_in_production[box] = None
 
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo

2014-08-21 Thread numerodix
Author: Martin Matusiak numero...@gmail.com
Branch: 
Changeset: r72952:54408dd5e0f8
Date: 2014-08-21 22:00 +0200
http://bitbucket.org/pypy/pypy/changeset/54408dd5e0f8/

Log:fix typo

diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -354,6 +354,6 @@
 See the License for the specific language governing permissions and
 limitations under the License.
 
-Detailled license information is contained in the NOTICE file in the
+Detailed license information is contained in the NOTICE file in the
 directory.
 
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo in doc

2014-04-25 Thread wlav
Author: Wim Lavrijsen wlavrij...@lbl.gov
Branch: 
Changeset: r70961:61191b4a5eac
Date: 2014-04-24 23:53 -0700
http://bitbucket.org/pypy/pypy/changeset/61191b4a5eac/

Log:fix typo in doc

diff --git a/pypy/doc/cppyy.rst b/pypy/doc/cppyy.rst
--- a/pypy/doc/cppyy.rst
+++ b/pypy/doc/cppyy.rst
@@ -583,7 +583,7 @@
   Special care needs to be taken for global operator overloads in C++: first,
   make sure that they are actually reflected, especially for the global
   overloads for ``operator==`` and ``operator!=`` of STL vector iterators in
-  the case of gcc (note that they are not needed to iterator over a vector).
+  the case of gcc (note that they are not needed to iterate over a vector).
   Second, make sure that reflection info is loaded in the proper order.
   I.e. that these global overloads are available before use.
 
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo

2014-04-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de
Branch: 
Changeset: r70437:709009b66802
Date: 2014-04-04 16:43 +0200
http://bitbucket.org/pypy/pypy/changeset/709009b66802/

Log:fix typo

diff --git a/rpython/jit/metainterp/optimizeopt/unroll.py 
b/rpython/jit/metainterp/optimizeopt/unroll.py
--- a/rpython/jit/metainterp/optimizeopt/unroll.py
+++ b/rpython/jit/metainterp/optimizeopt/unroll.py
@@ -296,7 +296,7 @@
 i += 1
 newoperations = self.optimizer.get_newoperations()
 self.short.append(ResOperation(rop.JUMP, short_jumpargs, None, 
descr=start_label.getdescr()))
-self.finilize_short_preamble(start_label)
+self.finalize_short_preamble(start_label)
 
 def close_loop(self, start_label, jumpop):
 virtual_state = self.initial_virtual_state
@@ -403,9 +403,9 @@
 assert isinstance(target_token, TargetToken)
 target_token.targeting_jitcell_token.retraced_count = sys.maxint
 
-self.finilize_short_preamble(start_label)
+self.finalize_short_preamble(start_label)
 
-def finilize_short_preamble(self, start_label):
+def finalize_short_preamble(self, start_label):
 short = self.short
 assert short[-1].getopnum() == rop.JUMP
 target_token = start_label.getdescr()
@@ -584,6 +584,7 @@
 
 for guard in extra_guards:
 if guard.is_guard():
+import pdb; pdb.set_trace()
 descr = target.resume_at_jump_descr.clone_if_mutable()
 inliner.inline_descr_inplace(descr)
 guard.setdescr(descr)
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo

2013-07-11 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de
Branch: 
Changeset: r65356:902d013fd2ce
Date: 2013-07-11 22:31 +0200
http://bitbucket.org/pypy/pypy/changeset/902d013fd2ce/

Log:fix typo

diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py
--- a/pypy/objspace/std/setobject.py
+++ b/pypy/objspace/std/setobject.py
@@ -180,8 +180,7 @@
 if not space.isinstance_w(w_other, space.w_set):
 return space.w_False
 
-# XXX there is no test_buildinshortcut.py
-# tested in test_buildinshortcut.py
+# tested in test_builtinshortcut.py
 # XXX do not make new setobject here
 w_other_as_set = self._newobj(space, w_other)
 return space.wrap(self.equals(w_other_as_set))
___
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: fix typo

2013-03-20 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de
Branch: 
Changeset: r62548:4f5882ea651d
Date: 2013-03-18 22:30 +0100
http://bitbucket.org/pypy/pypy/changeset/4f5882ea651d/

Log:fix typo

diff --git a/rpython/jit/metainterp/optimizeopt/heap.py 
b/rpython/jit/metainterp/optimizeopt/heap.py
--- a/rpython/jit/metainterp/optimizeopt/heap.py
+++ b/rpython/jit/metainterp/optimizeopt/heap.py
@@ -172,17 +172,17 @@
 self._lazy_setfields_and_arrayitems = []
 self._remove_guard_not_invalidated = False
 self._seen_guard_not_invalidated = False
-self.posponedop = None
+self.postponed_op = None
 
 def force_at_end_of_preamble(self):
 self.force_all_lazy_setfields_and_arrayitems()
 
 def flush(self):
 self.force_all_lazy_setfields_and_arrayitems()
-if self.posponedop:
-posponedop = self.posponedop
-self.posponedop = None
-self.next_optimization.propagate_forward(posponedop)
+if self.postponed_op:
+postponed_op = self.postponed_op
+self.postponed_op = None
+self.next_optimization.propagate_forward(postponed_op)
 
 def new(self):
 return OptHeap()
@@ -230,13 +230,13 @@
 
 def emit_operation(self, op):
 self.emitting_operation(op)
-if self.posponedop:
-posponedop = self.posponedop
-self.posponedop = None
-self.next_optimization.propagate_forward(posponedop)
+if self.postponed_op:
+postponed_op = self.postponed_op
+self.postponed_op = None
+self.next_optimization.propagate_forward(postponed_op)
 if (op.is_comparison() or op.getopnum() == rop.CALL_MAY_FORCE
 or op.is_ovf()):
-self.posponedop = op
+self.postponed_op = op
 else:
 Optimization.emit_operation(self, op)
 
diff --git a/rpython/jit/metainterp/optimizeopt/pure.py 
b/rpython/jit/metainterp/optimizeopt/pure.py
--- a/rpython/jit/metainterp/optimizeopt/pure.py
+++ b/rpython/jit/metainterp/optimizeopt/pure.py
@@ -5,7 +5,7 @@
 
 class OptPure(Optimization):
 def __init__(self):
-self.posponedop = None
+self.postponed_op = None
 self.pure_operations = args_dict()
 self.emitted_pure_operations = {}
 
@@ -15,12 +15,12 @@
 def optimize_default(self, op):
 canfold = op.is_always_pure()
 if op.is_ovf():
-self.posponedop = op
+self.postponed_op = op
 return
-if self.posponedop:
+if self.postponed_op:
 nextop = op
-op = self.posponedop
-self.posponedop = None
+op = self.postponed_op
+self.postponed_op = None
 canfold = nextop.getopnum() == rop.GUARD_NO_OVERFLOW
 else:
 nextop = None
@@ -83,10 +83,10 @@
 self.emit_operation(op)
 
 def flush(self):
-assert self.posponedop is None
+assert self.postponed_op is None
 
 def new(self):
-assert self.posponedop is None
+assert self.postponed_op is None
 return OptPure()
 
 def setup(self):
___
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: Fix typo

2013-01-09 Thread rguillebert
Author: Romain Guillebert romain...@gmail.com
Branch: 
Changeset: r59904:cad5c05cae8e
Date: 2013-01-09 23:24 +0100
http://bitbucket.org/pypy/pypy/changeset/cad5c05cae8e/

Log:Fix typo

diff --git a/pypy/translator/driver.py b/pypy/translator/driver.py
--- a/pypy/translator/driver.py
+++ b/pypy/translator/driver.py
@@ -362,7 +362,7 @@
 @taskdef([RTYPE], JIT compiler generation)
 def task_pyjitpl_lltype(self):
  Generate bytecodes for JIT and flow the JIT helper functions
-ootype version
+lltype version
 
 get_policy = self.extra['jitpolicy']
 self.jitpolicy = get_policy(self)
___
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: Fix typo

2012-02-04 Thread arigo
Author: Armin Rigo ar...@tunes.org
Branch: 
Changeset: r52093:fb832b92d207
Date: 2012-02-04 16:03 +0100
http://bitbucket.org/pypy/pypy/changeset/fb832b92d207/

Log:Fix typo

diff --git a/pypy/jit/metainterp/executor.py b/pypy/jit/metainterp/executor.py
--- a/pypy/jit/metainterp/executor.py
+++ b/pypy/jit/metainterp/executor.py
@@ -254,7 +254,7 @@
 assert isinstance(x, r_longlong)  # 32-bit
 return BoxFloat(x)
 
-def do_keepalive(cpu, x):
+def do_keepalive(cpu, _, x):
 pass
 
 # 
___
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: Fix typo and indentation in error messages

2011-10-06 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com
Branch: 
Changeset: r47845:167c86d2b1e3
Date: 2011-10-06 22:45 +0200
http://bitbucket.org/pypy/pypy/changeset/167c86d2b1e3/

Log:Fix typo and indentation in error messages

diff --git a/pypy/module/__pypy__/interp_builders.py 
b/pypy/module/__pypy__/interp_builders.py
--- a/pypy/module/__pypy__/interp_builders.py
+++ b/pypy/module/__pypy__/interp_builders.py
@@ -16,7 +16,8 @@
 
 def _check_done(self, space):
 if self.builder is None:
-raise OperationError(space.w_ValueError, space.wrap(Can't 
operate on a done builder))
+raise OperationError(space.w_ValueError, space.wrap(
+Can't operate on a built builder))
 
 @unwrap_spec(size=int)
 def descr__new__(space, w_subtype, size=-1):
@@ -31,7 +32,8 @@
 def descr_append_slice(self, space, s, start, end):
 self._check_done(space)
 if not 0 = start = end = len(s):
-raise OperationError(space.w_ValueError, space.wrap(bad 
start/stop))
+raise OperationError(space.w_ValueError, space.wrap(
+bad start/stop))
 self.builder.append_slice(s, start, end)
 
 def descr_build(self, space):
@@ -42,8 +44,8 @@
 
 def descr_len(self, space):
 if self.builder is None:
-raise OperationError(space.w_ValueError,
- space.wrap('no lenght of built builder'))
+raise OperationError(space.w_ValueError, space.wrap(
+no length of built builder))
 return space.wrap(self.builder.getlength())
 
 W_Builder.__name__ = W_%s % name
___
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit