[issue23330] h2py.py regular expression missing

2015-05-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
resolution:  - fixed
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23330
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23330] h2py.py regular expression missing

2015-05-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b32ca610c9e6 by Serhiy Storchaka in branch '2.7':
Issue #23330: h2py now supports arbitrary filenames in #include.
https://hg.python.org/cpython/rev/b32ca610c9e6

New changeset 0079465a9425 by Serhiy Storchaka in branch '3.4':
Issue #23330: h2py now supports arbitrary filenames in #include.
https://hg.python.org/cpython/rev/0079465a9425

New changeset f49e7e315d65 by Serhiy Storchaka in branch 'default':
Issue #23330: h2py now supports arbitrary filenames in #include.
https://hg.python.org/cpython/rev/f49e7e315d65

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23330
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23330] h2py.py regular expression missing

2015-04-04 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23330
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23330] h2py.py regular expression missing

2015-03-02 Thread Thomas Roos

Thomas Roos added the comment:

works for me

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23330
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23330] h2py.py regular expression missing

2015-03-02 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +loewis

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23330
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23330] h2py.py regular expression missing

2015-03-02 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

my be change the pattern to '([^\n]+)'?

--
nosy: +serhiy.storchaka

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23330
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23330] h2py.py regular expression missing

2015-01-27 Thread Thomas Roos

New submission from Thomas Roos:

Hi,
my issue was that SO_BINDTODEVICE symbol was not defined in 
/Lib/plat-linux2/IN.py which is generated by h2py.py.
This is because the regex is missing out include dirs with - in the name.
In my yocto cross build system this define is in asm-generic, don't know about 
other build systems. 
.../usr/include/asm-generic/socket.h:#define SO_BINDTODEVICE   25
so could you please change following regex in h2py.py (patch attached)
-p_include = re.compile('^[\t ]*#[\t ]*include[\t ]+([a-zA-Z0-9_/\.]+)')
+p_include = re.compile('^[\t ]*#[\t ]*include[\t ]+([a-zA-Z0-9_/\.-]+)')

--
components: Cross-Build
files: IN.py.patch
keywords: patch
messages: 234817
nosy: Thomas.Roos
priority: normal
severity: normal
status: open
title: h2py.py regular expression missing
type: compile error
versions: Python 2.7
Added file: http://bugs.python.org/file37879/IN.py.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23330
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com