Files
2012-02-21 01:15:00 -05:00

1 line
3.0 KiB
JSON

[{"user_id": 5673, "stars": [], "topic_id": 9284, "date_created": 1298755443.4664381, "message": "If you're working on porting python 2 code to python 3 using 2to3, this topic is for you. Feel free to share techniques that have worked for you, ask about issues that have caused you trouble, or try to recruit help for specific porting projects.", "group_id": 292, "id": 215705}, {"user_id": 5673, "stars": [], "topic_id": 9284, "date_created": 1298759261.766942, "message": "(The code, btw, is in formencode's tests.test_htmlfill.py)", "group_id": 292, "id": 215880}, {"user_id": 5673, "stars": [], "topic_id": 9284, "date_created": 1298759231.9803591, "message": "There seems to be a weird issue with converting __builtin__ to builtins. The import got changed, but a place where it got used later on didn't get fixed. I'm working around it by doing `import __builtin__ as builtins`, and using builtins in the code. It's a little ugly, as it converts to `import builtins as builtins`, but it seems to work. Anyone know why that wouldn't get caught?", "group_id": 292, "id": 215872}, {"user_id": 2863, "stars": [], "topic_id": 9284, "date_created": 1298784227.6680961, "message": "@jodyer did you report the issue?", "group_id": 292, "id": 216565}, {"user_id": 5673, "stars": [], "topic_id": 9284, "date_created": 1298833525.8251719, "message": "@brettcannon: Not yet. Gonna do that today.", "group_id": 292, "id": 219303}, {"user_id": 5673, "stars": [], "topic_id": 9284, "date_created": 1298838389.6941049, "message": "@brettcannon: Done. Thanks for the motivator.", "group_id": 292, "id": 220422}, {"user_id": 1944, "stars": [], "topic_id": 9284, "date_created": 1298980571.3494971, "message": "I've found it useful to have distribute run 2to3 on installation and run the tests against different Pythons using tox", "group_id": 292, "id": 233935}, {"user_id": 1944, "stars": [], "topic_id": 9284, "date_created": 1298980606.787672, "message": "Note that you have to include the tests in your package for distribute to run 2to3 on those too", "group_id": 292, "id": 233937}, {"user_id": 5582, "stars": [], "topic_id": 9284, "date_created": 1298982023.5555749, "message": "Relevant blog post (not mine): Lessons learned porting dateutil to Python 3 http://www.protocolostomy.com/2011/02/25/lessons-learned-porting-dateutil-to-python-3/", "group_id": 292, "id": 234047}, {"user_id": 5639, "stars": [{"date_created": 1298987716.129684, "user_id": 5582}], "topic_id": 9284, "date_created": 1298987564.328536, "message": "heh. That's my post! ;-P", "group_id": 292, "id": 234637}, {"user_id": 2863, "stars": [], "topic_id": 9284, "date_created": 1299043402.523454, "message": "I should also point out there is now a HOWTO on porting: http://docs.python.org/dev/howto/pyporting.html", "group_id": 292, "id": 243678}, {"user_id": 5673, "stars": [], "topic_id": 9284, "date_created": 1299096566.930521, "message": "I'm finding this article very helpful: http://techspot.zzzeek.org/2011/01/24/zzzeek-s-guide-to-python-3-porting/", "group_id": 292, "id": 252422}]