On Tue, Dec 8, 2015 at 8:24 PM, Peter Otten <__pete...@web.de> wrote:
> Chris Angelico wrote:
>
>> On Tue, Dec 8, 2015 at 8:59 AM, Ian Kelly <ian.g.ke...@gmail.com> wrote:
>>> On Mon, Dec 7, 2015 at 2:40 PM, Chris Angelico <ros...@gmail.com> wrote:
>>>> So that's a quick potted summary of why the URLs don't reflect the
>>>> language used. Python is event-driven, but instead of defining events
>>>> at the file level, the way PHP does, they're defined at the function
>>>> level. Of course, if you *want* to put ".py" on the end of all your
>>>> URLs, Python won't stop you... :)
>>>
>>> Or, if it's a poorly implemented site, ".rb". ;-)
>>
>> Well hey. Python won't stop me from adding ".rb" to the ends of my
>> URLs either...
>
> Or ".php". Leaking the suffix is both ugly and excellent marketing -- a
> combination that is also common in the fashion industry.

Worst I've ever done there is create shim redirects. I refuse to have
my Python site advertise PHP.

https://github.com/Rosuav/Flask1/blob/master/1.py#L82

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to