view Lib/test/sgml_input.html @ 87690:66c1c9f32567 default tip

Add use_weakref option to functools.lru_cache The use_weakref option makes lru_cache create weak references to the function arguments when creating the cache key, which prevents them from staying in the memory forever even after all other references to them are gone. This is a proof of concept for http://bugs.python.org/issue19859
author Radomir Dopieralski <devel@sheep.art.pl>
date Tue, 03 Dec 2013 16:02:48 +0100
parents 15ad6ba2e1a5
children
line wrap: on
line source

<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  <link rel="stylesheet" type="text/css" href="http://ogame182.de/epicblue/formate.css">
  <script language="JavaScript" src="js/flotten.js"></script>
 </head>
 <body>
    <script language=JavaScript> if (parent.frames.length == 0) { top.location.href = "http://es.ogame.org/"; } </script> <script language="JavaScript">
function haha(z1) {
  eval("location='"+z1.options[z1.selectedIndex].value+"'");
}
</script>
<center>
<table>
 <tr>
  <td></td>
  <td>
   <center>
   <table>
    <tr>
     <td><img src="http://ogame182.de/epicblue/planeten/small/s_dschjungelplanet04.jpg" width="50" height="50"></td>
     <td>
      <table border="1">
       <select size="1" onchange="haha(this)">
                                   <option value="/game/flotten1.php?session=8912ae912fec&cp=33875341&mode=Flotte&gid=&messageziel=&re=0" selected>Alien sex friend    [2:250:6]</option> 
                                   <option value="/game/flotten1.php?session=8912ae912fec&cp=33905100&mode=Flotte&gid=&messageziel=&re=0" >1989    [2:248:14]</option> 
                                   <option value="/game/flotten1.php?session=8912ae912fec&cp=34570808&mode=Flotte&gid=&messageziel=&re=0" >1990    [2:248:6]</option> 
                                   <option value="/game/flotten1.php?session=8912ae912fec&cp=34570858&mode=Flotte&gid=&messageziel=&re=0" >1991    [2:254:6]</option> 
                                   <option value="/game/flotten1.php?session=8912ae912fec&cp=34572929&mode=Flotte&gid=&messageziel=&re=0" >Colonia    [2:253:12]</option> 
               </select>
      </table>
     </td>
    </tr>
  </table>
  </center>
  </td>
  <td>
   <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
     <td align="center"></td>
     <td align="center" width="85">
      <img border="0" src="http://ogame182.de/epicblue/images/metall.gif" width="42" height="22">
     </td>
     <td align="center" width="85">
      <img border="0" src="http://ogame182.de/epicblue/images/kristall.gif" width="42" height="22">
     </td>
     <td align="center" width="85">
      <img border="0" src="http://ogame182.de/epicblue/images/deuterium.gif" width="42" height="22">
     </td>
     <td align="center" width="85">
      <img border="0" src="http://ogame182.de/epicblue/images/energie.gif" width="42" height="22">
     </td>
     <td align="center"></td>
    </tr>
    <tr>
     <td align="center"><i><b>&nbsp;&nbsp;</b></i></td>
     <td align="center" width="85"><i><b><font color="#ffffff">Metal</font></b></i></td>
     <td align="center" width="85"><i><b><font color="#ffffff">Cristal</font></b></i></td>
     <td align="center" width="85"><i><b><font color="#ffffff">Deuterio</font></b></i></td>
     <td align="center" width="85"><i><b><font color="#ffffff">Energía</font></b></i></td>
     <td align="center"><i><b>&nbsp;&nbsp;</b></i></td>
    </tr>
    <tr>
     <td align="center"></td>
     <td align="center" width="85">160.636</td>
     <td align="center" width="85">3.406</td>
     <td align="center" width="85">39.230</td>
     <td align="center" width="85"><font color=#ff0000>-80</font>/3.965</td>
     <td align="center"></td>
    </tr>
   </table>
  </tr>
 </table>
  </center>
<br />
  <script language="JavaScript">
  <!--
     function link_to_gamepay() {
    self.location = "https://www.gamepay.de/?lang=es&serverID=8&userID=129360&gameID=ogame&gui=v2&chksum=a9751afa9e37e6b1b826356bcca45675";
  }
//-->
  </script>
<center>
  <table width="519" border="0" cellpadding="0" cellspacing="1">
   <tr height="20">
  <td colspan="8" class="c">Flotas (max. 9)</td>
   </tr>
     <tr height="20">
    <th>Num.</th>
    <th>Misión</th>
    <th>Cantidad</th>
    <th>Comienzo</th>
    <th>Salida</th>
    <th>Objetivo</th>
    <th>Llegada</th>
    <th>Orden</th>   
   </tr>
     <tr height="20">
    <th>1</th>
    <th>  
      <a title="">Espionaje</a>
      <a title="Flota en el planeta">(F)</a>
    </th>
    <th> <a title="Sonda de espionaje: 3 
