Showing content from http://mail.python.org/pipermail/python-dev/attachments/20140417/bc35d1a7/attachment.html below:
<br><br><div>On Thu Apr 17 2014 at 1:34:23 PM, Jurko GospodnetiÄ <<a href="mailto:jurko.gospodnetic@pke.hr">jurko.gospodnetic@pke.hr</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  Hi.<br>
<br>
On 14.4.2014. 23:51, Brett Cannon wrote:<br>
> Now the question is whether the maintenance cost of having to rebuild<br>
> Python for a select number of stdlib modules is enough to warrant<br>
> putting in the effort to make this work.<br>
<br>
  I would really love to have better startup times in production, but I<br>
would also really hate to lose the ability to hack around in stdlib<br>
sources during development just to get better startup performance.<br>
<br>
  In general, what I really like about using Python for software<br>
development is the ability to open any stdlib file and easily go poking<br>
around using stuff like 'import pdb;pdb.set_trace()' or simple print<br>
statements. Researching mysterious behaviour is generally much much<br>
MUCH! easier (read: takes less hours/days/weeks) if it ends up leading<br>
into a stdlib Python module than if it takes you down into the bowels of<br>
some C module (think zipimport.c *grin*). Not to mention the effect that<br>
being able to quickly resolve a mystery by hacking on some Python<br>
internals leaves you feeling very satisfied, while having to entrench<br>
yourself in those internals for a long time just to find out you've made<br>
something foolish on your end leaves you feeling exhausted at best.<br></blockquote><div><br></div><div>Freezing modules does not affect the ability to use gdb. And as long as you set the appropriate __file__ values then tracebacks will contain even the file line and location.</div>
<div><br></div><div>-Brett</div>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4