Re: svn commit: r24590 - trunk/tools/server-side
On Mon, 23 Apr 2007, Blair Zajac wrote:
> Daniel Rall wrote:
> >On Sat, 21 Apr 2007, masaru tsuchiyama wrote:
> >>fsfs-reshard.py contains $LastChangedDate tag.
> >>In Non-ASCII environment, it is expanded to Non-ASCII charactors.
> >>So the script must have an encoding description.
> >>Index: tools/server-side/fsfs-reshard.py
> >>--- tools/server-side/fsfs-reshard.py (revision 24693)
> >>+++ tools/server-side/fsfs-reshard.py (working copy)
> >>@@ -1,4 +1,5 @@
> >>#!/usr/bin/env python
> >>+# -*- coding: utf-8 -*-
> >># fsfs-reshard.py REPOS_PATH MAX_FILES_PER_SHARD
> >Thanks Masaru, commited to trunk in r24721.
> So Python reads coding lines that aren't on the first line of a script?
> Any URLs for other stuff it reads?
PEP 263 <http://www.python.org/dev/peps/pep-0263/> describes how to
declare a file's encoding to Python.
I don't know of any off-hand, but there are probably other PEPs for
Received on Mon Apr 23 21:27:52 2007
- application/pgp-signature attachment: stored
This is an archived mail posted to the Subversion Dev