[issue10240] dict.update.__doc__ is misleading

2010-10-30 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: I'm not sure that we should mention the fast path for dicts. That is an implementation detail and may not be present in IronPython, PyPy, Jython, etc. The current version includes: D.updated(E, **F) -- None. Updated D

[issue10240] dict.update.__doc__ is misleading

2010-10-30 Thread ivank
ivank b...@ludios.org added the comment: CPython's dict(obj) ignores `keys` and `__iter__` if obj is a subclass of dict. I thought this was an important language detail, not just an implementation quirk. But, I just tested pypy 1.3, and it is calling .keys() on dicts. Oh well. I think the

[issue10243] Packaged Pythons

2010-10-30 Thread Max Skaller
New submission from Max Skaller max.skal...@gmail.com: Not sure if this is a bug or not. I am unable to find libpython.so for Python3 on either my Mac or Ubuntu. Perhaps this is a packaging fault, however some documentation in the Wiki suggests otherwise. It appears the builders have reverted

[issue6105] json.dumps doesn't respect OrderedDict's iteration order

2010-10-30 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Backported to 2.7 See r85966 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6105

[issue10243] Packaged Pythons

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Python 2.6, for example, does ship a shared library. That is not really the case. Python 2.6 ships in source form. It builds with a libpython shared library only if you configure with --enable-shared. In particular it is NOT acceptable

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-30 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: See r85967, r85968 and r85969. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10221

[issue10224] Build 3.x documentation using python3.x

2010-10-30 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: -- nosy: +zbysz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10224 ___ ___ Python-bugs-list mailing

[issue10220] Make generator state easier to introspect

2010-10-30 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: -- nosy: +zbysz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10220 ___ ___ Python-bugs-list mailing

[issue10244] PEP100 has broken links

2010-10-30 Thread Maciej Fijalkowski
New submission from Maciej Fijalkowski fij...@gmail.com: PEP100 (http://www.python.org/dev/peps/pep-0100/) links to python starship. Should it just link to python.org for the newest version of this doc? -- assignee: d...@python components: Documentation messages: 119967 nosy:

[issue10244] PEP100 has broken links

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Why do you say that the link is broken? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10244 ___

[issue10244] PEP100 has broken links

2010-10-30 Thread Maciej Fijalkowski
Maciej Fijalkowski fij...@gmail.com added the comment: Python starship is down, I thought it's permanently down, isn't it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10244 ___

[issue10244] PEP100 has broken links

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The link works fine for me right now, and the starship is alive and well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10244 ___

[issue10244] PEP100 has broken links

2010-10-30 Thread Maciej Fijalkowski
Maciej Fijalkowski fij...@gmail.com added the comment: That is really weird, it definitely doesn't for me. Anyway, closing the ticket then. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10244

[issue10244] PEP100 has broken links

2010-10-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Well, obviously only the first link works (does for me too), the second needs to have a version filled in :) -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org

[issue10244] PEP100 has broken links

