[issue23230] Bug parsing integers with zero padding

2015-01-13 Thread Luis G.F
Luis G.F added the comment: Thanks for the response, but in my case, 001 is not an octal literal, is a base-10 zero padded comming from the parsing of a ip string like 111.000.222.333 , where numbers are all integers in base-10. The solution for parsing that seams to cast 000 as string and

[issue23230] Bug parsing integers with zero padding

2015-01-13 Thread Luis G.F
New submission from Luis G.F: Python 3.4 interpreter fail to parse a integer that has zero padding, whereas python 2.7 works properly. Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license&qu

[issue20908] Memory leak in Reg2Py()

2014-03-13 Thread Luis G.F
Luis G.F added the comment: Attach of patch for the 3.3.5 version. -- keywords: +patch versions: +Python 3.3 Added file: http://bugs.python.org/file34394/winreg_leak_v33.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20908] Memory leak in Reg2Py()

2014-03-13 Thread Luis G.F
New submission from Luis G.F: A memory leak can happend in Reg2Py() loosing the reference to str pointer. See file PC/winreg.c +947 -- components: Extension Modules, Windows messages: 213384 nosy: luisgf priority: normal severity: normal status: open title: Memory leak in Reg2Py