[issue9291] mimetypes initialization fails on Windows because of non-Latin characters in registry

2010-10-22 Thread Vladimir Iofik
Vladimir Iofik v-io...@yandex.ru added the comment: Here is a better patch. -- nosy: +vj Added file: http://bugs.python.org/file19332/9291a.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9291

[issue10166] maximum recursion depth exceeded in lib\pstats.py

2010-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r85787. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10166

[issue9291] mimetypes initialization fails on Windows because of non-Latin characters in registry

2010-10-22 Thread Vladimir Iofik
Vladimir Iofik v-io...@yandex.ru added the comment: UnicodeDecodeException is thrown because 'ctype' is already a string, so it is first implicitly decoded by default encoder (which is 'ascii') and then reencoded back. I see no reason in all these actions, so I simply removed them. I think

[issue10147] Python Documentation bugs

2010-10-22 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: All the words that Georg Brandl fixed for this issue are okay as they stand. Please leave them as they are written. Thank you. On Fri, Oct 22, 2010 at 1:19 AM, Marc-Andre Lemburg rep...@bugs.python.orgwrote: Marc-Andre Lemburg

[issue3902] distutils does not create __init__.py for packages containing extension modules

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the report. To the best of my knowledge, distutils never generates Python files, and the docs for ext_modules or ext_package don’t imply __init__.py will be generated. IOW, for “pkg.foo”, you’re supposed to have pkg/__init__.py and

[issue3902] distutils does not create __init__.py for packages containing extension modules

2010-10-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- Removed message: http://bugs.python.org/msg113049 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3902 ___

[issue7639] bdist_msi fails on files with long names

2010-10-22 Thread Christoph Gohlke
Christoph Gohlke cgoh...@uci.edu added the comment: Creating bdist_msi installers with files such as 'aixc++' (containing '+'), '.buildinfo' (starting with '.'), and 'py.~1.5.~' (containing '~') currently also fails, even with the proposed patch. The revised patch should fix these cases and

[issue6011] python doesn't build if prefix contains non-ascii characters

2010-10-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: $ LC_ALL=C ./python Fatal Python error: Py_Initialize: Unable to get the locale encoding SystemError: NULL result without error in PyObject_Call Abandon What is your Python version? I fixed Python 3.2, but I don't plan to fix

[issue7726] Remove required metadata warnings for sdist

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I don’t think warnings should be removed, at least not by default. They’re warnings, not errors, which is IMO a nice compromise between accepting anything and requiring that rules be followed. We could add an option like --no-warnings in

[issue7726] Remove required metadata warnings for sdist

2010-10-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- Removed message: http://bugs.python.org/msg113019 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7726 ___

[issue1274324] 'setup.py install' fail on linux from read-only storage

2010-10-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: - eric.araujo nosy: -terry.reedy versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1274324

[issue9167] argv double encoding on OSX

2010-10-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: FYI, you should use ascii() instead of a.encode(\utf8\) to dump arguments. It's easier to check '\u2603' than b'\xe2\x98\x83' for me :-) So the bug is fixed in Python 3.2, great! I was thinking that we need a test for that, but

[issue4032] distutils cannot recognize .dll.a as library on cygwin

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Can you produce a patch? (Removing Terry from nosy at his request) -- components: +Distutils2 nosy: +eric.araujo -terry.reedy versions: +3rd party, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue4032] distutils cannot recognize .dll.a as library on cygwin

2010-10-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- Removed message: http://bugs.python.org/msg113008 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4032 ___

