[Python-Dev] Split unicodeobject.c into subfiles?

Benjamin Peterson benjamin at python.org
Fri Oct 5 04:00:31 CEST 2012


2012/10/4 Antoine Pitrou <solipsis at pitrou.net>:
> On Thu, 04 Oct 2012 23:46:57 +0200
> martin at v.loewis.de wrote:
>>
>> Zitat von Victor Stinner <victor.stinner at gmail.com>:
>>
>> > I only see one argument against such refactoring: it will be harder to
>> > backport/forwardport bugfixes.
>>
>> I'm opposed for a different reason: I think it will be *harder* to maintain.
>> The amount of code will not be reduced, but now you also need to guess what
>> file some piece of functionality may be in. Instead of having my text editor
>> (Emacs) search in one file, it will have to search across multiple files -
>> but not across all open buffers, but only some of them (since I will have
>> many other source files open as well).
>>
>> I really fail to see what problem people have with large source files.
>> What is it that you want to do that can be done easier if it's multiple
>> files?
>
> Navigate, basically. That is, switch between different pieces of code,
> without having to type in some text to search for.

I find it's only possible to navigate without searching for extremely
small files.


-- 
Regards,
Benjamin


More information about the Python-Dev mailing list