[issue4620] Memory leak with datetime used with time.strptime

2008-12-11 Thread Skip Montanaro
Skip Montanaro [EMAIL PROTECTED] added the comment: A number of people on a number of platforms and versions can't reproduce this. -- resolution: - works for me stage: - committed/rejected status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue4620] Memory leak with datetime used with time.strptime

2008-12-10 Thread BEGUE
New submission from BEGUE [EMAIL PROTECTED]: When I use the following line in my process (my process run these line each 10 seconds), memory size increases progressively : myDate = datetime.datetime(*(time.strptime(dateString, %Y-%m-%dT%H:%M:%S)[0:6])) the '*' operator unpacks the tuple,

[issue4620] Memory leak with datetime used with time.strptime

2008-12-10 Thread Skip Montanaro
Skip Montanaro [EMAIL PROTECTED] added the comment: Can you reproduce this with a script that does nothing more than while True: myDate = datetime.datetime(*(time.strptime(2008-12-10T14:00:03, %Y-%m-%dT%H:%M:%S)[:6])) I tried with both Python 2.4.5 on Solaris and Python built from CVS (aka

[issue4620] Memory leak with datetime used with time.strptime

2008-12-10 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Tried it with Python 2.5.2 on WinXP, I see no memory growth either. -- nosy: +quentin.gallet-gilles ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620

[issue4620] Memory leak with datetime used with time.strptime

2008-12-10 Thread Gabriel Genellina
Gabriel Genellina [EMAIL PROTECTED] added the comment: After running for more than 2 hours, I could not see any memory growth with 2.5.2 on WinXP. -- nosy: +gagenellina ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620