Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 3f3b66823f899868b86722d586a6cd00df4cbad9 authored by Michael W. Hudson on 03 August 2004, 10:21:03 UTC, committed by Michael W. Hudson on 03 August 2004, 10:21:03 UTC
the case of __del__ resurrecting an object. This makes the apparent reference leaks in test_descr go away (which I expected) and also kills off those in test_gc (which is more surprising but less so once you actually think about it a bit).
1 parent 3bfed9c
Tip revision: 3f3b66823f899868b86722d586a6cd00df4cbad9 authored by Michael W. Hudson on 03 August 2004, 10:21:03 UTC
Repair the same thinko in two places about handling of _Py_RefTotal in
Repair the same thinko in two places about handling of _Py_RefTotal in
Tip revision: 3f3b668
ltxmarkup.sty
% Created by Fred L. Drake, Jr. <fdrake@acm.org>, as part of the
% Python Documentation Project.
%
% Define some simple markup for the LaTeX command documentation:
\ProvidesPackage{ltxmarkup}
\RequirePackage{python} % fulllineitems environment
% These two macros are used in constructing the last parameter to the
% envdesc and macrodesc environments.
\newcommand{\py@ltx@optparam}[1]{{[}\var{#1}{]}}
\newcommand{\py@ltx@param}[1]{\{\var{#1}\}}
\newenvironment{envdesc}[2]{
\begin{fulllineitems}
\item[\code{\e begin\{{\bfseries #1}\}{%
\let\op=\py@ltx@optparam%
\let\p=\py@ltx@param%
\let\unspecified=\py@unspecified%
\let\moreargs=\py@moreargs%
#2}}]
\item[\code{\e end\{{\bfseries #1}\}}]
\index{#1 environment@\py@idxcode{#1} environment}
\index{environments!#1@\py@idxcode{#1}}
}{\end{fulllineitems}}
\newenvironment{macrodesc}[2]{
\begin{fulllineitems}
\item[\code{{\e\bfseries#1}{%
\let\op=\py@ltx@optparam%
\let\p=\py@ltx@param%
\let\unspecified=\py@unspecified%
\let\moreargs=\py@moreargs%
#2}}]
\index{#1@\py@idxcode{#1}}
}{\end{fulllineitems}}
\newcommand{\env}[1]{\code{#1}}
\newcommand{\macro}[1]{\code{\e#1}}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...