Benjamin Peterson added the comment:
Perhaps 2012 will be extra special.
--
nosy: +benjamin.peterson
resolution: -> postponed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Benjamin Peterson added the comment:
binascci.(un)hexlify
--
nosy: +benjamin.peterson
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Benjamin Peterson added the comment:
Being rather circular, that doesn't seem to be a particularly useful test. (Not
that the original is either.) It'd be more "correct" if you actually tested
that hex numbers are contained within string.hexdigits, for examp
Benjamin Peterson added the comment:
I find this extremely ugly. The correct way to handle this is to use the
generic methods themselves. Really, the type-specific names should only be used
when you have just created the type or done PyXXX_CheckExact() yourself on it.
--
nosy
Benjamin Peterson added the comment:
2011/4/6 Nick Coghlan :
>
> Nick Coghlan added the comment:
>
> "should" is a wonderful word when it comes to external APIs.
>
> We currently have a couple of problems:
>
> 1. The concrete APIs will fail noisily if g
Benjamin Peterson added the comment:
This is expected; it's the same with functions. Just do @deco().
--
nosy: +benjamin.peterson
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.
Benjamin Peterson added the comment:
2011/4/6 Carsten Klein :
>
> Carsten Klein added the comment:
>
> Ok, looks like a valid work around to me.
It's not a workaround. It's the way decorators work.
--
___
Python tracker
&
Benjamin Peterson added the comment:
You don't have to clear them; you just have to finalize them. Anyway, this is
essentially impossible to do in a backward compatible way given that TestCases
are expected to stay around.
--
nosy: +benjamin.pet
Benjamin Peterson added the comment:
2011/4/7 Jean-Paul Calderone :
>
> Jean-Paul Calderone added the comment:
>
> Trial lets test cases get garbaged collected. When we noticed this wasn't
> happening, we treated it as a bug and fixed it. No one ever complained about
&g
Changes by Benjamin Peterson :
--
resolution: -> out of date
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue11778>
___
___
Pyth
Benjamin Peterson added the comment:
Please don't add everyone in existence to the nosy list.
--
___
Python tracker
<http://bugs.python.org/issue11803>
___
___
Changes by Benjamin Peterson :
--
nosy: -benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue11803>
___
___
Python-bugs-list mailing list
Unsub
Changes by Benjamin Peterson :
--
resolution: -> duplicate
status: open -> closed
superseder: -> dreadful performance in difflib: ndiff and HtmlDiff
___
Python tracker
<http://bugs.python.or
Benjamin Peterson added the comment:
2011/4/12 Boštjan Mejak :
>
> Boštjan Mejak added the comment:
>
> There are more of this typos in the same chapter. Just a little below the
> one of the reported sentence. Check this out...
>
> "Assuming the Python code above i
Benjamin Peterson added the comment:
This doesn't really make sense, since XDR doesn't seem to say anything about
unicode strings, just bytes.
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.
Benjamin Peterson added the comment:
2011/4/14 Filip Gruszczyński :
>
> Filip Gruszczyński added the comment:
>
> Actually documentation doesn't say that it supports only bytes, but:
>
> "The following methods support packing strings, bytes, and opaque data:&quo
Benjamin Peterson added the comment:
2011/4/14 Filip Gruszczyński :
>
> Filip Gruszczyński added the comment:
>
> I am well aware of this, Benjamin. I am not trying to force any solution, but
> rather trying to point out, that current documentation is misleading. There
> mi
Benjamin Peterson added the comment:
FWIW, :func:`int/float` work IIRC.
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue11
Benjamin Peterson added the comment:
2011/5/2 Jonas H. :
>
> Jonas H. added the comment:
>
> Indeed they do; but documentation writers need to know that `int()` and
> `float()` are functions, which is counterintuitive. (and a CPython
> implementation detail)
They're n
Benjamin Peterson added the comment:
Is this proposing some sort of change or problem?
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue11
Benjamin Peterson added the comment:
2011/5/4 John O'Connor :
>
> John O'Connor added the comment:
>
> I am new to the community but hoping to start contributing or at least
> following issues and learning :)
>
> I'm looking at bufferediobase_readinto(
Benjamin Peterson added the comment:
I don't see the problem. You're free to override readinto() and read() in
subclasses. readinto() is just implemented in BufferedIOBase as a convenience.
--
___
Python tracker
<http://bugs.python.
Benjamin Peterson added the comment:
I vote for option 1. We already eschew hacks with locals().
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue6
Benjamin Peterson added the comment:
Yes, that's why. I suggest you appeal to python-ideas about the new exception.
--
nosy: +benjamin.peterson
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.
Benjamin Peterson added the comment:
I tried making f_locals always a copy but it wreaks havoc with some code which
expects changing it to "work", namely pdb. I resign myself to using weakrefs.
--
___
Python tracker
<http://bu
Benjamin Peterson added the comment:
I suggest rejecting. See 8ae88db7843c
--
___
Python tracker
<http://bugs.python.org/issue12027>
___
___
Python-bugs-list m
Changes by Benjamin Peterson :
--
nosy: +rhettinger
___
Python tracker
<http://bugs.python.org/issue12027>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Benjamin Peterson :
--
resolution: invalid ->
status: closed -> open
title: 'transaction' module-as-context-manager thwarted by Python 2.7.1 ->
improve special method lookup error message
___
Python tracker
<
Benjamin Peterson added the comment:
This belongs on http://psf.upfronthosting.co.za/roundup/meta/.
--
nosy: +benjamin.peterson
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Benjamin Peterson added the comment:
Making such substitutions is a good way to introduce subtle bugs.
--
nosy: +benjamin.peterson
resolution: -> rejected
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Benjamin Peterson added the comment:
2011/5/14 Darren Dale :
>
> Darren Dale added the comment:
>
> Is there anything preventing this patch from being merged?
I have to make time to think about the API a bit more.
--
___
Python tr
Benjamin Peterson added the comment:
I still dislike the reduntancy of having abstractmethod and abstractproperty on
a method. I think a better idea is having
abstractproperty.abstract(getter/setter/deleter).
--
___
Python tracker
<h
Benjamin Peterson added the comment:
2011/5/14 Darren Dale :
>
> Darren Dale added the comment:
>
> On Sat, May 14, 2011 at 4:28 PM, Benjamin Peterson
> wrote:
>>
>> Benjamin Peterson added the comment:
>>
>> I still dislike the reduntancy of having abs
Benjamin Peterson added the comment:
Okay: how about this. We retain the passing of @abstractmethod to
abstractpropert(), but @abstractgetter decorates the method for you.
2011/5/14 Darren Dale :
>
> Darren Dale added the comment:
>
> On Sat, May 14, 2011 at 5:17 PM, Benja
Benjamin Peterson added the comment:
2011/5/14 Darren Dale :
>
> Darren Dale added the comment:
>
> On Sat, May 14, 2011 at 5:55 PM, Benjamin Peterson
> wrote:
>>
>> Benjamin Peterson added the comment:
>>
>> Okay: how about this. We r
New submission from Benjamin Peterson :
I believe the bugs which the patched version of libffi used have been fixed in
recent versions. We should stop distributing an old version.
--
components: ctypes
messages: 136034
nosy: benjamin.peterson
priority: normal
severity: normal
status
New submission from Benjamin Peterson :
This patch causes multiple with statements with multiple with items to be
represented in the AST instead of flattened as currently happens.
--
components: Interpreter Core
files: fixwith.patch
keywords: patch
messages: 136262
nosy
Benjamin Peterson added the comment:
r86538
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue10391>
___
___
Benjamin Peterson added the comment:
r86587
--
nosy: +benjamin.peterson
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Benjamin Peterson added the comment:
r86593
--
nosy: +benjamin.peterson
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Benjamin Peterson added the comment:
r86618
--
nosy: +benjamin.peterson
resolution: -> fixed
___
Python tracker
<http://bugs.python.org/issue10474>
___
___
Py
Changes by Benjamin Peterson :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue10474>
___
___
Python-bugs-list mailing list
Unsubscri
Benjamin Peterson added the comment:
2010/11/20 SilentGhost :
>
> SilentGhost added the comment:
>
> Benjamin, the docs say that it's possible to have count more than 1,
> depending on comparison rules. If that's the case, I'm afraid your solution
> might nee
Benjamin Peterson added the comment:
BufferedIOBase readline and __iter__ has to stay for backwards compatibility
(especially with python 2). As for by_bytes(), I suggest you post it to
python-ideas.
--
nosy: +benjamin.peterson
resolution: -> rejected
status: open ->
Benjamin Peterson added the comment:
I think we should lift the py3k warning after 3.2 is released, but leave the
2to3 fixer in for the time being.
--
___
Python tracker
<http://bugs.python.org/issue10
Benjamin Peterson added the comment:
Okay.
2010/11/24 Ezio Melotti :
>
> Ezio Melotti added the comment:
>
> Committed in r86732 on py3k, will backport on 3.1/2.7 if Benjamin is OK with
> that.
>
> --
> nosy: +benjamin.peterson
>
> __
Benjamin Peterson added the comment:
2010/11/27 SilentGhost :
>
> SilentGhost added the comment:
>
> I thought that moratorium meant Guido dis/approval is not applicable to the
> 3.2
>
> Another listed change was help ease adoption of py3k. How's that hel
Benjamin Peterson added the comment:
r86844
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue10268>
___
___
Python-bugs-list mai
Benjamin Peterson added the comment:
I think I can probably fix it, but it's debatable whether it should be done,
since it'd make list comps more of "quasi" functions.
--
nosy: +benjamin.peterson
___
Python tracker
<
Benjamin Peterson added the comment:
Tell python-ideas about it.
--
nosy: +benjamin.peterson
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
Benjamin Peterson added the comment:
2010/12/3 Georg Brandl :
>
> Georg Brandl added the comment:
>
> In util.system(), Mercurial adds its own pair of quotes:
>
> if os.name == 'nt':
> cmd = '"%s"' % cmd
>
> That will
Benjamin Peterson added the comment:
2010/12/4 Thomas Vander Stichele :
>
> Thomas Vander Stichele added the comment:
>
> Maybe I am missing something, but why was it ok for this patch to move
> EXTENDED_ARGS from 143 to 145 ? I thought the numbers for opcodes were part
>
Benjamin Peterson added the comment:
r87107
--
nosy: +benjamin.peterson
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Changes by Benjamin Peterson :
--
status: pending -> closed
___
Python tracker
<http://bugs.python.org/issue10675>
___
___
Python-bugs-list mailing list
Un
Benjamin Peterson added the comment:
r87167
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue10674>
___
___
Benjamin Peterson added the comment:
2010/12/21 Antoine Pitrou :
>
> Antoine Pitrou added the comment:
>
> Here is a patch.
I assume you can put test_readonly_attributes in CommonBufferTests?
--
___
Python tracker
<http://
Benjamin Peterson added the comment:
Ah, I see. LGTM then.
--
___
Python tracker
<http://bugs.python.org/issue10750>
___
___
Python-bugs-list mailing list
Unsub
Benjamin Peterson added the comment:
The docs shouldn't use "[" to denote optional args. Rather, optional arguments
can just be shown by their defaults.
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.py
Benjamin Peterson added the comment:
2010/12/24 Raymond Hettinger :
>
> Raymond Hettinger added the comment:
>
> ISTM the whole point of an Abstract Syntax Tree is to express semantics while
> throwing away the syntax details. The only reason any position information
> is
Benjamin Peterson added the comment:
2010/12/24 Sven Brauch :
>
> Sven Brauch added the comment:
>
> Hi,
>
> I found the reason for this behavior in the code now, it's in Python/ast.c,
> lines 1745 and 1746 in ast_for_power():
>
> tmp->lineno = e-&g
Benjamin Peterson added the comment:
2010/12/25 Sven Brauch :
>
> Sven Brauch added the comment:
>
> Hi,
>
> I agree that the current behavior is not wrong or such. It's just entirely
> useless.
> For all the other types of subscripts, such as a[b][c][d] or a(b
Benjamin Peterson added the comment:
2010/12/25 Sven Brauch :
>
> Sven Brauch added the comment:
>
> Well, weather it's supposed to or not, it *does* contain the line number
> information:
>
> For your example, the AST for "foo" tells you the offset for fo
Benjamin Peterson added the comment:
I suggest you mail python-dev or python-ideas. I find it more consistent as it
stands now.
--
___
Python tracker
<http://bugs.python.org/issue10
Benjamin Peterson added the comment:
Some of these warnings are incorrect, too; os.popen() and fdopen() remain in
Python 3.
--
___
Python tracker
<http://bugs.python.org/issue4
Benjamin Peterson added the comment:
We should probably just kill the LBYL.
--
___
Python tracker
<http://bugs.python.org/issue4346>
___
___
Python-bugs-list m
Benjamin Peterson added the comment:
+0.
--
___
Python tracker
<http://bugs.python.org/issue10849>
___
___
Python-bugs-list mailing list
Unsubscribe:
Benjamin Peterson added the comment:
2011/1/7 Raymond Hettinger :
>
> Raymond Hettinger added the comment:
>
> His +0 isn't a decision. I would like Martin, the longest term active
> developer, to make the call about waiving the policy of not backporting
> features (e
Benjamin Peterson added the comment:
I'm curious as to how the experiment is being carried out and how conclusions
will be drawn.
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/is
Benjamin Peterson added the comment:
r87954
--
nosy: +benjamin.peterson
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Changes by Benjamin Peterson :
--
dependencies: +Private stdlib API: getopt, getpass, glob, gzip, genericpath,
gettext
___
Python tracker
<http://bugs.python.org/issue10
Benjamin Peterson added the comment:
Well, that really grates on the eyes.
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue10
Benjamin Peterson added the comment:
2011/1/16 anatoly techtonik :
>
> anatoly techtonik added the comment:
>
> Nevermind. It's just another word for gr8.
Well, it really grates on the eyes.
--
___
Python tracker
<ht
Benjamin Peterson added the comment:
There's already precedent for test modules in Modules/ what with xxmodule.c and
_testcapimodule.c.
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/is
Benjamin Peterson added the comment:
Please see python-ideas list.
--
nosy: +benjamin.peterson
resolution: -> rejected
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Benjamin Peterson added the comment:
2011/1/28 Eric Smith :
>
> Eric Smith added the comment:
>
> Release manager: You can decide if this fix should go in before 3.2. It's a
> trivial fix to a crasher, but it's extremely unlikely anyone would trip over
> it. I
Benjamin Peterson added the comment:
Uh, I must say I find typing "lib2to3" quite ugly.
--
___
Python tracker
<http://bugs.python.org/issue11086>
___
___
New submission from Benjamin Peterson :
You don't want to know why I was thinking about this...
$ ./python
Python 3.2rc2+ (py3k:88302, Feb 1 2011, 19:02:10)
[GCC 4.4.4] on linux2
Type "help", "copyright", "credits" or "license" for more infor
Benjamin Peterson added the comment:
2011/2/3 Alexander Belopolsky :
>
> Alexander Belopolsky added the comment:
>
> Looks like a stack overflow caused by an infinite recursion. I am not sure
> if it is possible to add cycle detection code without sacrificing performance
&g
Benjamin Peterson added the comment:
2011/2/3 Alexander Belopolsky :
>
> Alexander Belopolsky added the comment:
>
> On Thu, Feb 3, 2011 at 12:08 PM, Benjamin Peterson
> wrote:
> ..
>>> I wonder: Why ast nodes need to be mutable?
>>
>> So people can c
Benjamin Peterson added the comment:
It's a magic method in 2.7 but not 3.x.
--
___
Python tracker
<http://bugs.python.org/issue11145>
___
___
Python-bugs-l
Benjamin Peterson added the comment:
I think you should implement and benchmark one of them. I'm dubious that the
better asymptotic values will really translate into better performance. For
example, the O(n) median selection algorithm has a large constant factor
associated wi
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
Done! See r63187 and 63190. It sure was fun merging the Bazaar branch
into Subversion, though. :(
--
resolution: -> fixed
status: open -> closed
__
Tracker <[EMAIL PR
Changes by Benjamin Peterson <[EMAIL PROTECTED]>:
--
type: -> feature request
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2843>
__
___
Pyt
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
Does it have to be public? How about _gestalt?
--
nosy: +benjamin.peterson
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
I feel kinda bad about removing the module without noting how it was
used in platform.py, so I'll deal with this.
--
assignee: -> benjamin.peterson
__
Tracker <[EMAIL
Changes by Benjamin Peterson <[EMAIL PROTECTED]>:
--
resolution: -> fixed
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2865>
__
__
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
Here's a patch. I moved gestalt to Modules and renamed it _gestalt. I
inlined the few lines of pymactoolbox that I needed, so that doesn't
have to come back.
--
keywords: +patch
Added file: http://bugs.pyth
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
I think it's debatable whether re should byte strings since it is
searching through text and not raw binary data. However, this may be a
case of practicality over purity.
--
nosy: +benjam
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
This is what happens on the trunk:
>>> import urllib
>>> u = 'http://www.mercurynews.com/ci_9216417'
>>> h = urllib.urlopen(u).read()
Traceback (most recent call last):
File "", lin
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
Usually, we don't bother fixing doc problems until the next major release.
--
nosy: +benjamin.peterson
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
Christian, this was fixed right?
--
assignee: -> christian.heimes
nosy: +benjamin.peterson
priority: -> high
__
Tracker <[EMAIL PROTECTED]>
<http://bugs
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
I'd like to clarify the approach to fixing these types of problems. I
fixed a issue (#2196) like this by only propagating exceptions that
didn't descend from Exception because of this sentence in the hasattr docs:
This i
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
Let's see:
1. Fix up and add to trunk. Check!
2. Convert docs to reST. Check!
3. Port to 3.0. Check!
4. Fix docs in 3.0. Check!
Yes, we can close this.
--
resolution: -> accepted
status:
New submission from Benjamin Peterson <[EMAIL PROTECTED]>:
As the comment in descrobject.c says:
/* Why is this not included in Python.h? */
--
messages: 66972
nosy: benjamin.peterson
severity: normal
status: open
title: include structmember.h in Python.h
type: feature r
Changes by Benjamin Peterson <[EMAIL PROTECTED]>:
--
components: +Interpreter Core
versions: +Python 2.6
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
mimetools.Message is compatible with email.message.Message, right?
--
nosy: +barry, benjamin.peterson
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by Benjamin Peterson <[EMAIL PROTECTED]>:
--
resolution: -> invalid
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs
Changes by Benjamin Peterson <[EMAIL PROTECTED]>:
--
title: Fixes find, rfind, etc in 'string' module -> Fixers find, rfind, etc in
'string' module
__
Tracker <[EMAIL PROTECTED]>
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
Done in r63425.
--
resolution: -> fixed
status: open -> closed
__
Tracker <[EMAIL PROTECTED]>
<http://bugs
Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
I'm attaching a new patch with changes made from the Georg's comments.
Added file: http://bugs.python.org/file10359/bool_assign6.patch
__
Tracker <[EMAIL PROTECTED]>
<http://
401 - 500 of 4969 matches
Mail list logo