msg66326 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-06 18:11 |
This is to keep track of who is working on what for PEP 3108 (http://www.python.org/dev/peps/pep-3108/). Once something is complete it should be denoted in the PEP itself, so always check the PEP to see what is left to be done (for both 2.6 and 3.0). |
|
|
msg66330 - (view) |
Author: Jeremy Hylton (jhylton)  |
Date: 2008-05-06 20:12 |
I'm working on the new urllib package. |
|
|
msg66340 - (view) |
Author: Benjamin Peterson (benjamin.peterson) *  |
Date: 2008-05-06 22:59 |
I'm working on removing mac modules. |
|
|
msg66341 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-06 23:02 |
I am working on audiodev to get the basic structure of removals worked out (testing infrastructure, etc.). |
|
|
msg66342 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-06 23:12 |
For the TextMate users, I am going to be checking in a Python-Dev bundle into svn soon which will include a command to insert the warnpy3k() call for module deletions. Might want to wait for that if you want to cut out at least one copy-and-paste step. =) |
|
|
msg66348 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-06 23:55 |
If you use TextMate, get the Python-Dev bundle and use the command in there to insert the deprecation boilerplate for removing a module. |
|
|
msg66520 - (view) |
Author: Andrews Patrick Rocha Medina (andrewsmedina) |
Date: 2008-05-10 13:45 |
I'm working on removing symtable/_symtable |
|
|
msg66538 - (view) |
Author: Juracy Filho (juracy@gmail.com) * |
Date: 2008-05-10 15:53 |
I'm working on creating http package with httplib, BaseHTTPServer, CGIHTTPServer, SimpleHTTPServer, Cookie and cookielib |
|
|
msg66540 - (view) |
Author: Jesse Noller (jnoller) *  |
Date: 2008-05-10 16:19 |
Here is a patch for the Queue module renaming - I can not easily do the actual svn rename to the lowercase queue myself (it's easier to do it with commit privs). Tests pass, documentation updated as well. |
|
|
msg66565 - (view) |
Author: Jesse Noller (jnoller) *  |
Date: 2008-05-10 19:04 |
Here is a patch for the required changes to rename SocketServer.py - tests pass after I manually rename SocketServer.py locally. Again skipping the svn rename of the actual module. Doc updates included. |
|
|
msg66567 - (view) |
Author: Jesse Noller (jnoller) *  |
Date: 2008-05-10 19:16 |
I'm working on xmlrpc/* changes |
|
|
msg66568 - (view) |
Author: Jeremy Hylton (jhylton)  |
Date: 2008-05-10 19:24 |
I think we should move robotparser into the urllib package. Anyone disagree? Jeremy |
|
|
msg66570 - (view) |
Author: Jesse Noller (jnoller) *  |
Date: 2008-05-10 19:29 |
Should DocXMLRPCServer.py be moved into xmlrpc/ as well? |
|
|
msg66574 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-10 19:52 |
On Sat, May 10, 2008 at 12:29 PM, Jesse Noller <report@bugs.python.org> wrote: > > Jesse Noller <jnoller@gmail.com> added the comment: > > Should DocXMLRPCServer.py be moved into xmlrpc/ as well? Yes, and end up in the server module. That was just an oversight on my part. The PEP has been updated. |
|
|
msg66588 - (view) |
Author: Andrews Patrick Rocha Medina (andrewsmedina) |
Date: 2008-05-10 21:48 |
I add deprecated warnings symtable/_symtable in python 2.6 |
|
|
msg66599 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-11 03:39 |
Just so people know, I have emailed python-dev about renaming urllib as I realized there are some issues with the solution proposed in the PEP. |
|
|
msg66602 - (view) |
Author: Andrews Patrick Rocha Medina (andrewsmedina) |
Date: 2008-05-11 06:32 |
The files Python/compile.c and Python/pythonrun.c depends of the _symtable (Python/symtable.c and Include/symtable.h). What I do for remove _symtable in py3k? |
|
|
msg66603 - (view) |
Author: Humberto Diógenes (hdiogenes) * |
Date: 2008-05-11 06:54 |
Andrews, this discussion would be more appropriate to the mailing list, but anyway: I believe you're mixing things up. When PEP 3108 says "remove symtable/_symtable", it must be talking only about symtable.py and symtablemodule.c, not symtable.[ch] (used by the compiler). |
|
|
msg66646 - (view) |
Author: Guilherme Polo (gpolo) *  |
Date: 2008-05-11 17:54 |
I'm working on the new package tkinter and dialogs merging where appropriate. |
|
|
msg66660 - (view) |
Author: Guilherme Polo (gpolo) *  |
Date: 2008-05-11 20:15 |
Patch regarding the move to tkinter package added. What this patch does -------------------- * Moved lib-tk to tkinter and renamed modules according to PEP 3108 * Merged tkFileDialog into filedialog * Merged tkSimpleDialog into simpledialog * Updated imports in pydoc * Updated imports in idlelib * Updated imports in Tools and Demos * Changed lib-tk to tkinter at Makefile.pre.in * Removed TKPATH from Modules/Setup.dist * Removed references of lib-tk at PC/ What has to be done ------------------- * Update iss script at PC/ to change lib-tk to tkinter * Update docs * stub modules ? |
|
|
msg66695 - (view) |
Author: Andrews Patrick Rocha Medina (andrewsmedina) |
Date: 2008-05-12 01:40 |
I'm working on creating html package with HTMLParser and htmlentitydefs |
|
|
msg66696 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-12 01:45 |
Just so people know, feel free to create new issues for stuff if you want. Other issues can be made dependencies of this issue very easily. |
|
|
msg66698 - (view) |
Author: Guilherme Polo (gpolo) *  |
Date: 2008-05-12 02:01 |
New patch regarding the move to tkinter package, now with docs updated. This one should be the "final" patch, and while the patch is relatively large it mostly trivial to review. |
|
|
msg66701 - (view) |
Author: Andrews Patrick Rocha Medina (andrewsmedina) |
Date: 2008-05-12 02:19 |
For to remove the htmllib on Python 3000 is need to removed these files: Lib/htmllib.py Lib/test_htmllib.py And apply this patch |
|
|
msg66815 - (view) |
Author: Quentin Gallet-Gilles (quentin.gallet-gilles) |
Date: 2008-05-14 11:59 |
I'm working on renaming the ConfigParser module. |
|
|
msg66816 - (view) |
Author: Jesse Noller (jnoller) *  |
Date: 2008-05-14 12:19 |
I've somehow lost my xmlrpc* changes on my local machine - if someone else gets to it before me, feel free to work on it. |
|
|
msg66822 - (view) |
Author: Juracy Filho (juracy@gmail.com) * |
Date: 2008-05-14 16:42 |
I almost finished the http package patch, but I'm doubt about how I would do it with Docs. There are various doc files: basehttpserver.rst, cgihttpserver.rst, httplib.rst and so on. Would I join them into one's or only update their information (imports) ? |
|
|
msg66823 - (view) |
Author: Georg Brandl (georg.brandl) *  |
Date: 2008-05-14 16:47 |
Keep one file per submodule, but rename them to the new names, and update all references to the old name. If the new toplevel package (http in this case) contains something, there must be a new file for it. |
|
|
msg66840 - (view) |
Author: Juracy Filho (juracy@gmail.com) * |
Date: 2008-05-15 01:32 |
I've finished a patch for http package, but I've doubts about how to make a patch. I've used a svn diff and svn status to make the patch and status file respectively. |
|
|
msg66841 - (view) |
Author: Juracy Filho (juracy@gmail.com) * |
Date: 2008-05-15 01:36 |
Output for svn status of http package patch. |
|
|
msg66842 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-15 01:54 |
On Wed, May 14, 2008 at 6:33 PM, Juracy Filho <report@bugs.python.org> wrote: > > Juracy Filho <juracy@gmail.com> added the comment: > > I've finished a patch for http package, but I've doubts about how to > make a patch. > > I've used a svn diff and svn status to make the patch and status file > respectively. That should be enough. Thanks, Juracy! |
|
|
msg66849 - (view) |
Author: Quentin Gallet-Gilles (quentin.gallet-gilles) |
Date: 2008-05-15 08:46 |
I've found some places where configparser, copyreg, queue and socketserver haven't been renamed. The attached patch 'renaming_leftovers_2.6.patch' corrects this. I'm working on renaming markupbase in 2.6 as of now. |
|
|
msg66893 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-16 04:26 |
Removing htmllib is not as simple as just removing the modules as pydoc uses htmllib. |
|
|
msg66911 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-16 05:08 |
Issue 2883 is where future http package stuff should occur. I referenced this issue for initial patches. |
|
|
msg66915 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-16 05:12 |
Issue 2884 references this issue as it is to be used to tracker the new tkinter package. |
|
|
msg66917 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-16 05:17 |
I have created an individual issue for every major step left in implementing PEP 3108. Each one that is still open is now listed as a dependency for this issue. |
|
|
msg66961 - (view) |
Author: Alexandre Vassalotti (alexandre.vassalotti) *  |
Date: 2008-05-16 18:05 |
Quentin Gallet-Gilles wrote: > I've found some places where configparser, copyreg, queue and > socketserver haven't been renamed. The attached patch > 'renaming_leftovers_2.6.patch' corrects this. Thanks! Applied in r63384. |
|
|
msg67025 - (view) |
Author: Fred Drake (fdrake)  |
Date: 2008-05-18 06:25 |
The html package has been created (issue 2882). |
|
|
msg67032 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-18 17:59 |
I have now removed the closed issues as dependencies. Thanks to everyone who has helped so far! You have no idea how appreciative I am. |
|
|
msg67070 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-19 19:07 |
OK, so it turns out the way renames have been handled breaks pre-existing pickles. That means that the stubs in 2.6 will actually have to be the new names and not the old ones. I will work with the stdlib-sig to try to come up with a reasonable way to rectify the situation, but until then do NOT check in any rename patches. |
|
|
msg67085 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2008-05-20 04:15 |
Because of pickle compatibility in 2.x, all renames in the trunk need to be reverted. Work in 3.0 is still fine and won't be touched. I have already updated the PEP with the new steps required for renames. |
|
|
msg67156 - (view) |
Author: Mark Dickinson (mark.dickinson) *  |
Date: 2008-05-21 14:16 |
I'm working on issue 2873 (remove htmllib dependency from pydoc). |
|
|
msg67160 - (view) |
Author: Fred Drake (fdrake)  |
Date: 2008-05-21 15:42 |
On May 21, 2008, at 10:16 AM, Mark Dickinson wrote: > I'm working on issue 2873 (remove htmllib dependency from pydoc). Thanks, Mark! I was dreading the thought of looking at that. |
|
|
msg67234 - (view) |
Author: Quentin Gallet-Gilles (quentin.gallet-gilles) |
Date: 2008-05-23 12:49 |
While working on the commands module removal, I found two missed import renaming in the py3k branch that made regrtest skip some tests. The attached patch corrects them. |
|
|
msg67268 - (view) |
Author: Benjamin Peterson (benjamin.peterson) *  |
Date: 2008-05-23 20:53 |
On Fri, May 23, 2008 at 7:49 AM, Quentin Gallet-Gilles <report@bugs.python.org> wrote: > > Quentin Gallet-Gilles <qgallet@gmail.com> added the comment: > > While working on the commands module removal, I found two missed import > renaming in the py3k branch that made regrtest skip some tests. The > attached patch corrects them. The test_tcl one was fixed in 2.6 (when we were renaming) and will be merged into Py3k. I will catch the test_1413192.py. Thanks! > > Added file: http://bugs.python.org/file10416/import_renames_py3k.patch > > __________________________________ > Tracker <report@bugs.python.org> > <http://bugs.python.org/issue2775> > __________________________________ > |
|
|
msg68035 - (view) |
Author: Alexandre Vassalotti (alexandre.vassalotti) *  |
Date: 2008-06-11 23:07 |
Done with pickle and stringio. |
|
|
msg68041 - (view) |
Author: Barry A. Warsaw (barry) *  |
Date: 2008-06-12 02:08 |
We've got what we've got for the first betas. |
|
|
msg68970 - (view) |
Author: Orivej Desh (orivej) * |
Date: 2008-06-29 21:34 |
Not creating new bug entry because everybody can quickly fix it. In urllib/request.py some instances of URLError are raised with "raise urllib.error.URLError" and this works, buth there are lines with "raise URLError" which produces "NameError: global name 'URLError' is not defined" |
|
|
msg69061 - (view) |
Author: Georg Brandl (georg.brandl) *  |
Date: 2008-07-01 19:56 |
Fixed in r64624. |
|
|
msg83489 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2009-03-12 07:07 |
For those of you following along, the only thing keeping PEP 3108 and this issue from being finished are the two dependent issues: os.stat and profile/cProfile. |
|
|
msg90043 - (view) |
Author: Henry Precheur (henry.precheur) |
Date: 2009-07-03 04:10 |
I found some bsddb code left in setup.py. Patch attached. |
|
|
msg90051 - (view) |
Author: Benjamin Peterson (benjamin.peterson) *  |
Date: 2009-07-03 13:23 |
Thanks for the patch. Applied in r738067. |
|
|
msg97812 - (view) |
Author: Florent Xicluna (flox) *  |
Date: 2010-01-15 14:01 |
Modules "hotshot" and "xmllib" give deprecation warnings. But they are not part of PEP 3108 or PEP 4. |
|
|
msg97847 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2010-01-15 21:14 |
I don't know why hotshot was deprecated specifically for Python 3 as that was never directly part of the discussion for PEP 3108. As for xmllib, that is most likely an oversight. Either way they should get added to the relevant PEPs. |
|
|
msg118566 - (view) |
Author: Boštjan Mejak (Retro) |
Date: 2010-10-13 19:30 |
I am very glad you're reorganizing the Standard Library. Thumbs up! I hope everything will comply to PEP 8 after you're done. Since you're reorganizing, I have my own contribution. I have uploaded a patch. The (http://bugs.python.org/issue7351) was not accepted at the time, I hope you'll accept this fix now. My point is that every class name in module zipfile is like this: - exception class: LargeZipFile - normal class: ZipFile - normal class: PyZipFile So apply my fix to make the exception class BadZipfile consistent to others and let it be BadZipFile. Thank you. |
|
|
msg118573 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2010-10-13 20:04 |
The reorganization is over short of one or two lasting changes that may not even be made now. New suggestions are not directly being discussed here and would have to be taken up on python-dev. |
|
|
msg118654 - (view) |
Author: Boštjan Mejak (Retro) |
Date: 2010-10-14 12:11 |
Can you send my patch and comment to python-dev? Because I don't know how to. I don't know where is python-dev and what exactly you mean by this. |
|
|
msg118688 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2010-10-14 16:43 |
No. Best I can do is suggest you perform an internet search on the term as it makes it obvious what python-dev is. |
|
|
msg118863 - (view) |
Author: Boštjan Mejak (Retro) |
Date: 2010-10-16 10:29 |
My patch "zipfile-patch.diff" was sent to python-dev. Please act on it as you see fit. Thank you. |
|
|
msg118949 - (view) |
Author: Boštjan Mejak (Retro) |
Date: 2010-10-17 16:12 |
Did you manage to apply my fix "zipfile-patch.diff" to the trunk? |
|
|
msg118956 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2010-10-17 17:57 |
If any action regarding your patch takes place there will be a comment here about it. Until then assume nothing has happened. |
|
|
msg119598 - (view) |
Author: Antoine Pitrou (pitrou) *  |
Date: 2010-10-26 10:43 |
Shouldn't this be closed? Most of this has been done and we can't do the rest anyway, without breaking backwards compatibility. |
|
|
msg119624 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2010-10-26 17:48 |
profile and cProfile could still conceivably be merged, even if it is under a new name if someone found the time to do the compatibility work. |
|
|
msg119641 - (view) |
Author: Georg Brandl (georg.brandl) *  |
Date: 2010-10-26 19:27 |
I will have a go at the profiler situation. I imagine the following: deprecate the cProfile module, and provide both profiler classes from the profile module -- e.g. as PythonProfile and CProfile, and provide Profile = PythonProfile. (From cProfile.py, obviously Profile = CProfile). A lot of the interface (module-level helpers and script entry) are near duplicated anyway. In 3.3, the default Profile could then be reassigned to CProfile. |
|
|
msg124777 - (view) |
Author: Georg Brandl (georg.brandl) *  |
Date: 2010-12-28 10:10 |
Alas, too late for 3.2 now. |
|
|
msg147624 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2011-11-14 17:59 |
Just so people know, if the profile situation isn't resolved by 3.3 I'm considering PEP 3108 done. IOW, if anyone wants to step forward and deal with cProfile/profile, that would be appreciated. =) |
|
|
msg147632 - (view) |
Author: Eric Snow (eric.snow) *  |
Date: 2011-11-14 20:53 |
For the stat module in the "Obsolete" section[1], should the entry be updated to indicate that the module was left alone (see issue 2874)? Would it be worth having the "Merging C and Python Impl..." section[2] include a reference to PEP 399? [1] http://www.python.org/dev/peps/pep-3108/#obsolete [2] http://www.python.org/dev/peps/pep-3108/#merging-c-and-python-implementations-of-the-same-interface |
|
|
msg147689 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2011-11-15 17:03 |
Answers to Eric's questions: yes and yes, but I probably won't bother until I do a final update to the PEP. |
|
|
msg149079 - (view) |
Author: Alexandre Vassalotti (alexandre.vassalotti) *  |
Date: 2011-12-09 07:08 |
Brett, issue 2919 had a patch that merges profile/cProfile for a while now but nobody test it yet. All I need it someone to download the patch, install it, test it on some random script and tell me if it works. I don't need more. |
|
|
msg149094 - (view) |
Author: Antoine Pitrou (pitrou) *  |
Date: 2011-12-09 13:42 |
> Brett, issue 2919 had a patch that merges profile/cProfile for a while > now but nobody test it yet. > All I need it someone to download the patch, install it, test it on > some random script and tell me if it works. I don't need more. I don't see any patch there, only a .tgz and two Python files. |
|
|
msg175751 - (view) |
Author: Brett Cannon (brett.cannon) *  |
Date: 2012-11-17 15:05 |
I think we are as close as we are going to get with PEP 3018 being implemented. if profile/cProfile ever get merged that is great (issue #16492), but I'm not holding my breath and thus I am closing this issue. |
|
|