2010-10-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Maciej Fijalkowski wrote: New submission from Maciej Fijalkowski fij...@gmail.com: PEP100 (http://www.python.org/dev/peps/pep-0100/) links to python starship. Should it just link to python.org for the newest version of this doc? The

[issue10245] Fix resource warnings in test_telnetlib

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: Please see attached patch and closing files and sockets in a timely manner in the stdlib on python-dev. -- components: Tests files: test_telnetlib_fd_leak.patch keywords: patch messages: 119974 nosy: bbrazil, brett.cannon

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: Please see attached patch, I'm not sure if this is the cleanest way to fix this. This also fixes the resource warnings in the test. -- components: Library (Lib) files: uu_fd_leak.patch keywords: patch messages: 119975 nosy:

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I think there should be a try..finally block so that those files get closed even when there's an error in-between. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-30 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com added the comment: How does v2 look? -- Added file: http://bugs.python.org/file19426/uu_fd_leak_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10246

[issue10240] dict.update.__doc__ is misleading

2010-10-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Maybe the fastpath should do a strict check and not be used for subclasses of dict? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10240

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: How does v2 look? Nice, thank you! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10246 ___

[issue10237] failure in Barrier tests

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I also get a failure here: == FAIL: test_default_timeout (test.test_threading.BarrierTests) -- Traceback (most

[issue10247] mold builder

2010-10-30 Thread Lorenz Quack
New submission from Lorenz Quack d...@amberfisharts.com: RV Plastics is your end to end partner for all your moulds and Injection Moulding requirements. Founded in 2003, RV Plastics dedicates itself to the plastic industry, exporting Plastic injection moulds and molded Components to

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r85975 (3.2). I guess we'll do a big svnmerge to other branches later. -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.2 -Python 3.3 ___

[issue10248] Fix resource warnings in test_xmlrpclib

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: I'm not 100% comfortable with this patch as my knowledge of the xmlrpc interface is very limited, a simple p.close() would seem cleaner - but that doesn't work. -- files: test_xmlrpclib_fd_leak.patch keywords: patch messages:

[issue10249] Fix resource warnings in test_unicodedata

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: Please see attached. -- components: Library (Lib) files: test_unicodedata_fd_leak.patch keywords: patch messages: 119984 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_unicodedata

[issue10250] Fix resource warnings in test_urllib2_localnet

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: Please see attached, not sure this is quite right. -- components: Tests files: test_urllib2_localnet_fd_leak.patch keywords: patch messages: 119985 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource

[issue10248] Fix resource warnings in test_xmlrpclib

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis stage: - patch review type: - resource usage versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10248 ___

[issue10250] Fix resource warnings in test_urllib2_localnet

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +orsenthil stage: - patch review type: - resource usage versions: +Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10250

[issue10247] mold builder

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- Removed message: http://bugs.python.org/msg119981 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10247 ___

[issue10247] mold builder

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: -donlorenzo resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10247 ___

[issue9340] argparse parse_known_args does not work with subparsers

2010-10-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I've looked over this patch, and it seems to me that there is no compelling reason to create two new functions. I think it would be clearer to just inline that code in the places it is used. If it turns out later that the code needs

[issue9340] argparse parse_known_args does not work with subparsers

2010-10-30 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- stage: needs patch - patch review versions: +Python 3.1 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9340 ___

[issue10251] Fix resource warnings in test_file

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: Please see attached. -- components: Tests files: test_file_fd_leak.patch keywords: patch messages: 119987 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_file versions: Python 3.3

[issue10252] Fix resource warnings in distutil tests

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: Please see attached. -- assignee: tarek components: Distutils files: distutils_fd_leak.patch keywords: patch messages: 119988 nosy: bbrazil, eric.araujo, tarek priority: normal severity: normal status: open title: Fix resource

[issue10251] Fix resource warnings in test_file

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r85977, thanks. -- nosy: +pitrou resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue10249] Fix resource warnings in test_unicodedata

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Fixed in r85978, thank you. -- nosy: +pitrou resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue10252] Fix resource warnings in distutil tests

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: - patch review type: - resource usage versions: +Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10252 ___

[issue10226] urlparse example is wrong

2010-10-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: How about this: - If the scheme value is not specified, urlparse following the syntax - specifications from RFC 1808, expects the netloc value to start with '//', - Otherwise, it is not possible to distinguish between net_loc and path

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: fileio_init will leak a fd if you open a file for append that isn't seekable. We should close this fd before returning the failure. The attached patch fixes this and a resource warning in the tests, but I'm unsure if it'd be better to

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +amaury.forgeotdarc, benjamin.peterson stage: - patch review type: - resource usage versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It should be closed only if closefd is true. Does it fix a warning in the test suite? Otherwise I think it would need its own test. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue1346238] A constant folding optimization pass for the AST

2010-10-30 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1346238 ___ ___ Python-bugs-list

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com added the comment: Version 2 of the patch is attached. This fixes a warning at line 256 in test_fileio.py: f = _FileIO(/dev/tty, a) on my Hardy machine. -- Added file: http://bugs.python.org/file19433/fileio_fd_leak_v2.patch

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Merlijn van Deen
New submission from Merlijn van Deen valhall...@gmail.com: Summary: Somewhere between 2.6.5 r79063 and 3.1 r79147 a regression in the unicode NFC normalization has been introduces. This regression leads to bot edit wars on wikipedia [1]. It is reproducable with a simple script [2].

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Merlijn van Deen
Merlijn van Deen valhall...@gmail.com added the comment: Please note: The bug might very well be present in python 3.2 and 3.3. However, I do not have these versions installed, so I cannot confirm this. -- ___ Python tracker rep...@bugs.python.org

[issue10157] Refleaks in pythonrun.c

2010-10-30 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Thank you, I committed your patch in r85980(py3k) and r85981(release31-maint). -- assignee: ocean-city - resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 3.1

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Confirmed on Python 3.2. -- nosy: +haypo, loewis, pitrou versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10254 ___

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

2010-10-30 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: - rhettinger nosy: +rhettinger priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10164 ___

[issue1346238] A constant folding optimization pass for the AST

