[issue12720] Expose linux extended filesystem attributes

2011-08-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: After Antoine's review... -- Added file: http://bugs.python.org/file23057/xattrs.patch ___ Python tracker <http://bugs.python.org/is

[issue12879] "method-wrapper" objects are difficult to inspect

2011-09-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: 51e27f42beda and friends. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue12928] exec not woking in unittest

2011-09-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: You're invoking undefined behavior by modifying function locals in exec(). -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.

[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Can you qualify the OSError except by checking it's errno? -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/i

[issue9570] PEP 383: os.mknod() and os.mkfifo() do not accept surrogateescape arguments

2010-08-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Applied in r83951. Thanks for the patch! -- nosy: +benjamin.peterson resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue5867] No way to create an abstract classmethod

2010-08-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Applied in r84124. Thanks for the patch. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the patch. r84129 -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue2521] ABC caches should use weak refs

2010-08-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Some comments: - The test should be in test_abc.py and should probably not use a collections class. - Use test_support.gc_collect(). - What's the __len__() stuff for? -- keywords: -26backport ___ Python tr

[issue9626] OderedDict.viewitems() does not preserve item order

2010-08-17 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue9626> ___ ___ Python-bugs-list mai

[issue515073] subtypable weak references

2010-08-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: You can create weakref subclasses anyway now. -- resolution: wont fix -> out of date ___ Python tracker <http://bugs.python.org/issue

[issue616013] cPickle documentation incomplete

2010-08-17 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- versions: -Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/issue616013> ___ ___ Python-bugs-list mailin

[issue749722] isinstance and weakref proxies.

2010-08-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: It would be possible now, though perhaps inadvisable, to proxy isinstance and issubclass. -- nosy: +benjamin.peterson resolution: out of date -> status: closed -> open versions: +Python 3.2 ___ Python t

[issue762920] API Functions for PyArray

2010-08-18 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: out of date -> rejected ___ Python tracker <http://bugs.python.org/issue762920> ___ ___ Python-bugs-list mai

[issue9646] Mutable default function parameter warning

2010-08-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please post to python-ideas first. -- nosy: +benjamin.peterson resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1113244] Please add do-while guard to Py_DECREF etc.

2010-08-19 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue1113244> ___ ___ Python-bugs-

[issue9653] New default argparse output to be added

2010-08-20 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> bethard nosy: +bethard ___ Python tracker <http://bugs.python.org/issue9653> ___ ___ Python-bugs-list mai

[issue843590] 'macintosh' encoding alias for 'mac_roman'

2010-08-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: r84229 -- nosy: +benjamin.peterson status: open -> closed ___ Python tracker <http://bugs.python.org/issue843590> ___ _

[issue2521] ABC caches should use weak refs

2010-08-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: r84230 -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue2521> ___ ___

[issue9648] 2to3 doesn't convert "file" usage to an "open" equivalent

2010-08-20 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> duplicate status: open -> closed superseder: -> 2to3 does not convert __builtins__.file ___ Python tracker <http://bugs.python.o

[issue9656] compiler module provides wrong AST for extended slice of length 1

2010-08-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: The compiler module is deprecated and essentially unmaintained. -- resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue3417] make the fix_dict fixer smarter

2010-08-21 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> wont fix ___ Python tracker <http://bugs.python.org/issue3417> ___ ___ Python-bugs-list mailing list Unsubscri

[issue3417] make the fix_dict fixer smarter

2010-08-21 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue3417> ___ ___ Python-bugs-list mailing list Unsubscri

[issue9659] frozenset, when subclassed will yield warning upon call to super(...).__init__(iterable)

2010-08-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is correct. immutable types should use __new__, not __init__. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9662] ctypes not building under OS X because of ffi_closure_free not being defined early enough

2010-08-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: Is LLVM a supported platform? -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue9662> ___ ___ Pytho

[issue9661] 2to3 except fixer does the wrong thing for certain raise statements

2010-08-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: r84276. I didn't "fix" the second case "raise e, None" since that syntax is quite pointless. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python t

[issue9665] Buid issues on Cygwin - _curses, _curses_panel, and _io

2010-08-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Why should it be? -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue9665> ___ ___ Python-bug

[issue9665] Buid issues on Cygwin - _curses, _curses_panel, and _io

2010-08-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/8/23 Daniel Stutzbach : > > Daniel Stutzbach added the comment: > >> Why should it be? > > The error indicates that the definition in the .c file doesn't match the > declaration in the .h file, with respect to the

[issue1057417] New BaseSMTPServer module

2010-08-23 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue1057417> ___ ___ Pyth

