[Zope-dev] SVN: zc.sourcefactory/trunk/src/zc/sourcefactory/browser/token.txt as it seems impossible to upload umlauts in long_description to pypi using distutils, so I had to replace the umlauts

Tres Seaver tseaver at palladion.com
Thu Aug 28 15:28:46 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jacob Holm wrote:
> This looks like a bad idea.  You are weakening the test by removing 
> non-ascii chars here.  A better approach would have been to rewrite the 
> non-ascii chars using \N (or \u or \U) escapes.

Evem worse:  the motivation is due to a spurious inclusion of all the
doctests in the long_description of the package:  no test with any
version of the code below should be on the package page at PyPI:  this
test is not "documenting" anything.

> Michael Howitz wrote:
>> Log message for revision 90434:
>>   as it seems impossible to upload umlauts in long_description to pypi using distutils, so I had to replace the umlauts
>>
>> Changed:
>>   U   zc.sourcefactory/trunk/src/zc/sourcefactory/browser/token.txt
>>
>> -=-
>> Modified: zc.sourcefactory/trunk/src/zc/sourcefactory/browser/token.txt
>> ===================================================================
>> --- zc.sourcefactory/trunk/src/zc/sourcefactory/browser/token.txt	2008-08-27 11:44:57 UTC (rev 90433)
>> +++ zc.sourcefactory/trunk/src/zc/sourcefactory/browser/token.txt	2008-08-27 11:49:47 UTC (rev 90434)
>> @@ -18,8 +18,8 @@
>>  =======
>>  
>>    >>> zc.sourcefactory.browser.token.fromUnicode(
>> -  ...     u'somestring with umlauts öäü')
>> -  '45dadc304e0d6ae7f4864368bad74951'
>> +  ...     u'somestring with strange chars #*&_;)')
>> +  'f33b8a6b56403c9d560e2ef772336798'


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItvxu+gerLs4ltQ4RAqLmAJ40Y4KPOV5v8p5PEqXg/fmVbrHbQgCdEoOA
yugJIdCWRjiLC+uqF7f5EXg=
=y50C
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list