From: SourceForge.net <no...@so...> - 2007-08-31 08:04:50
|
Patches item #1784696, was opened at 2007-08-30 04:49 Message generated for change (Comment added) made by cgroves You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1784696&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Pz (david-perez) Assigned to: Nobody/Anonymous (nobody) Summary: Patch: Import hook for separate source and class folders Initial Comment: This import hook implements separate source (.py) and compiled ($py.class) folders, so that source folders are kept clean, like it is done for Java projects. ---------------------------------------------------------------------- >Comment By: Charles Groves (cgroves) Date: 2007-08-31 03:04 Message: Logged In: YES user_id=1174327 Originator: NO As I guessed it might in my email, this patch duplicates a fair bit of code from imp.java. However, it doesn't look like it'd be too bad to make imp use a class very much SeparateFolderImporter as its default importer, and have your hook subclass from that to add this notion of separate folders. That way it gets away from the evil of code duplication but keeps the niceties of your new functionality. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1784696&group_id=12867 |