2010-10-30 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: -georg.brandl, georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1346238 ___ ___

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r85982, thank you. I will backport later. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10093] Warn when files are not explicitly closed

2010-10-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: MAL wrote: Antoine wrote: MAL wrote: I don't follow you. Where's the difference between writing: s.close() or s = None for an open socket s ? The difference is when s is still referenced elsewhere. Also, the intent of the

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Not sure this is a blocker. There are various assembler syntaxes for x86 and chances are LLVM uses a different one from gcc. -- assignee: - theller nosy: +georg.brandl, pitrou, theller ___ Python

[issue6706] asyncore's accept() is broken

2010-10-30 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6706 ___

[issue10236] Sporadic failures of test_ssl

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The errno printed here is just an error which is expected and tested for. The verbose run was ok, it's the silent run just before which produced an error (or several), but unfortunately: test test_ssl failed -- multiple errors occurred; run in

[issue6706] asyncore's accept() is broken

2010-10-30 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: CVE-2010-3492 references this issue. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-3492 -- ___ Python tracker rep...@bugs.python.org

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2010-10-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I agree, this shouldn't be a blocker. -- priority: deferred blocker - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10238 ___

[issue10250] Fix resource warnings in test_urllib2_localnet

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r85983, thank you. -- nosy: +pitrou resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10245] Fix resource warnings in test_telnetlib

2010-10-30 Thread Jack Diederich
Changes by Jack Diederich jackd...@gmail.com: -- assignee: - jackdied nosy: +jackdied versions: +Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10245 ___

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

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Some comments about the patch: - this seems to be some dead code: if (nattrs = 1) { if (!PyArg_UnpackTuple(args, attrgetter, 1, 1, attr)) return NULL; - you can't call PyUnicode_GET_SIZE or PyUnicode_AS_UNICODE before

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2010-10-30 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Éric, go ahead and consolidate to one issue if you can get to it. Do the other issues shows problems with 3.1 or 3.2 also? I wonder because I have never seen the box in the posted .png and wonder if that is a new 'feature' with 2.7 and

[issue10255] refleak in initstdio

2010-10-30 Thread Neil Schemenauer
New submission from Neil Schemenauer nas-pyt...@arctrix.com: It looks to me like initstdio leaks a reference to open. AFAIK, PyObject_SetAttrString() does not steal a reference. -- assignee: pitrou components: Interpreter Core files: initstdio_refleak.txt messages: 120008 nosy:

[issue10255] refleak in initstdio

2010-10-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: LGTM. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10255 ___ ___

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Is there a reason this removes the Release x64 configuration? -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9981 ___

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Let me rephrase that: What makes the Release x64 configuration unnecessary, thus removed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9981

[issue10237] failure in Barrier tests

2010-10-30 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: FWIW, my snow leopard slave isn't slow at all so I doubt there's a timeout related to machine speed going on here, as its failing thus: test test_threading failed -- Traceback (most recent call last): File

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-10-30 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: issue2636-20101030a.zip is a new version of the regex module. This bug was a bit more difficult to fix, but I think it's OK now! -- Added file: http://bugs.python.org/file19435/issue2636-20101030a.zip

[issue10256] Fix resource warnings in test_pkgimport

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: Please see attached patch. -- components: Tests files: test_pkgimport_fd_leak.patch keywords: patch messages: 120014 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_pkgimport

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: Please see attached. -- components: Tests files: test_os_fd_leak.patch keywords: patch messages: 120015 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_os versions: Python 3.3

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com added the comment: I'm used to a slightly different style guide, v2 has the right indentation. -- Added file: http://bugs.python.org/file19438/test_os_fd_leak_v2.patch ___ Python tracker rep...@bugs.python.org

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I don’t see any difference :) -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10257 ___

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The change from issue1054943 is indeed bogus. As written, the code will happily run over starters, even though a blocked start means that subsequent characters can't possibly be combinable. That way, the code manages to combine, in

[issue10258] Fix resource warnings in distutil test_tokenize

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil brian.bra...@gmail.com: Please see attached patch. -- components: Tests files: test_tokenize_fd_leak.patch keywords: patch messages: 120019 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in distutil

[issue10256] Fix resource warnings in test_pkgimport

2010-10-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Fixed in r85984. Thanks. -- assignee: - brian.curtin nosy: +brian.curtin resolution: - fixed stage: - committed/rejected status: open - closed type: - resource usage versions: +Python 3.2 -Python 3.3

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: make_buildinfo is always built and run as a 32-bit binary, so I think this part of the change is fine (though unrelated to the objective of the change). I think the patch is fine. -- ___ Python

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Fixed in r85987. Made both places hunks of the patch use the context manager. -- assignee: - brian.curtin nosy: +brian.curtin resolution: - fixed stage: - committed/rejected type: - resource usage versions: +Python 3.2 -Python 3.3

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10257 ___ ___ Python-bugs-list

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

