Re: script uses up all memory

2014-03-14 Thread Kent Engström
://docs.djangoproject.com/en/dev/faq/models/#why-is-django-leaking-memory Regards, / Kent Engström, Lysator -- https://mail.python.org/mailman/listinfo/python-list

Re: Pythonic list reordering

2010-04-10 Thread Kent Engström
Ben Racine i3enha...@gmail.com writes: I have a list... ['dir_0_error.dat', 'dir_120_error.dat', 'dir_30_error.dat', 'dir_330_error.dat'] I want to sort it based upon the numerical value only. Does someone have an elegant solution to this? I use code like the hack below to sort

[issue8267] Tutorial secion on dictionary keys recommends sort instead of sorted

2010-03-30 Thread Kent Engström
New submission from Kent Engström k...@lysator.liu.se: The 2.[567] documentation recommends the use of the sort() method to get a sorted list of dictionary keys. If would be less confusing to new users if we recommended the sorted() functions instead. The corresponding piece of Python 3

[issue8267] Tutorial section on dictionary keys recommends sort instead of sorted

2010-03-30 Thread Kent Engström
Changes by Kent Engström k...@lysator.liu.se: -- title: Tutorial secion on dictionary keys recommends sort instead of sorted - Tutorial section on dictionary keys recommends sort instead of sorted ___ Python tracker rep...@bugs.python.org http