">3</a></th>
    <th>[2:250:6]</th>
    <th>Wed Aug 9 18:00:02</th>
    <th>[2:242:5]</th>
    <th>Wed Aug 9 18:01:02</th>
    <th>
         <form action="flotten1.php?session=8912ae912fec" method="POST">
	<input type="hidden" name="order_return" value="25054490" />
        <input type="submit" value="Enviar de regreso" />
     </form>
            </th>
   </tr>
   <tr height="20">
    <th>2</th>
    <th>  
      <a title="">Espionaje</a>
      <a title="Volver al planeta">(V)</a>
    </th>
    <th> <a title="Sonda de espionaje: 3 
">3</a></th>
    <th>[2:250:6]</th>
    <th>Wed Aug 9 17:59:55</th>
    <th>[2:242:1]</th>
    <th>Wed Aug 9 18:01:55</th>
    <th>
            </th>
   </tr>
  </table>


  
<form action="flotten2.php?session=8912ae912fec" method="POST">
  <table width="519" border="0" cellpadding="0" cellspacing="1">
       <tr height="20">
  <td colspan="4" class="c">Nueva misión: elegir naves</td>
   </tr>
   <tr height="20">
  <th>Naves</th>
  <th>Disponibles</th>
<!--    <th>Gesch.</th> -->
    <th>-</th>
    <th>-</th>
   </tr>
   <tr height="20">
    <th><a title="Velocidad: 8500">Nave pequeña de carga</a></th> 
    <th>10<input type="hidden" name="maxship202" value="10"/></th>
<!--    <th>8500 -->
     <input type="hidden" name="consumption202" value="10"/>
     <input type="hidden" name="speed202" value="8500" /></th>
     <input type="hidden" name="capacity202" value="5000" /></th>
     <th><a href="javascript:maxShip('ship202');" >máx</a> </th>
     <th><input name="ship202" size="10" value="0" alt="Nave pequeña de carga 10"/></th>
   </tr>
   <tr height="20">
    <th><a title="Velocidad: 12750">Nave grande de carga</a></th> 
    <th>19<input type="hidden" name="maxship203" value="19"/></th>
<!--    <th>12750 -->
     <input type="hidden" name="consumption203" value="50"/>
     <input type="hidden" name="speed203" value="12750" /></th>
     <input type="hidden" name="capacity203" value="25000" /></th>
     <th><a href="javascript:maxShip('ship203');" >máx</a> </th>
     <th><input name="ship203" size="10" value="0" alt="Nave grande de carga 19"/></th>
   </tr>
   <tr height="20">
    <th><a title="Velocidad: 27000">Crucero</a></th> 
    <th>6<input type="hidden" name="maxship206" value="6"/></th>
<!--    <th>27000 -->
     <input type="hidden" name="consumption206" value="300"/>
     <input type="hidden" name="speed206" value="27000" /></th>
     <input type="hidden" name="capacity206" value="800" /></th>
     <th><a href="javascript:maxShip('ship206');" >máx</a> </th>
     <th><input name="ship206" size="10" value="0" alt="Crucero 6"/></th>
   </tr>
   <tr height="20">
    <th><a title="Velocidad: 3400">Reciclador</a></th> 
    <th>1<input type="hidden" name="maxship209" value="1"/></th>
<!--    <th>3400 -->
     <input type="hidden" name="consumption209" value="300"/>
     <input type="hidden" name="speed209" value="3400" /></th>
     <input type="hidden" name="capacity209" value="20000" /></th>
     <th><a href="javascript:maxShip('ship209');" >máx</a> </th>
     <th><input name="ship209" size="10" value="0" alt="Reciclador 1"/></th>
   </tr>
   <tr height="20">
    <th><a title="Velocidad: 170000000">Sonda de espionaje</a></th> 
    <th>139<input type="hidden" name="maxship210" value="139"/></th>
<!--    <th>170000000 -->
     <input type="hidden" name="consumption210" value="1"/>
     <input type="hidden" name="speed210" value="170000000" /></th>
     <input type="hidden" name="capacity210" value="5" /></th>
     <th><a href="javascript:maxShip('ship210');" >máx</a> </th>
     <th><input name="ship210" size="10" value="0" alt="Sonda de espionaje 139"/></th>
   </tr>
   <tr height="20">
  <th colspan="2"><a href="javascript:noShips();" >Ninguna nave</a></th>
  <th colspan="2"><a href="javascript:maxShips();" >Todas las naves</a></th>
   </tr>
    <tr height="20">
    <th colspan="4"><input type="submit" value="Continuar" /></th>
   </tr>
<tr><th colspan=4>
<iframe id='a44fb522' name='a44fb522' src='http://ads.gameforgeads.de/adframe.php?n=a44fb522&amp;what=zone:578' framespacing='0' frameborder='no' scrolling='no' width='468' height='60'></iframe>
<br><center></center></br>
</th></tr>
</form>
</table>
 </body>
</html>