Differences between revisions 28 and 42 (spanning 14 versions)
Revision 28 as of 2006-08-22 16:51:05
Size: 2146
Editor: 65
Comment:
Revision 42 as of 2006-08-25 02:56:52
Size: 2604
Editor: adsl-69-107-119-172
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Here are some possible tasks for the Py3k portion of the GoogleSprint. == The sprint is over ==
Line 5: Line 5:
To claim a task, please add your name to it. Thanks to all who participated! Here's my blog with the report:
http://www.artima.com/weblogs/viewpost.jsp?thread=173453
Line 7: Line 8:
 * Clean up comparisons.
   Remove the ability to order objects where it doesn't make sense.
   (Guido -- could use help)
Below is the list of Py3k tasks we worked on (or wanted to work on) at the GoogleSprint.
Line 11: Line 10:
 * Fix various unit tests that are currently failing in the p3yk (sic) branch (all done). == Suggested Tasks ==
Line 13: Line 12:
 * Unify int/long (Martin von Löwis??? see http://mail.python.org/pipermail/python-3000/2006-August/003046.html) (We didn't get to these.)
Line 15: Line 14:
 * Get rid of all references to file() in favor of open().
Anna has checked through Lib/g*.py and found no file() references that need to be changed. (only use of file in those are in docstrings or as variable names.) Anna will continue tomorrow on this task. (AMR)

 * Work on the new I/O library (I have much interest in this but need help -- Guido)
 * Make IDLE work -- there are relative import issues, perhaps others.
Line 22: Line 18:
 * Rewrite import in Python (Brett Cannon?, Alex Martelli?,
   Osvaldo Santana)

 * Rip out the last remains of coerce (Done, need to rename nb_coerce slot)
Line 29: Line 20:
 * Rip out classic classes (already done; Guido)  * Make map() and filter() iterators and make them stop at the end of the shortest input (like zip()) instead of at the end of the longest input (like itertools?)
Line 31: Line 22:
 * Make it so that __hash__ can be set to None to declare an unhashable type, and to automatically do this the first time __eq__ or __cmp__ are overridden but __hash__ is not (done)  * See PEP PEP:3100 for more ideas
Line 33: Line 24:
 * Implement PEP PEP:3102 (keyword-only arguments) (Jiwon Seo?)
== Claimed Tasks ==
Line 37: Line 29:
 * See PEP PEP:3100 for more ideas  * Work on the new I/O library (I have much interest in this but need help -- Guido); you can check http://sebulba.wikispaces.com/project+iostack+v2 for a reference on what was generally agreed in the py3k list. (Hasan, Charles)
Line 39: Line 31:
 * Make zip() an iterator (like itertools.izip())  * Unify int/long (Martin von Löwis; see http://mail.python.org/pipermail/python-3000/2006-August/003046.html)
Line 41: Line 33:
 * Make map() and filter() iterators and make them stop at the end of the shortest input (like zip()) instead of at the end of the longest input (like itertools?)  * Implement PEP PEP:3102 (keyword-only arguments) (Jiwon Seo, Brett C.)
Line 43: Line 35:
 * Rip out reduce() (done -- John Reese and Jacques Frechet)  * Rewrite import in Python (Brett Cannon?, Alex Martelli?, Osvaldo Santana)
Line 47: Line 39:
 * Kill uses of has_key() in idlelib (John R & Jacques F).  * Remove basestring.find and basestring.rfind, per [http://www.python.org/dev/peps/pep-3100/ PEP 3100] (done, Hasan -- needs to be reviewed and checked in)


== Finished Tasks ==

 * Make zip() an iterator (like itertools.izip()) (done; Guido) (Brian too!)

 * Clean up comparisons. Remove the ability to order objects where it doesn't make sense. (Guido, Alex)

 * Fix various unit tests that are currently failing in the p3yk branch (done, various sprinters).

 * Rip out the last remains of coerce (done, Neal; need to rename nb_coerce slot)

 * Make it so that __hash__ can be set to None to declare an unhashable type, and to automatically do this the first time __eq__ or __cmp__ are overridden but __hash__ is not (done, Guido & Alex)

 * Rip out reduce() (done, John Reese and Jacques Frechet)

 * Kill uses of has_key() in idlelib (done, John R & Jacques F).

 * Get rid of all references to file() in favor of open(). (done, Anna)

 * Rip out classic classes (done pre-sprint, Guido)

Python 3000 Goals for the Google Sprint

The sprint is over

Thanks to all who participated! Here's my blog with the report: http://www.artima.com/weblogs/viewpost.jsp?thread=173453

Below is the list of Py3k tasks we worked on (or wanted to work on) at the GoogleSprint.

Suggested Tasks

(We didn't get to these.)

  • Make IDLE work -- there are relative import issues, perhaps others.
  • When the I/O library is ready, start unifying str/unicode.
  • Put back nb_ <true division> slots (regular and augmented)

  • Make map() and filter() iterators and make them stop at the end of the shortest input (like zip()) instead of at the end of the longest input (like itertools?)
  • See PEP 3100 for more ideas

Claimed Tasks

Finished Tasks

  • Make zip() an iterator (like itertools.izip()) (done; Guido) (Brian too!)
  • Clean up comparisons. Remove the ability to order objects where it doesn't make sense. (Guido, Alex)
  • Fix various unit tests that are currently failing in the p3yk branch (done, various sprinters).
  • Rip out the last remains of coerce (done, Neal; need to rename nb_coerce slot)
  • Make it so that hash can be set to None to declare an unhashable type, and to automatically do this the first time eq or cmp are overridden but hash is not (done, Guido & Alex)

  • Rip out reduce() (done, John Reese and Jacques Frechet)
  • Kill uses of has_key() in idlelib (done, John R & Jacques F).

  • Get rid of all references to file() in favor of open(). (done, Anna)
  • Rip out classic classes (done pre-sprint, Guido)

GoogleSprintPy3k (last edited 2008-11-15 13:59:51 by localhost)

Unable to edit the page? See the FrontPage for instructions.