[Python-Dev] XXX do we need a new policy?

Barry Warsaw barry at python.org
Tue Nov 4 00:49:04 CET 2008


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

On Nov 3, 2008, at 6:39 PM, Benjamin Peterson wrote:

> Grepping through Python's sources tells me that we have over 2,000
> "XXX" comments. The thing that irks me about them is that the have a
> very slow rate of being resolved, since they usually act more as
> "notes to self" rather than easily attainable tasks.
>
> So, I propose that we adopt a policy similar to Twisted's: All "XXX"
> comments must have an issue in the tracker and an accompanying link
> with the source code. That way we'll have a forum for discussing the
> changes and deciding whether they are reasonable enough to
> implemented.

We have a very similar policy here at work.  Sadly I don't think it  
does much on actually resolving the issues.  XXX bugs tend to be  
pretty minor in the scheme of things and they're almost always lower  
on the priority list than everything else.

That being said, we recognize that XXX bugs incur "technical debt" and  
reducing that debt is something we're devoting Real Time to doing.

I see that Guido is not keen on the idea, and I'm not sure my  
observations help sway things one way or the other.  OTOH, it would be  
nice if at least we always add our own identifier (initials, nick,  
email address) and a date to the XXX so we at least know who was  
talking about what.

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iQCVAwUBSQ+N8HEjvBPtnXfVAQLSPAP/ZKHOTaPxNPySfxPwGmbLSTXjSst+z4/f
1SkhkKjOq8/pjjftZW8n6AWb4WSIWXcyCPJ3FGOAXaP141px2yMfRQnXXbdyH6vQ
6sW12e4ZC2J8UPUyzOxiFJb5F8/HhmIMVifzV1vkEf60QYo9lCD614rBdiW30q9v
pWudrLQUMEM=
=1USW
-----END PGP SIGNATURE-----


More information about the Python-Dev mailing list