Skip to content
Commits on Sep 22, 2015
  1. @keesbos

    Merge pull request #846 from spaceone/patch-1

    Fix remote code execution vulnerability
    keesbos committed Sep 22, 2015
Commits on Sep 18, 2015
  1. @spaceone

    Fix remote code execution vulnerability

    SmartCookie as well as SerialCookie are vulnerable to code injection in python2.
    For example, the following cookie header would shutdown your server:
    Set-Cookie: foo="cposix\012_exit\012p1\012(I1\012tp2\012Rp3\012."
    spaceone committed Sep 18, 2015
Commits on Jun 14, 2015
  1. @eukreign

    Merge pull request #836 from WesTyler/patch-1

    Update README.rst for mistakes and clarifications.
    eukreign committed Jun 14, 2015
  2. @WesTyler

    Update README.rst for mistakes and clarifications.

    typo: libraris -> libraries
    
    Update phrasing for consistency in sentence formats and style. Help new users get to the root of what the libraries can accomplish.
    WesTyler committed Jun 14, 2015
Commits on Jun 20, 2014
  1. @anthonyrisinger

    Delete DEVELOPER.RULES

    outdated... and preachy
    anthonyrisinger committed Jun 20, 2014
  2. @anthonyrisinger

    Merge pull request #827 from DavidRagazzi/patch-3

    Delete INSTALL.txt
    anthonyrisinger committed Jun 20, 2014
  3. @anthonyrisinger

    Merge pull request #828 from DavidRagazzi/patch-4

    README simplified
    anthonyrisinger committed Jun 20, 2014
Commits on Jun 17, 2014
  1. @david-ragazzi

    README simplified

    david-ragazzi committed Jun 17, 2014
  2. @david-ragazzi

    Delete INSTALL.txt

    david-ragazzi committed Jun 17, 2014
Commits on May 29, 2014
  1. @anthonyrisinger

    Merge pull request #823 from janjaapbos/master

    Minor fix and added dependency on six
    anthonyrisinger committed May 29, 2014
Commits on May 28, 2014
  1. @janjaapbos
  2. @janjaapbos

    Fix for JSONTranslations empty keyword

    Cannot localize zero space.
    janjaapbos committed May 28, 2014
  3. @janjaapbos

    Fix for IE 11 (Focus)

    IE presents itself as mozilla, so it trips on the bug.
    janjaapbos committed May 28, 2014
  4. @janjaapbos

    Chrome workaround for Maximum call stack size exceeded

    Removed the "debugger" statement workaround, as it impacts working
    with Chrome in developer mode.
    
    A simple statement appears to do the job.
    
    Remove do/while statement and get 'Maximum call stack size exceeded'
           do { return new $int(value, radix); } while (0);
    janjaapbos committed May 28, 2014
  5. @janjaapbos

    Minor fix and added dependency on six

    Fixes to make it work on python2.7 again.
    Dependency for package six.
    janjaapbos committed May 28, 2014
Commits on Apr 5, 2014
  1. @eukreign

    Merge pull request #820 from atupal/patch-1

    typo: "java script" -> "javascript"
    eukreign committed Apr 5, 2014
  2. @eukreign

    Merge pull request #819 from duly/master

    `pip install pyjs`
    eukreign committed Apr 4, 2014
Commits on Mar 20, 2014
  1. @atupal
