On Mon, Mar 19, 2007 at 07:35:08PM +0300, Alexey Morsov wrote: > On Sun, Mar 18, 2007 at 06:37:20PM +0300, Alexey Tourbin wrote: > > 834 mod = PyImport_ImportModuleEx("encodings", NULL, NULL, NULL); > > 835 if (mod == NULL) { > > 836 if (PyErr_ExceptionMatches(PyExc_ImportError)) { > > 837 /* Ignore ImportErrors... this is done so that > > 838 distributions can disable the encodings package. Note > > 839 that other errors are not masked, e.g. SystemErrors > > 840 raised to inform the user of an error in the Python > > 841 configuration are still reported back to the user. */ > > 842 PyErr_Clear(); > > 843 return 0; > > 844 } > > 845 return -1; > > 846 } > > Так. А не из-за этого ли (или рядом) в инкаминге теперь строка > # -*- coding: windows-1251 -*- > считается ошибкой? > Не перекрутили ли гайки? Нет. :) Здесь ничего не изменилось. Мы обсуждали другую пробему: двусмысленную зависимость python-base от python-modules-encodings. И отсутствие способа сказать питону "питон, не трогай в этом месте кодировки, представь себе, что их НЕТ". Вообще, пишите подробнее, что именно сломалось.