New submission from Scott Dial <sc...@scottdial.com>:

I'm not sure if it's intended to be a supported workflow, but I personally have 
come to like using "mq" for projects where I am an outsider submitting small 
changes as patches. However, this appears to be a broken workflow due to way 
getbuildinfo module choose to limit the buildinfo string to 50 characters:

$ hg qnew dummy-patch
$ echo "/* dummy change */" >> Modules/getbuildinfo.c
$ ./python -c 'import sys; print(sys.version)' 
3.3a0 (dummy-patch qbase qtip tip:191f047a07b4+, Mar  9 ) 
[GCC 4.4.5]

This breaks the platform module and therefore breaks the regrtest code, which 
makes it a show-stopper for using mq to manage your workflow. Is there any 
reason that length of buildinfo can't be chosen at compile-time based on the 
sizeof(HGTAG)?

----------
components: Build
messages: 130432
nosy: scott.dial
priority: normal
severity: normal
status: open
title: Py_GetBuildInfo() truncates when there are many hg tags
type: feature request

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11450>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to