[issue5926] bdist_msi - add support for minimum Python version for pure Python packages

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: distutils is frozen, new features land into distutils2 (http://bitbucket.org/tarek/distutils2/). Do you want to work on a patch? -- components: +Distutils2 -Distutils nosy: +eric.araujo stage: - needs patch versions: +3rd party -Python

[issue5936] Add MSI suport for uninstalling individual versions

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: “For example, if you installed a new version of Python, this would allow you to add your already installed pure Python modules to this Python installation by just going to Add/Remove Programs and selecting the feature for the new version.” Would

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2010-10-22 Thread Christoph Gohlke
Christoph Gohlke cgoh...@uci.edu added the comment: The revised patch for issue7639 now generates better short names for file names containing spaces, '+', and leading '.'. http://bugs.python.org/file19334/msilib.diff Test cases that could be added to MsilibTest.test_makeshort(): TEST

[issue1371826] distutils is silent about multiple -I/-L/-R

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Skip, do you agree with my proposal (no behavior change in d1, better behavior in d2) or do you think it could be confusing? -- ___ Python tracker rep...@bugs.python.org

[issue10126] test_distutils failure with --enable-shared

2010-10-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: You broke many 2.7, 3.1 and 3.x buildbots. -- priority: high - critical resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10126

[issue5936] Add MSI suport for uninstalling individual versions

2010-10-22 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Would you have to do this for every installed distribution? Seems cumbersome. Well, the feature not being implemented yet, it's hard to tell what it would do. ;-) But I think the simplest approach would actually yield a dialog where

[issue4032] distutils cannot recognize .dll.a as library on cygwin

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I used to create the patch http://bugs.python.org/file11597/experimental_distutils.patch in #1706863, but cygwin guys wanted this code implemented in CCygwinCompiler class (See #2445). I think #2445 should be resolved before.

[issue4032] distutils cannot recognize .dll.a as library on cygwin

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Can you port that patch? I don't have cygwin installed now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4032 ___

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I created test branch branches/py3k-stat-on-windows and committed the new patch in r85789. This achieves msg119108. I tested this on Windows7 buildbot where symlink support exists, it seems working correct.

[issue9289] test_long_key(test_winreg) fails on win2k + py2.x

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I committed in r85790(release27-maint). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed title: Skip test_long_key(test_winreg) on win2k + py2.x - test_long_key(test_winreg) fails on

[issue10164] Add an assertBytesEqual to unittest and use it for bytes assertEqual

2010-10-22 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- title: Add an assertBytesMultiLineEqual to unittest and use it for bytes assertEqual - Add an assertBytesEqual to unittest and use it for bytes assertEqual ___ Python tracker

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-22 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10171 ___ ___ Python-bugs-list

[issue10172] code block has no syntax coloring

2010-10-22 Thread Winston C. Yang
New submission from Winston C. Yang wins...@cs.wisc.edu: The following code block in http://docs.python.org/tutorial/errors.html has no syntax coloring: import sys try: f = open('myfile.txt') s = f.readline() i = int(s.strip()) except IOError as (errno, strerror): print I/O

[issue6011] python doesn't build if prefix contains non-ascii characters

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’m trying to build py3k on posix in a subdir called sep-build-dir-éric, with locale set to C. I get these errors: gcc [...] -DSVNVERSION=\`LC_ALL=C svnversion ..`\ -o Modules/getbuildinfo.o ../Modules/getbuildinfo.c svn: Error converting entry

[issue9912] Fail when vsvarsall.bat produces stderr

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’d replace “created stderr” with “printed on stderr”, but otherwise msvc9_log.diff looks good. distutils is feature-frozen, but I think any changes that help debugging are good. Tarek, do you agree? --

[issue9912] Fail when vsvarsall.bat produces stderr

2010-10-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils2 stage: needs patch - patch review versions: +3rd party -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9912 ___

[issue9912] Fail when vsvarsall.bat produces stderr

2010-10-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Éric Araujo wrote: Éric Araujo mer...@netwok.org added the comment: I’d replace “created stderr” with “printed on stderr”, but otherwise msvc9_log.diff looks good. distutils is feature-frozen, but I think any changes that help

[issue10156] Initialization of globals in unicodeobject.c

2010-10-22 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I've verified the leak manually. The cause is that global variables in unicodeobject.c, e.g. free_list, are used before _PyUnicode_Init() is called. Later on _PyUnicode_Init() sets these variables to NULL, losing the allocated memory.

[issue1371826] distutils is silent about multiple -I/-L/-R

2010-10-22 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: I would prefer the gcc-like behavior. I realize there are constraints on making changes in distutils1, so what you propose sounds fine to me. -- nosy: +skip.montanaro ___ Python tracker

[issue1371826] distutils is silent about multiple -I/-L/-R

2010-10-22 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1371826 ___ ___ Python-bugs-list

[issue5342] distutils removing old files, deleting unneeded old files from installed location.

2010-10-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils2 -Distutils nosy: +eric.araujo versions: +3rd party -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5342 ___

[issue4673] Distutils should provide an uninstall command

2010-10-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- dependencies: +distutils removing old files, deleting unneeded old files from installed location. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4673

[issue6011] python doesn't build if prefix contains non-ascii characters

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Building in the same directory works. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6011 ___

[issue4459] bdist_rpm should enable --fix-python by default

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: FYI, this is fixed in the new bdist_rpm2 command: https://bitbucket.org/tarek/pypi2rpm/changeset/ce6626df0225 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4459

[issue808129] Change --changelog to accept files

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The feature freeze does apply. Tarek has started a standalone project to build RPMs; I suggest you transfer this bug to https://bitbucket.org/tarek/pypi2rpm/ Happy hacking! -- resolution: - rejected stage: - committed/rejected

[issue10126] test_distutils failure with --enable-shared

2010-10-22 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: eric.araujo - barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10126 ___ ___

[issue1649329] Support for non-filesystem-based catalogs in gettext

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The specific problem of gettext+eggs seems to be solved by this project: https://pypi.python.org/pypi/EggTranslations/ Since the egg format is not retained in distutils2, I don’t think any support for it should be added in the stdlib. FWIW, I

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-22 Thread Rafe Kettler
Changes by Rafe Kettler rafe.kett...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10171 ___ ___

[issue10106] missing packages

2010-10-22 Thread S S
S S seny...@gmail.com added the comment: finally was able to figure it out. i had another product installed, which uses python 2.4 that product during installation put PYTHONHOME into system variable environment. as soon as i either change that PYTHONHOME to my latest python path c:\python26

[issue10126] test_distutils failure with --enable-shared

2010-10-22 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I believe all known failures in 2.7, 3.1, and 3.2 both with and without --enable-shared are now fixed. Let's see what the buildbots say. -- resolution: - fixed status: open - closed ___ Python

[issue10090] python -m locale fails on OSX

2010-10-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- dependencies: +locale.normalize strips - from UTF-8, which fails on Mac ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10090 ___

[issue10155] Add fixups for encoding problems to wsgiref

2010-10-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Your patch adds a new handler, which is arguably a new feature that has to be rejected in a bugfix branch. -- nosy: +eric.araujo versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue10156] Initialization of globals in unicodeobject.c