[issue9061] cgi.escape Can Lead To XSS Vulnerabilities

2010-08-23 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> duplicate status: open -> closed superseder: -> Copy cgi.escape() to html ___ Python tracker <http://bugs.python.o

[issue9666] 'hasattr' fix to suppress only AttributeError

2010-08-23 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: d...@python -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/iss

[issue9666] 'hasattr' fix to suppress only AttributeError

2010-08-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r84294. I will not backport to 3.1. Thanks for the contribution! -- keywords: +gsoc -patch resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9676] Keyword to disambiguate python version

2010-08-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please post to python-ideas first, and note that no syntax changes are allowed until 3.3. -- nosy: +benjamin.peterson resolution: -> rejected ___ Python tracker <http://bugs.python.org/iss

[issue9541] node.pre_order() does not do preorder traversal

2010-08-24 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed ___ Python tracker <http://bugs.python.org/issue9541> ___ ___ Python-bugs-list mailing list Unsubscri

[issue5911] built-in compile() should take encoding option.

2010-08-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'll close this then. -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue9659] frozenset, when subclassed will yield warning upon call to super(...).__init__(iterable)

2010-08-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/8/25 Carsten Klein : > > Carsten Klein added the comment: > > Thanks for the information. Where is this documented? I cannot find it in the > official Python docs... TIA. http://docs.python.org/dev/reference/datamodel.html

[issue9685] tuples should remember their hash value

2010-08-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: FWIW, I'm -1 on this without a demonstrable improvement on some real-world cases. -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/i

[issue9685] tuples should remember their hash value

2010-08-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/8/25 Raymond Hettinger : > I suppose we could prepare a patch, instrument it, and try it with Twisted, > SQLalchemy, and Django to find-out how many tuple hash calculations would be > saved by memoizing. You should also check mem

[issue9688] object.__basicsize__ is erroneously 0 on big-endian 64-bit machines (int vs Py_ssize_t)

2010-08-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: r84320. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9690] Cannot distinguish b"str" from "str" in ast module.

2010-08-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: You'll have to look at the compile flags or search the future flags. -- nosy: +benjamin.peterson resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python

[issue9690] Cannot distinguish b"str" from "str" in ast module.

2010-08-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: I see that it's a problem, but there's nothing we can do about it now, so you'll have to determine whether it was unicode literals or not based on compile flags. -- ___ Python tracker <http

[issue9690] Cannot distinguish b"str" from "str" in ast module.

2010-08-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/8/26 Kay Hayen : > > Kay Hayen added the comment: > > Hello Benjamin, > > thank you for the response. What do you mean with there is "nothing we can do > about it". Is it not possible to add another field indicating t

[issue1433886] pointer aliasing causes core dump, with workaround

2010-08-26 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> pending ___ Python tracker <http://bugs.python.org/issue1433886> ___ ___ Python-bugs-

[issue1433886] pointer aliasing causes core dump, with workaround

2010-08-26 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue1433886> ___ ___ Python-bugs-list mailing list Un

[issue9690] Cannot distinguish b"str" from "str" in ast module.

2010-08-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/8/27 Kay Hayen : > > Kay Hayen added the comment: > > This is to inform you that I worked around the bug by reading the source file > in question and checking the indicated position. This is currently the only > way to decide if a

[issue9702] Python violates most users expectations via the modification differences of immutable and mutable objects in methods

2010-08-27 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue9702> ___ ___ Python-bugs-list mailing list Unsubscri

[issue9702] Python violates most users expectations via the modification differences of immutable and mutable objects in methods

2010-08-27 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: later -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/issue9702> ___ ___ Pyth

[issue9702] Python violates most users expectations via the modification differences of immutable and mutable objects in methods

2010-08-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/8/27 david : > > david added the comment: > > Excuse me for reporting weird and not expected behaviour on behalf of *most* > coders. Your assumption that most coders are confused by this comes from where? > > Here https://bu

[issue9702] Python violates most users expectations via the modification differences of immutable and mutable objects in methods

2010-08-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please use a language that makes sense to you then. -- nosy: +benjamin.peterson resolution: later -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9702] Python violates most users expectations via the modification differences of immutable and mutable objects in methods

2010-08-27 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: later -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/issue9702> ___ ___ Pyth

[issue9705] limit dict.update() to a given list of keys

2010-08-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please post to python-ideas first, and note a moratorium on builtin changes is inplace. -- nosy: +benjamin.peterson resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.p

[issue9703] default param values

2010-08-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Rest assured: it's expected behavior. -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/i

[issue9710] 2to3 could remove "-*- coding: utf-8 -*-"