Commits on Mar 19, 2014
  1. @duly

    NameError: name 'StandardError' is not defined

    "Replaced reference to StandardError with reference to Exception." -- http://bugs.python.org/issue13859
    ```
      File "\pyjs\pyjs\translator_proto.py", line 37, in <module>
        import pycompiler as compiler
      File "\pyjs\pyjs\lib_trans\pycompiler\__init__.py", line 24, in <module>
        from pycompiler.transformer import parse, parseFile
      File "\pyjs\pyjs\lib_trans\pycompiler\transformer.py", line 37, in <module>
        class WalkerError(StandardError):
    NameError: name 'StandardError' is not defined
    ```
    duly committed Mar 19, 2014
  2. @duly

    globals returns a dict not a list

    globals() -- Return a dictionary representing the current global symbol table.
    
    ````
      File "c:\users\jose.torres\src\pyjs\pyjs\lib_trans\pysymbol.py", line 99, in <module>
        for _name, _value in six.iterlists(values) :
      File "C:\Users\Jose.Torres\appdata\local\scoop\apps\python\3.3.2\lib\site-packages\six.py", line 502, in iterlists
        return iter(getattr(d, _iterlists)(**kw))
    AttributeError: 'list' object has no attribute 'lists'
    ```
    duly committed Mar 19, 2014
  3. @duly

    'list' object has no attribute 'items'

    ```
      File "\pyjs\pyjs\lib_trans\pysymbol.py", line 99, in <module>
        for _name, _value in six.iteritems(values) :
      File "\python\3.3.2\lib\site-packages\six.py", line 498, in iteritems
        return iter(getattr(d, _iteritems)(**kw))
    AttributeError: 'list' object has no attribute 'items'
    ```
    duly committed Mar 19, 2014
  4. @duly

    Update pysymbol.py

    ```
    RuntimeError: dictionary changed size during iteration
    ```
    http://stackoverflow.com/a/11941982
    duly committed Mar 19, 2014
  5. @duly

    import six.iteritems

    Returns an iterator over dictionary‘s items. This replaces dictionary.iteritems() on Python 2 and dictionary.items() on Python 3. kwargs are passed through to the underlying method.
    ```
      File "\pyjs\pyjs\lib_trans\pysymbol.py", line 97
        for _name, _value in globals().items() if _name:
                                                       ^
    SyntaxError: invalid syntax
    ```
    duly committed Mar 19, 2014
  6. @duly

    Testing dictionary comprehension

    http://stackoverflow.com/a/11941913
    ```
      File "\pyjs\pyjs\lib_trans\pysymbol.py", line 97, in <module>
        for _name, _value in globals().items():
    RuntimeError: dictionary changed size during iteration
    ```
    If this doesn't work consider six.iteritems()
    duly committed Mar 19, 2014
  7. @duly

    six.iteritems for python 2to3

    """
    
    six.iteritems(dictionary, **kwargs)
    
        Returns an iterator over dictionary‘s items. This replaces dictionary.iteritems() on Python 2 and dictionary.items() on Python 3. kwargs are passed through to the underlying method.
    """
    ```
      File "\pyjs\pyjs\options.py", line 78, in __init__
        for n, g in Groups.__dict__.iteritems():
    AttributeError: 'mappingproxy' object has no attribute 'iteritems'
    ```
    duly committed Mar 19, 2014
  8. @duly

    import six for python 2to3

    ```
      File "\pyjs\pyjs\options.py", line 64, in Mappings
        if six.PY2:
    NameError: name 'six' is not defined
    ```
    duly committed Mar 19, 2014
  9. @duly

    SyntaxError else without :

    Better code reviews.
    ```  File "\pyjs\pyjs\options.py", line 72
        else
           ^
    SyntaxError: invalid syntax```
    duly committed Mar 19, 2014
  10. @duly

    Invalid Syntax elseif --> elif

    ```  File "\pyjs\pyjs\options.py", line 68
        elseif six.PY3:
                 ^
    SyntaxError: invalid syntax```
    duly committed Mar 19, 2014
  11. @duly

    NameError: name 'long' is not defined

    "Use int instead of long "
    http://stackoverflow.com/a/14904834
    six.PY2 for python 2 and six.PY3 for python 3 version detection
    ```
      File "c:\users\jose.torres\src\pyjs\pyjs\options.py", line 64, in Mappings
        _opt_types = {str: 'string', int: 'int', long: 'long',
    NameError: name 'long' is not defined
    ```
    duly committed Mar 19, 2014
  12. @duly

    add pyjs.

    ```  File "\pyjs\pyjs\translator_proto.py", line 28, in <module>
        from options import (all_compile_options, add_compile_options,
    ImportError: No module named 'options'
    ```
    duly committed Mar 19, 2014
  13. @duly
  14. @duly

    use six.moves for cStringIO

    ```
      File "\pyjs\translator_proto.py", line 20, in <module>
        from cStringIO import StringIO
    ImportError: No module named 'cStringIO'
    ```
    http://pythonhosted.org/six/
    duly committed Mar 19, 2014
  15. @duly

    Update java2py.py

    ```
    Traceback (most recent call last):
      File "\python\3.3.2\scripts\java2py-script.py", line 9, in <module>
        load_entry_point('pyjs==0.8.2', 'console_scripts', 'java2py')()
      File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
     line 357, in load_entry_point
      File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
     line 2394, in load_entry_point
      File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
     line 2108, in load
      File "\pyjs\pyjs\contrib\java2py.py", line 168
        print txt
                ^
    SyntaxError: invalid syntax
    ```
    duly committed Mar 19, 2014
  16. @duly

    Add parentheses to java2py.py

    ```
    Traceback (most recent call last):
      File "\python\3.3.2\scripts\java2py-script.py", line 9, in <module>
        load_entry_point('pyjs==0.8.2', 'console_scripts', 'java2py')()
      File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
     line 357, in load_entry_point
      File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
     line 2394, in load_entry_point
      File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
     line 2108, in load
      File "\pyjs\pyjs\contrib\java2py.py", line 156
        print txt, pre
                ^
    SyntaxError: invalid syntax
    ```
    duly committed Mar 19, 2014
  17. @duly
Something went wrong with that request. Please try again.