2010-10-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: About the patch: why should _PyUnicode_Init() try to call _PyUnicode_InitGlobals() again? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10156

[issue5639] Support TLS SNI extension in ssl module

2010-10-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed with docs in r85793. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5639

[issue10115] Support accept4() for atomic setting of flags at socket creation

2010-10-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've removed the accept4() call in the meantime (in r85796), so that this issue can be re-classified as a feature request. -- priority: critical - normal title: accept4 can fail with errno 90 - Support accept4() for atomic setting of

[issue5936] Add MSI suport for uninstalling individual versions

2010-10-22 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: It possible to script MSI, so that one could write a tool that manages all MSI files that have the multi-version feature, and add and remove them to Python installation in batches. Alternatively, it would also be possible to integrate this

[issue9935] Faster pickling of instances

2010-10-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r85797. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9935

[issue10093] Warn when files are not explicitly closed

2010-10-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: After thinking about what warning to go with, I take back my python-dev suggestion of ResourceWarning and switch to DebugWarning. So what is your advice now? I've thought about the DebugWarning name myself and I think it's a rather bad name,

[issue10093] Warn when files are not explicitly closed

2010-10-22 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: On Fri, Oct 22, 2010 at 12:49, Antoine Pitrou rep...@bugs.python.org wrote: Antoine Pitrou pit...@free.fr added the comment: After thinking about what warning to go with, I take back my python-dev suggestion of ResourceWarning and switch to

[issue9935] Faster pickling of instances

2010-10-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The commit broke the Windows buildbots because (un)pickling a TextIOWrapper now raises an exception: f = open(LICENSE) pickle.dumps(f) b'\x80\x03c_io\nTextIOWrapper\nq\x00)\x81q\x01}q\x02X\x04\x00\x00\x00modeq\x03X\x01\x00\x00\x00rq\x04sb.' g

[issue9935] Faster pickling of instances

2010-10-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The difference has to do with the result of __reduce__: With the patch: open(LICENSE).__reduce_ex__(3) (function __newobj__ at 0x7fa392a0ff30, (class '_io.TextIOWrapper',), {'mode': 'r'}, None, None) Without: open(LICENSE).__reduce_ex__(3)

[issue10093] Warn when files are not explicitly closed

2010-10-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: I wonder why you think a warning is needed if files aren't closed explicitly. The fact that they get closed on garbage collection is one of the nice features of Python and has made programming easy for years. Explicitly having to close

[issue10093] Warn when files are not explicitly closed