2010-08-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: They're also harmless. -- nosy: +benjamin.peterson priority: normal -> low ___ Python tracker <http://bugs.python.or

[issue9715] io doc improvements

2010-08-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/8/30 Skip Montanaro : > > Skip Montanaro added the comment: > > A couple wording comments: > > "All streams are careful about the type of data you give to them" > would read better as "All streams accept specific t

[issue9712] tokenize yield an ERRORTOKEN if the identifier starts with a non-ascii char

2010-08-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: r84364 -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9718] Python Interpreter Crash

2010-08-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: Well, that's a another issue completely. -- nosy: +benjamin.peterson status: open -> closed ___ Python tracker <http://bugs.python.or

[issue9724] help('nonlocal') missing

2010-08-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: r84376. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6133] LOAD_CONST followed by LOAD_ATTR can be optimized to just be a LOAD_CONST

2010-09-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: What's the point of '{}'.format() anyway given the format() builtin? -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.py

[issue9734] ABC issubclass/isinstance leaks in Python 2

2010-09-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Will be fixed in 2.7.1. -- nosy: +benjamin.peterson resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue7141] 2to3 should add from __future__ import print_statement

2010-09-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: I don't think this is very useful. You could just as well exclude the future fixer completely. -- ___ Python tracker <http://bugs.python.org/i

[issue7141] 2to3 should add from __future__ import print_statement

2010-09-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/9/1 Daniel Stutzbach : > > Daniel Stutzbach added the comment: > > Excluding the future fixer would only get me half of the way there.  I would > still need to add "from __future__ import print_statement" to all of my &g

[issue7141] 2to3 should add from __future__ import print_statement

2010-09-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: I rejecting, mostly to avoid feature creep. (This shouldn't be too difficult to accomplish with a shell script.) You could also look at 3to2. -- resolution: -> rejected status: open -> closed ___ Pyt

[issue9744] calling __getattribute__ with wrong instance causes hang up

2010-09-03 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.python.org/issue9744> ___ ___ Pyth

[issue9781] Dead link in Italian Tutorial

2010-09-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: We don't maintain an Italian version of the tutorial. You'll have to contact its maintainer. -- nosy: +benjamin.peterson resolution: -> wont fix status: open -> closed ___ Pytho

[issue9788] atexit and execution order

2010-09-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: I don't think the order should be defined. -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/i

[issue9806] no need to try loading posix extensions without SOABI

2010-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Indeed, PEP 3179 is only supposed to add support for people who wish to version their modules. -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9823] OrderedDict is comparable to dict

2010-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: This was purposeful. See PEP 372. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9825] OrderedDict ref cycles cause memory leak

2010-09-10 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue9825> ___ ___ Python-bugs-list mai

[issue9827] Clarify LogRecord documentation

2010-09-10 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: d...@python -> vinay.sajip nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue9827> ___ ___ Python-

[issue9834] PySequence_GetSlice() lacks a NULL check

2010-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: r84714 -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue3402] test_nis is hanging on Solaris

2010-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thank you, Martin. Reenabled the test in r84735. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9843] imp documentation redundancy with acquire_lock and release_lock

2010-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: r84754 -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9858] RawIOBase doesn't define readinto

2010-09-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: +1 for a failing one. (Does the base implementation not raise?) Is it even possible to implement a real one without buffering? -- ___ Python tracker <http://bugs.python.org/issue9

[issue9858] Python and C implementations of io are out of sync

2010-09-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/9/15 Daniel Stutzbach : > > Daniel Stutzbach added the comment: > > Attached is a script to find all of the mismatches between the C and Python > implementations.  There are several.  Below is the output: > > BufferedRandom pyt

[issue9858] Python and C implementations of io are out of sync

2010-09-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/9/15 Daniel Stutzbach : > > Daniel Stutzbach added the comment: > >> These attributes exist; they're just not properties. > > Yes, I see. They're added to the instance in the constructor, so they don't > exi

[issue9858] Python and C implementations of io are out of sync

2010-09-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/9/15 Daniel Stutzbach : > > Daniel Stutzbach added the comment: > > Roundup does not play well with Gmail when Gmail is in Rich Format mode ;-) > > That example should have read: > >>>> f = io.FileIO(1) >>>&

[issue9858] Python and C implementations of io are out of sync

2010-09-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/9/15 Daniel Stutzbach : > > Daniel Stutzbach added the comment: > >> Hmm, none the less other code expects it. > > Does that imply that there's some code that will break on FileIO objects that > are created using a

[issue9872] `a.b.my_function is not b.my_function` when `a` and `b` are both on `sys.path`

2010-09-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: And indeed that's expected. Don't do that. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.p

