<br><br><div><span class="gmail_quote">On 12/20/06, <b class="gmail_sendername">Talin</b> <<a href="mailto:talin@acm.org">talin@acm.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1) What's the process for editing a PEP after it has been reviewed, but<br>before its been accepted?</blockquote><div><br>If you are the original author, just edit it. If you are not, either get the original author to change it or email python-dev/python-3000 your issue and someone can make the edit.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've recently had some requests to make some edits to the PEP. However,<br>
I don't want to do these in "stealth mode", like a congressional staffer<br>who inserts changes into a bill right before it's voted on.</blockquote><div><br>Just post them here and someone will add them if appropriate.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2) What's a good way to prototype a change to a built-in class? Is there<br>
a way that you can write a function in Python, and add it as a method to<br>a built-in class?</blockquote><div><br>Nope. Could write it in Python and then in the built-in type have it import the Python module and delegate to the Python function.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Specifically, what I'd like to be able to do is to add a method to the<br>
standard string class, and this should affect all strings, even ones<br>created via literal quotes.<br><br>Specifically what I'm aiming for is to be able to write unit tests for<br>3101 without needing to have the C code already in place. That way,
<br>whoever volunteers to do the C code can have the unit tests already<br>working before they begin.</blockquote><div><br>The above idea should do it. Otherwise you will need a local copy that does not have the C version be read-only.
<br><br>-Brett<br></div></div>