2010-10-30 Thread Christos Georgi ou
Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net added the comment: Thank you very much, Antoine, for your review. My comments in reply: - the dead code: it's not dead, IIRC it ensures that at least one argument is given, otherwise it raises an exception. - PyUnicode_GET_SIZE:

[issue10258] Fix resource warnings in distutil test_tokenize

2010-10-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Fixed in r85990. Thanks. -- assignee: - brian.curtin nosy: +brian.curtin resolution: - fixed stage: - committed/rejected status: open - closed type: - resource usage versions: +Python 3.2 -Python 3.3

[issue7061] Improve 24.5. turtle doc

2010-10-30 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: On initialization: the json doc has 6 examples. Each starts with 'import json' so each is independent. However, I agree that doing the same for turtle examples would be a bit much. On the other hand, I think 24.5.3. *Methods of

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Martin v. Löwis wrote: It's unfortunate that the patch had been backported to 2.6.6; we can't fix it there anymore. Why not ? It looks a lot like a security fix. -- nosy: +lemburg ___ Python

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: It's unfortunate that the patch had been backported to 2.6.6; we can't fix it there anymore. Why not ? It looks a lot like a security fix. Indeed, you could argue that. It's up to the 2.6 release manager, I guess. --

[issue7061] Improve 24.5. turtle doc

2010-10-30 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: GREGOR, I think we need your help to answer a few of these. Subissues from my opening post not resolved in rev85732 version of python installed with Tk support.: cap 'python' to 'Python' Is there any standard on

[issue7061] Improve 24.5. turtle doc

2010-10-30 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Sat, Oct 30, 2010 at 8:27 PM, Terry J. Reedy rep...@bugs.python.org wrote: .. version of python installed with Tk support.: cap 'python' to 'Python' Is there any standard on capitalizing 'Python'? It looks like it is

[issue10259] Entry text not set if both 'Font' and 'fg' are set

2010-10-30 Thread Ivan Razumov
New submission from Ivan Razumov iarspi...@gmail.com: OS: Windows 7 x86 Python: 2.6.4 An Entry with both Font and Foreground properties changed (i.e. not OS-default) does not display text set with textvariable.set method. Attached an example of such behavior. -- components: Tkinter

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Align' are set

2010-10-30 Thread Ivan Razumov
Changes by Ivan Razumov iarspi...@gmail.com: -- title: Entry text not set if both 'Font' and 'fg' are set - Entry text not set if all of 'Font', 'Foreground' and 'Align' are set ___ Python tracker rep...@bugs.python.org

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Align' are set

2010-10-30 Thread Ivan Razumov
Ivan Razumov iarspi...@gmail.com added the comment: The bug only appears if Align is not Left. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10259 ___

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2010-10-30 Thread Ivan Razumov
Changes by Ivan Razumov iarspi...@gmail.com: -- title: Entry text not set if all of 'Font', 'Foreground' and 'Align' are set - Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set ___ Python tracker rep...@bugs.python.org

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2010-10-30 Thread Ivan Razumov
Ivan Razumov iarspi...@gmail.com added the comment: Typo: align - Justify -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10259 ___ ___

[issue10237] failure in Barrier tests

2010-10-30 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Silly me, changing the default timeout invalidated the unittest for it. Fixed in revision 86018 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10237

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

2010-10-30 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Am discussing this with the OP on IRC and tabling it for a while so we can better think out the API. The goal is to let assertEqual(a, b) do straight-comparions of raw bytes, but to give a nice looking diff (possibly

[issue10254] unicodedata.normalize('NFC', s) regression

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

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

2010-10-30 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: The patch looks fine. You're overview of the process presented here in the tracker would make a nice comment in the code. If Antoine is happy with the latest patch, then it's ready to apply. -- assignee:

[issue10260] Add a thrading.Condition.wait_for() method

2010-10-30 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson krist...@ccpgames.com: The attached patch adds a wait_for method to condition objects. It can simplify code that uses condition variables since it relieves the user from writing a condition loop. In addition it simplifies timeout logic which

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-10-30 Thread Jacques Grove
Jacques Grove jacq...@tripitinc.com added the comment: Here's one that really falls in the category of don't do that; but I found this because I was limiting the system recursion level to somewhat less than the standard 1000 (for other reasons), and I had some shorter duplicate patterns in a