[issue9877] Expose sysconfig._get_makefile_filename() in public API

2010-09-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: -1 The Makefile is very implementation specific to CPython. -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue9

[issue9877] Expose sysconfig._get_makefile_filename() in public API

2010-09-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Yes, it's unfortunate that that is exposed. Hopefully, sysconfig will evolve some way to find information independent of implementation. -- ___ Python tracker <http://bugs.python.org/i

[issue5629] PEP 0 date and revision not being set

2010-09-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/9/16 Brett Cannon : > > Brett Cannon added the comment: > > Yes, it's just a question of how to interpret it. If we bother keeping the > info in there, should it be for all updates to PEPs, or just when a PEP is > added? I

[issue1441] Cycles through ob_type aren't freed

2010-09-18 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> duplicate status: open -> closed superseder: -> __dict__ = self in subclass of dict causes a memory leak? ___ Python tracker <http://bugs.python.o

[issue1615] descriptor protocol bug

2010-09-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: I consider this to be a feature. Properties can raise AttributeError to defer to __getattr__. -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue1

[issue1943] improved allocation of PyUnicode objects

2010-09-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/9/20 Mark Lawrence : > > Mark Lawrence added the comment: > > No reply to msg110599, I'll close this in a couple of weeks unless anyone > objects. Please don't. This is still a valid issue. -

[issue2027] Module containing C implementations of common text algorithms

2010-09-20 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> rejected status: pending -> closed ___ Python tracker <http://bugs.python.org/issue2027> ___ ___ Pyth

[issue1778] SyntaxError.offset sometimes wrong

2010-09-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: None offsets gone in r84931. -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue1778> ___ ___ Pytho

[issue9582] documentation line needs rewording

2010-09-23 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue9582> ___ ___ Python-bugs-list mailing list Unsubscri

[issue9928] weird oddity with bz2 context manager

2010-09-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/9/23 Antoine Pitrou : > > Antoine Pitrou added the comment: > > Actually, it is because bz2 doesn't call PyType_Ready() but instead sets some > field manually. Perhaps we could have a guard somewhere that raises a fatal > e

[issue9940] Strange error reporting with "with" statement

2010-09-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: I would say it's strange but correct. (and unavoidable I think) -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python

[issue9943] TypeError message became less helpful in Python 2.7

2010-09-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: r85003 Thanks for the report. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9943] TypeError message became less helpful in Python 2.7

2010-09-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Reverted, however. Let me clarify: you think the unhelpful part is that the count includes keyword arguments? This change was intentional, actually wrt to cases like this: >>> def f(a): ...pass >>> f(6, a=4, *(1, 2, 3))

[issue9954] include sqlite3.exe in PythonXX/Scripts

2010-09-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Indeed, -1. We don't make a habit of distributing 3rd party binaries. -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/i

[issue9956] memoryview type documentation lacks versionadded

2010-09-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: r85022 -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9955] multiprocessing.Pipe segmentation fault when recv of unpicklable object

2010-09-26 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> jnoller nosy: +jnoller ___ Python tracker <http://bugs.python.org/issue9955> ___ ___ Python-bugs-list mai

[issue10000] mark more tests as CPython specific

2010-09-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: This seems rather open-ended and all-encompassing. Wouldn't it be better to have individual issues for specific tests? -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/is

[issue10006] non-Pythonic fate of __abstractmethods__

2010-10-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: I see the problem; will consider/fix later today hopefully. -- assignee: -> benjamin.peterson ___ Python tracker <http://bugs.python.org/issu

[issue10006] non-Pythonic fate of __abstractmethods__

2010-10-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: As of r85154, type.__abstractmethods__ now raises an AttributeError, too. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10006] non-Pythonic fate of __abstractmethods__

2010-10-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/10/1 Yaroslav Halchenko : > > Yaroslav Halchenko added the comment: > > yikes... surprising resolution -- I expected that fix would either makes > __abstractmethods__ accessible in derived "type"s or becomes absent from >

[issue9533] metaclass can't derive from ABC

2010-10-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: You can now create metaclass abcs. However, having __abstractmethods__ does not prevent instance creation. This is a problem with a builtins, though. -- resolution: -> fixed status: open -> closed ___

[issue10011] `except` doesn't use `isinstance`

2010-10-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: It matters when exceptions are expected or are a normal part of control flow. For example StopIteration. -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue10

[issue10021] Format parser is too permissive

2010-10-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/10/4 Eric Smith : > > Eric Smith added the comment: > > Right. It seemed like a hassle to have the str.format parser try to figure > out what a valid identifier is, so it just passes it through. You can always use "str.isid

<    1   2   3   4   5   6   7   8   9   10   >