2010-10-22 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: But this is meant to be an optional warning; users will never see it. Me as a developer, I would like to know when I leave a file open as that is a waste of resources, plus with no guarantee of everything being flushed to disk. Besides, the

[issue10173] Don't pickle TestCase instances in test_multiprocessing

2010-10-22 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: unittest.TestCase instances aren't supposed to be picklable, but test_multiprocessing does it anyway (under Windows). Here is a patch. -- components: Tests files: tmp.patch keywords: patch messages: 119407 nosy: asksol, jnoller, pitrou

[issue10173] Don't pickle TestCase instances in test_multiprocessing

2010-10-22 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10173 ___ ___ Python-bugs-list

[issue10143] Update os.pathconf values

2010-10-22 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10143 ___ ___ Python-bugs-list

[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2010-10-22 Thread Simon de Vlieger
New submission from Simon de Vlieger si...@ikanobori.jp: When I have replaced sys.stdin with my own file-like object and I try to do a multiprocessing.Pool(processes=x) I get errors about sys.stdin not having a fileno or close method. For at least fileno it is described in the docs

[issue6011] python doesn't build if prefix contains non-ascii characters

2010-10-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I’m trying to build py3k on posix in a subdir called sep-build-dir-éric, with locale set to C. Ah yes, this particular use case doesn't work: r85800 should fix it. Please retry. --

[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2010-10-22 Thread Andreas Stührk
Changes by Andreas Stührk andy-pyt...@hammerhartes.de: -- nosy: +Trundle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10174 ___ ___

[issue10175] vs version for win32 compilation of extension modules is undocumented.

2010-10-22 Thread Tom Fogal
New submission from Tom Fogal tfo...@alumni.unh.edu: I have recently attempted to install a couple third party packages (zope.interface and dulwech, FWIW) and encountered great difficulties. In particular, the setup complained that it could not find vcvarsall.bat. Even running these setup

[issue10175] vs version for win32 compilation of extension modules is undocumented.

2010-10-22 Thread Jeremy Kloth
Changes by Jeremy Kloth jeremy.kl...@gmail.com: -- nosy: +jkloth ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10175 ___ ___ Python-bugs-list

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-22 Thread Case Van Horsen
Case Van Horsen cas...@gmail.com added the comment: I maintain gmpy and it needs to calculate hash values for integers, floats, and rationals. I converted my hash calculations to use Py_ssize_t in a 64-bit Windows enviroment. All my tests pass when I build Python with my previous patch. In

[issue10175] vs version for win32 compilation of extension modules is undocumented.

2010-10-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If I understand correctly (I'm not a windows user or developer myself), knowing the bits necessary to compile extension modules is not something very many people need to know. If an extension module supports Windows, there will

[issue10175] vs version for win32 compilation of extension modules is undocumented.

2010-10-22 Thread Jeremy Kloth
Jeremy Kloth jeremy.kl...@gmail.com added the comment: A quick look with Dependency Walker gives me the following: Python 2.4,2.5 -- MSVC .NET 2003 (7.1) Python 2.6,2.7,3.0,3.1 -- MSVC 2008 (9.0) Note these are only for the official python.org builds. Each version can also be built using

[issue6639] turtle: _tkinter.TclError: invalid command name .10170160

2010-10-22 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I have come across the same bug. To reproduce, run Demo/turtle/tdemo_round_dance.py and kill the Tk window before the dance stops. The mysterious command name .10170160 is simply the generated name for the canvas

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-22 Thread Case Van Horsen
Case Van Horsen cas...@gmail.com added the comment: I've uploaded a patch against the current svn trunk that: 1) Defines a Py_uhash_t as equivalent to size_t. 2) Correctly defines _PyHASH_MODULUS on Win64. 3) Replaces several PyLong_FromLong with PyLong_FromSsize_t. 4) Change

[issue10118] Tkinter does not find font

2010-10-22 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: 2.7 is in security-fix only mode. I am assuming that this is still a problem in 2.7 (and possibly 3.x). It would be good to confirm this. -- nosy: +terry.reedy versions: +Python 2.7 -Python 2.6 ___

[issue10160] operator.attrgetter slower than lambda after adding dotted names ability

2010-10-22 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I am not sure whether I should attach a zip/tar file with both the attachments (the sample benchmark and the diff); so I'll attach the diff in a further comment. Uploading separate files with .py, .diff extensions that can be viewed in a

[issue10172] code block has no syntax coloring

2010-10-22 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: 2.7 only (verified); 3.1 and 3.2 are fine. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10172 ___