<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/tinypy</id>
  <title type="text">tinypy Google Group</title>
  <subtitle type="text">
  tinypy is a minimalist implementation of python in 64k of code. This group is for both general and development discussion of tinypy, talking about your projects that use tinypy, or anything else reasonably related to tinypy.
  </subtitle>
  <link href="/group/tinypy/feed/atom_v1_0_msgs.xml" rel="self" title="tinypy feed"/>
  <updated>2008-10-10T14:51:38Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Denis Kasak</name>
  <email>denis.ka...@gmail.com</email>
  </author>
  <updated>2008-10-10T14:51:38Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/f8e615ce1ff66366/fea163a995fe1ec5?show_docid=fea163a995fe1ec5</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/f8e615ce1ff66366/fea163a995fe1ec5?show_docid=fea163a995fe1ec5"/>
  <title type="text">Re: [tinypy] Re: Error: &quot;Exception: tp_get: KeyError: 0&quot;</title>
  <summary type="html" xml:space="preserve">
  Indeed, that error is a bit confusing and a help switch would be most &lt;br&gt; helpful (no pun intended). However, tinypy doesn&#39;t support any command &lt;br&gt; line options at this time. A few switches that would be nice come to &lt;br&gt; mind, like an option to input code inline/from stdin, or one for &lt;br&gt; compiling directly to bytecode (running ./build/tinypy
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ben Aurel</name>
  <email>ben.au...@gmail.com</email>
  </author>
  <updated>2008-10-10T14:27:09Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/f8e615ce1ff66366/9846606d9d6df04c?show_docid=9846606d9d6df04c</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/f8e615ce1ff66366/9846606d9d6df04c?show_docid=9846606d9d6df04c"/>
  <title type="text">Re: [tinypy] Re: Error: &quot;Exception: tp_get: KeyError: 0&quot;</title>
  <summary type="html" xml:space="preserve">
  I meant &amp;quot;if the latter is true&amp;quot; :-)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ben Aurel</name>
  <email>ben.au...@gmail.com</email>
  </author>
  <updated>2008-10-10T14:25:35Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/f8e615ce1ff66366/f207a70ba8c0312e?show_docid=f207a70ba8c0312e</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/f8e615ce1ff66366/f207a70ba8c0312e?show_docid=f207a70ba8c0312e"/>
  <title type="text">Re: [tinypy] Re: Error: &quot;Exception: tp_get: KeyError: 0&quot;</title>
  <summary type="html" xml:space="preserve">
  ok - thanks the paranthesis solved the problem when running the &lt;br&gt; script. I have output now. &lt;br&gt; But what&#39;s with the error when running the just the interepreter &lt;br&gt; $ ./build/tinypy &lt;br&gt; Exception: &lt;br&gt; tp_get: KeyError: 0 &lt;br&gt; Is this an error or standard behavior? &lt;br&gt; If yes - wouldn&#39;t it be nice to have the same behavior as with a
  </summary>
  </entry>
  <entry>
  <author>
  <name>Denis Kasak</name>
  <email>denis.ka...@gmail.com</email>
  </author>
  <updated>2008-10-10T13:36:10Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/f8e615ce1ff66366/72b2d756e00fd686?show_docid=72b2d756e00fd686</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/f8e615ce1ff66366/72b2d756e00fd686?show_docid=72b2d756e00fd686"/>
  <title type="text">Re: [tinypy] Error: &quot;Exception: tp_get: KeyError: 0&quot;</title>
  <summary type="html" xml:space="preserve">
  &amp;lt;snip&amp;gt; &lt;br&gt; Hello Ben, &lt;br&gt; tinypy behaves like Python 3.0 in this regard and treats print as a &lt;br&gt; function. If you add parenthesis around the string, it should work.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ben Aurel</name>
  <email>ben.au...@gmail.com</email>
  </author>
  <updated>2008-10-10T13:25:41Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/f8e615ce1ff66366/50e882e0a13e1473?show_docid=50e882e0a13e1473</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/f8e615ce1ff66366/50e882e0a13e1473?show_docid=50e882e0a13e1473"/>
  <title type="text">Error: &quot;Exception: tp_get: KeyError: 0&quot;</title>
  <summary type="html" xml:space="preserve">
  hi &lt;br&gt; When I call the tinypy interpreter I get the following error: &lt;br&gt; $ ./build/tinypy &lt;br&gt; Exception: &lt;br&gt; tp_get: KeyError: 0 &lt;br&gt; I&#39;ve build tinypy on my ubuntu box and I think the compilation went fine: &lt;br&gt; $ python setup.py linux &lt;br&gt; # 83998 66995 1459 &lt;br&gt; cd /usr/local/src/tinypy-1.1/tiny py &lt;br&gt; # tokenize.tpc is up to date
  </summary>
  </entry>
  <entry>
  <author>
  <name>illume</name>
  <email>ren...@gmail.com</email>
  </author>
  <updated>2008-09-29T21:22:08Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/9c1372816aeafd22/0c63345da8b445e7?show_docid=0c63345da8b445e7</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/9c1372816aeafd22/0c63345da8b445e7?show_docid=0c63345da8b445e7"/>
  <title type="text">static code analysis tools list</title>
  <summary type="html" xml:space="preserve">
  hi ya, &lt;br&gt; &lt;p&gt;here&#39;s a list of analysis tools we could use to run over tinypy: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#C&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://spinroot.com/static/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;cheers,
  </summary>
  </entry>
  <entry>
  <author>
  <name>illume</name>
  <email>ren...@gmail.com</email>
  </author>
  <updated>2008-09-29T21:20:30Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/4452bd7f4b9322c8/0f75036f567cda11?show_docid=0f75036f567cda11</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/4452bd7f4b9322c8/0f75036f567cda11?show_docid=0f75036f567cda11"/>
  <title type="text">integer bugs... overflows, underflows etc.</title>
  <summary type="html" xml:space="preserve">
  hi, &lt;br&gt; &lt;p&gt;here&#39;s some stuff to read about integer errors, including integer &lt;br&gt; overflow errors. &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://en.wikipedia.org/wiki/Integer_overflow&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;this paper talks about tools used to easily find integer problems: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.cs.cmu.edu/~dbrumley/pubs/integer-ndss-07.pdf&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;This type of error includes the cpython/sandbox error recently fixed
  </summary>
  </entry>
  <entry>
  <author>
  <email>codesite-nore...@google.com</email>
  </author>
  <updated>2008-09-26T12:45:53Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/32fff2c89c7c9cbd/833c07c03894953b?show_docid=833c07c03894953b</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/32fff2c89c7c9cbd/833c07c03894953b?show_docid=833c07c03894953b"/>
  <title type="text">Issue 29 in tinypy: some cpython/cpython.c cpython C API code doesn&#39;t check return values</title>
  <summary type="html" xml:space="preserve">
  Issue 29: some cpython/cpython.c cpython C API code doesn&#39;t check return &lt;br&gt; values &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://code.google.com/p/tinypy/issues/detail?id=29&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Comment #1 by denis.kasak: &lt;br&gt; I&#39;ve fixed the above mentioned issues so I think it&#39;s safe to close this &lt;br&gt; bug for now. &lt;br&gt; Also, I&#39;ve changed the memory limit to use an unsigned long value, but the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Phil Hassey</name>
  <email>philhas...@yahoo.com</email>
  </author>
  <updated>2008-09-26T05:58:16Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/2ef3c5c0520b191f/ff0971c7f839249e?show_docid=ff0971c7f839249e</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/2ef3c5c0520b191f/ff0971c7f839249e?show_docid=ff0971c7f839249e"/>
  <title type="text">Re: [tinypy] Re: Time to get this release out</title>
  <summary type="html" xml:space="preserve">
  Can someone take a look at, and commit any of Rene&#39;s patches that fix bugs in tinypy? &lt;br&gt; &lt;p&gt;Also, let&#39;s see some of those issues get closed out in the issues list at google code.  All the medium level issues should be closed, or at least pretty much resolved so we can release :) &lt;br&gt; &lt;p&gt;Thanks! &lt;br&gt; -Phil &lt;br&gt; &lt;p&gt;To: tinypy@googlegroups.com
  </summary>
  </entry>
  <entry>
  <author>
  <name>illume</name>
  <email>ren...@gmail.com</email>
  </author>
  <updated>2008-09-25T05:11:12Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/3e538177f67d75e5/3856ecfa97198be4?show_docid=3856ecfa97198be4</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/3e538177f67d75e5/3856ecfa97198be4?show_docid=3856ecfa97198be4"/>
  <title type="text">Re: interesting reading... sandboxing on windows...</title>
  <summary type="html" xml:space="preserve">
  some related information: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.tin.org/bin/man.cgi?section=2&amp;topic=ptrace&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://en.wikipedia.org/wiki/Chroot&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.opengroup.org/onlinepubs/009695399/functions/setrlimit.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.xs4all.nl/~weegen/eelis/geordi/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://codepad.org/about&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <email>codesite-nore...@google.com</email>
  </author>
  <updated>2008-09-25T04:16:57Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/e7770fe73a2e8a02/7d8b5f802ce43218?show_docid=7d8b5f802ce43218</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/e7770fe73a2e8a02/7d8b5f802ce43218?show_docid=7d8b5f802ce43218"/>
  <title type="text">Issue 36 in tinypy: use vsnprintf instead of vsprintf</title>
  <summary type="html" xml:space="preserve">
  Issue 36: use vsnprintf instead of vsprintf &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://code.google.com/p/tinypy/issues/detail?id=36&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Comment #1 by renesd: &lt;br&gt; As an additional note... the fmt argument needs to be validated. So all &lt;br&gt; uses of &lt;br&gt; tp_printf need to make sure they are getting fmt from a trusted source. &lt;br&gt; &amp;quot;&amp;quot;&amp;quot; &lt;br&gt; %n can be used to write arbitrary data to potentially
  </summary>
  </entry>
  <entry>
  <author>
  <email>codesite-nore...@google.com</email>
  </author>
  <updated>2008-09-25T04:10:56Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/e7770fe73a2e8a02/96e2f7b046393d0f?show_docid=96e2f7b046393d0f</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/e7770fe73a2e8a02/96e2f7b046393d0f?show_docid=96e2f7b046393d0f"/>
  <title type="text">Issue 36 in tinypy: use vsnprintf instead of vsprintf</title>
  <summary type="html" xml:space="preserve">
  Issue 36: use vsnprintf instead of vsprintf &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://code.google.com/p/tinypy/issues/detail?id=36&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; New issue report by renesd: &lt;br&gt; hi, &lt;br&gt; vsprintf doesn&#39;t check the length of the string, whereas vsnprintf does. &lt;br&gt; So it&#39;s better to use vsnprintf instead, to avoid buffer overruns. &lt;br&gt; string.c:53 &lt;br&gt; cheers, &lt;br&gt; Issue attributes:
  </summary>
  </entry>
  <entry>
  <author>
  <name>illume</name>
  <email>ren...@gmail.com</email>
  </author>
  <updated>2008-09-25T02:55:22Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/3e538177f67d75e5/8664b99a87ea65d6?show_docid=8664b99a87ea65d6</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/3e538177f67d75e5/8664b99a87ea65d6?show_docid=8664b99a87ea65d6"/>
  <title type="text">interesting reading... sandboxing on windows...</title>
  <summary type="html" xml:space="preserve">
  hi there, &lt;br&gt; &lt;p&gt;here&#39;s some notes about the chrome OS level sandboxing that it uses on &lt;br&gt; windows. &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://arstechnica.com/articles/paedia/chrome-antics-did-google-reverse-engineer.ars&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;Probably a useful place to research OS level sandboxing for tinypy on &lt;br&gt; windows. &lt;br&gt; &lt;p&gt;ulimit -a on *nix can do a lot of useful things too (limit open files,
  </summary>
  </entry>
  <entry>
  <author>
  <name>illume</name>
  <email>ren...@gmail.com</email>
  </author>
  <updated>2008-09-25T00:38:54Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/17d0810d3f016e1c/742a79d6d09b499d?show_docid=742a79d6d09b499d</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/17d0810d3f016e1c/742a79d6d09b499d?show_docid=742a79d6d09b499d"/>
  <title type="text">marking tests into separate units</title>
  <summary type="html" xml:space="preserve">
  hi, &lt;br&gt; &lt;p&gt;as part of doing cpython.tinypy tests, I have made the &lt;br&gt; cpython_tests.py load the tinypy tests and run them. This way we can &lt;br&gt; see if they all run correctly in the cpython environment. &lt;br&gt; &lt;p&gt;However, to make them more useful it would be good if the tests were &lt;br&gt; separated into &#39;units&#39;. This could be done with comment markers, they
  </summary>
  </entry>
  <entry>
  <author>
  <email>codesite-nore...@google.com</email>
  </author>
  <updated>2008-09-24T12:51:24Z</updated>
  <id>http://groups.google.com/group/tinypy/browse_thread/thread/2217f1692f8451ad/c49bf1b8a05a1c1c?show_docid=c49bf1b8a05a1c1c</id>
  <link href="http://groups.google.com/group/tinypy/browse_thread/thread/2217f1692f8451ad/c49bf1b8a05a1c1c?show_docid=c49bf1b8a05a1c1c"/>
  <title type="text">Issue 35 in tinypy: cpython module needs unittests, examples, and docs.</title>
  <summary type="html" xml:space="preserve">
  Issue 35: cpython module needs unittests, examples, and docs. &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://code.google.com/p/tinypy/issues/detail?id=35&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Comment #2 by renesd: &lt;br&gt; hi, &lt;br&gt; Here&#39;s some updates... &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://rene.f0o.com/~rene/cpython.c&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://rene.f0o.com/~rene/cpython_tests.py&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Fixes the re-raising of exceptions. It was tinypy code fault, not the
  </summary>
  </entry>
</feed>
