<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/pythonrun.c, branch 2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pythonrun.c?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pythonrun.c?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-03-30T20:57:31Z</updated>
<entry>
<title>Patch #710576: Implement per-interpreter-state codec registries.</title>
<updated>2003-03-30T20:57:31Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-03-30T20:57:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3c5173c179b030580d61583cfab149a8eacd3d1a'/>
<id>urn:sha1:3c5173c179b030580d61583cfab149a8eacd3d1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport Neil Schemenauer's fix for SF #529750,</title>
<updated>2002-11-20T02:38:10Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-11-20T02:38:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=76f485ff956ccba78e94e9d723e32a106b9dcd37'/>
<id>urn:sha1:76f485ff956ccba78e94e9d723e32a106b9dcd37</id>
<content type='text'>
Circular reference makes Py_Init crash

Modified to keep _Py_ResetReferences() API, but make it a no-op.
It's not called now (for 2.3 it was completely removed).
</content>
</entry>
<entry>
<title>This may well be my final checkin before 2.2.1.</title>
<updated>2002-04-08T17:00:54Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-04-08T17:00:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1f828b62979a14be030dbb21609610bd3ff3a64c'/>
<id>urn:sha1:1f828b62979a14be030dbb21609610bd3ff3a64c</id>
<content type='text'>
If you think I've forgotten something, now is a good
time to howl (although I won't read the howl for a good
few hours 'cause I'm going home).

backport lemburg's checkin of
    revision 2.158 of pythonrun.c

Move Unicode finalization further down in the chain.
Fixes bug #525620.
</content>
</entry>
<entry>
<title>Patch #50002: Display line information for bad \x escapes:</title>
<updated>2002-03-03T21:32:01Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-03-03T21:32:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=59509f511ed8eacbefecc4357c69036fc036effe'/>
<id>urn:sha1:59509f511ed8eacbefecc4357c69036fc036effe</id>
<content type='text'>
- recognize "SyntaxError"s by the print_file_and_line attribute.
- add the syntaxerror attributes to all exceptions in compile.c.
Fixes #221791
</content>
</entry>
<entry>
<title>Include &lt;unistd.h&gt; in Python.h. Fixes #500924.</title>
<updated>2002-01-12T11:13:24Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-01-12T11:13:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d21e644096c700d9cf87038e736dd5ae0f738af'/>
<id>urn:sha1:0d21e644096c700d9cf87038e736dd5ae0f738af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Missing DECREFs when exception is raised in sys.excepthook.</title>
<updated>2001-12-07T15:35:35Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-12-07T15:35:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0702858d733e1ab37e3e7bb6258557fd7aca3d10'/>
<id>urn:sha1:0702858d733e1ab37e3e7bb6258557fd7aca3d10</id>
<content type='text'>
Bug fix candidate for 2.1 branch.

(I imagine the other recent leak patches are bug fix candidates, too,
but I forgot to mark mine as such.)
</content>
</entry>
<entry>
<title>SF bug #488514: -Qnew needs work</title>
<updated>2001-12-06T06:23:26Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-12-06T06:23:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3caca2326e04ea3c0d1f8c6a588e646d8201af38'/>
<id>urn:sha1:3caca2326e04ea3c0d1f8c6a588e646d8201af38</id>
<content type='text'>
Big Hammer to implement -Qnew as PEP 238 says it should work (a global
option affecting all instances of "/").

pydebug.h, main.c, pythonrun.c:  define a private _Py_QnewFlag flag, true
iff -Qnew is passed on the command line.  This should go away (as the
comments say) when true division becomes The Rule.  This is
deliberately not exposed to runtime inspection or modification:  it's
a one-way one-shot switch to pretend you're using Python 3.

ceval.c:  when _Py_QnewFlag is set, treat BINARY_DIVIDE as
BINARY_TRUE_DIVIDE.

test_{descr, generators, zipfile}.py:  fiddle so these pass under
-Qnew too.  This was just a matter of s!/!//! in test_generators and
test_zipfile.  test_descr was trickier, as testbinop() is passed
assumptions that "/" is the same as calling a "__div__" method; put
a temporary hack there to call "__truediv__" instead when the method
name is "__div__" and 1/2 evaluates to 0.5.

Three standard tests still fail under -Qnew (on Windows; somebody
please try the Linux tests with -Qnew too!  Linux runs a whole bunch
of tests Windows doesn't):
    test_augassign
    test_class
    test_coercion
I can't stay awake longer to stare at this (be my guest).  Offhand
cures weren't obvious, nor was it even obvious that cures are possible
without major hackery.

Question:  when -Qnew is in effect, should calls to __div__ magically
change into calls to __truediv__?  See "major hackery" at tail end of
last paragraph &lt;wink&gt;.
</content>
</entry>
<entry>
<title>Use PyOS_snprintf instead of sprintf.</title>
<updated>2001-11-28T20:42:20Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-11-28T20:42:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=518ab1c02a01a1a502fedeccb62ea73f2a952ba7'/>
<id>urn:sha1:518ab1c02a01a1a502fedeccb62ea73f2a952ba7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PyOS_getsig(), PyOS_setsig(): The minimal amount of work to avoid the</title>
<updated>2001-11-13T23:08:26Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2001-11-13T23:08:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=afeb2a4d8914848d8761472c93b3e9cbff57b275'/>
<id>urn:sha1:afeb2a4d8914848d8761472c93b3e9cbff57b275</id>
<content type='text'>
uninitialized memory reads reported in bug #478001.

Note that this doesn't address the following larger issues:

- Error conditions are not documented for PyOS_*sig() in the C API.

- Nothing that actually calls PyOS_*sig() in the core interpreter and
  extension modules actually /checks/ the return value of the call.

Fixing those is left as an exercise for a later day.
</content>
</entry>
<entry>
<title>SF patch #467455 : Enhanced environment variables, by Toby Dickenson.</title>
<updated>2001-10-12T22:17:56Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-12T22:17:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9abaf4d3b78d756e4c0e30b7accb70e531dd9085'/>
<id>urn:sha1:9abaf4d3b78d756e4c0e30b7accb70e531dd9085</id>
<content type='text'>
   This patch changes to logic to:

   if env.var. set and non-empty:
       if env.var. is an integer:
           set flag to that integer
   if flag is zero: # [actually, &lt;= 0 --GvR]
       set flag to 1

   Under this patch, anyone currently using
   PYTHONVERBOSE=yes will get the same output as before.

   PYTHONVERBNOSE=2 will generate more verbosity than
   before.

   The only unusual case that the following three are
   still all equivalent:
   PYTHONVERBOSE=yespleas
   PYTHONVERBOSE=1
   PYTHONVERBOSE=0
</content>
</entry>
</feed>
