A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mail-archive.com/html5lib-discuss@googlegroups.com/msg00194.html below:

Hardcoded '/' in setup.py breaks Windows compatibility for version 0.11

Issue 72: Hardcoded '/' in setup.py breaks Windows compatibility for 
version 0.11
http://code.google.com/p/html5lib/issues/detail?id=72
New issue report by [EMAIL PROTECTED]:
Hi,

trying to install html5lib 0.11 on a Windows machine triggers the following:

 ValueError: path 'src/' cannot end with '/'

You should NEVER EVER use hardcoded '/' in pathnames, since it breaks
portability!!! For concatenation of paths, os.path.join(...) is the right
choice, a trailing '/', however, should always be omitted.

The attached (simple) patch fixes the issue.

Regards,
Torsten

Attachments:
        html5lib-0.11-setup.py.patch  486 bytes


Issue attributes:
        Status: New
        Owner: ----
        Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
 To post to this group, send email to html5lib-discuss@googlegroups.com
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB
-~----------~----~----~----~------~----~------~--~---


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4