New submission from Hrvoje Nikšić [EMAIL PROTECTED]:
__cmp__ is apparently still documented at
http://docs.python.org/dev/3.0/reference/datamodel.html#object.__cmp__ .
If it is going away for 3.0, it should be removed from the
documentation as well.
--
assignee: georg.brandl
Mark Dickinson [EMAIL PROTECTED] added the comment:
Just to be clear: this patch halves the number of shifts and masks,
asymptotically; it doesn't affect the number of adds and multiplies
(except for saving a few additions to zero by setting the initial carry
intelligently). Is that
Roumen Petrov [EMAIL PROTECTED] added the comment:
If Jason patch resolve issue may I ask cygwincompiler.py to be modified
too just in case if as result of issue2445 is decided to switch back ?
___
Python tracker [EMAIL PROTECTED]
Roumen Petrov [EMAIL PROTECTED] added the comment:
May be check for compiler.compiler_type (from sysconfig.py ) has to be
replaced with a check for descendant classes of UnixCCompiler, i.e. to
include mingw32 too ?
Also CygwinCCompiler __init__ has to be reviewed too. As example :
-
STINNER Victor [EMAIL PROTECTED] added the comment:
@loewis: your patch (revert.diff) includes a change in configure.in
about OpenBSD !?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3951
___
Mark Dickinson [EMAIL PROTECTED] added the comment:
Thanks for the patch, Mario! I'll give a look when I get the chance.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3451
___
Roumen Petrov [EMAIL PROTECTED] added the comment:
For the protocol: issue2445 impact proposed patch.
Also I finish the tests and I will upload soon new patch - I the current
patch ( rpetrov, 2008-09-15 02:08) Modules/selectmodule.c isn't
ported and this prevent socked and related
STINNER Victor [EMAIL PROTECTED] added the comment:
Oops, my previous patch always raise an error even on valid file :-p
Here is a new patch with *an unit test* (yeah!).
Added file: http://bugs.python.org/file11590/_hotshot_logreader2.patch
___
Python
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11589/_hotshot_logreader.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3954
___
Roumen Petrov [EMAIL PROTECTED] added the comment:
P.S. : about: static_lib_extension = .dll.a - it is suffix for import
library and unixccompiler.py.diff patch from issue1706863 propose
dylib_lib_extension = .dll.a .
___
Python tracker [EMAIL PROTECTED]
Roumen Petrov [EMAIL PROTECTED] added the comment:
I forgot an another issue in CygwinCCompiler __init__:
if gcc isn't version 2.91.57 then method will set dll_libraries to
result of get_msvcr(), but the result may be is None. In this case link
method fail on the line
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
The patch is good to me.
gotos are perfectly allowed for this purpose.
(to python committers: Should this kind of minor issues be fixed after
2.6rc2? This could as well wait until 2.6.1)
--
nosy: +amaury.forgeotdarc
resolution:
Changes by Jeffrey C. Jacobs [EMAIL PROTECTED]:
--
nosy: +timehorse
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue433024
___
___
Python-bugs-list
Changes by Jeffrey C. Jacobs [EMAIL PROTECTED]:
--
nosy: +timehorse
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue433027
___
___
Python-bugs-list
Changes by Jeffrey C. Jacobs [EMAIL PROTECTED]:
--
nosy: +timehorse
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue433028
___
___
Python-bugs-list
Jason Tishler [EMAIL PROTECTED] added the comment:
Hirokazu Yamamoto wrote:
Python is not using CCygwinCCompiler to build itself on cygwin.
Which I why my patch modifies UnixCCompiler instead of
CCygwinCCompiler. FWIW, my patch leverages the already existing
Cygwin specific code in
Jeffrey C. Jacobs [EMAIL PROTECTED] added the comment:
Matthew,
I am really happy that you are making such progress on your engine, but
can I PLEASE ask you to slow down for a moment? We have a lot of issues
already listed in issue 2636 that is a catch-all for any Python 2.7
Regexp
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment:
Sorry I didn't get back to this ticket, MvL.
Recently someone trying to build the Tahoe distributed filesystem on
Solaris had a problem:
http://allmydata.org/pipermail/tahoe-dev/2008-September/000789.html
They had built Python 2.5
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Doesn't getgrgid() return the untranslated content of /etc/group?
Then the encoding of this file is relevant.
On cygwin, mkgroup -l is often (exclusively?) used to generate this
/etc/group, extracting the user definitions from the
New submission from Mark Summerfield [EMAIL PROTECTED]:
# This program works fine with Python 2.5 and 2.6:
def f():
f()
'xyz'
return xyz
if __name__ == __main__:
import doctest
doctest.testmod()
But if you put the statement from __future__ import
Changes by Jeffrey C. Jacobs [EMAIL PROTECTED]:
--
nosy: +timehorse
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3511
___
___
Python-bugs-list mailing
Jeffrey C. Jacobs [EMAIL PROTECTED] added the comment:
I think this is even more complicated when you consider that
localization my be an issue. Consider Á: is this grammatically before
A or after a? From a character set point of view, it is typically
after a but when Locale is taken into
New submission from Gregor Lingl [EMAIL PROTECTED]:
There is a bug in Screen.__init__() (The Screen class uses the Borg
idiom to simulate a Singleton).
This bug is demonstrated best interactively from IDLE (using the -n
switch) like this:
from turtle import Screen, Turtle
t = Turtle()
Gregor Lingl [EMAIL PROTECTED] added the comment:
Do the patch of turtleDemo.py if and only if the patch of turtle.py is
accepted.
Added file: http://bugs.python.org/file11592/turtleDemo.diff
___
Python tracker [EMAIL PROTECTED]
Matthew Barnett [EMAIL PROTECTED] added the comment:
Comparing item 2 and item 3, I think that item 3 is the Pythonic choice
and item 2 is a bad idea.
Item 4: back-references in the pattern are like \1 and (?P=name), not
\g1 or \gname, and in the replacement string are like \g1 and
\gname, not
New submission from David Naylor [EMAIL PROTECTED]:
Overview:
Add a generator that will revert the order applied to a with
statement.
Motivation:
Often with threaded applications one needs to do a certain task
outside of a lock but while inside a greater block of code protected
by a lock.
David Naylor [EMAIL PROTECTED] added the comment:
Apologies, obviously the invert function should be preceded by an
@contextmanager to become:
@contextmanager
def invert(thing):
thing.__exit__(None, None, None)
yield thing
thing.__enter__()
[Although there may be a better way of doing
Jeffrey C. Jacobs [EMAIL PROTECTED] added the comment:
Thanks for weighing in Matthew!
Yeah, I do get some flack for item 2 because originally item 3 wasn't
supposed to cover named groups but on investigation it made sense that
it should. I still prefer 2 over-all but the nice thing about them
New submission from dominik.holler [EMAIL PROTECTED]:
The behaviour is changing, if I toogle comment lines 10 + 11.
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on
win32
--
components: None
files: test.py
messages: 73718
nosy: dominik.holler
severity:
Changes by dominik.holler [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file11594/index.html
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3958
___
___
Matthew Barnett [EMAIL PROTECTED] added the comment:
This also affects re.findall().
--
nosy: +mrabarnett
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1647489
___
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
The threads don't have to be daemons: sys.exit() calls Py_Finalize()
without waiting for non-daemons threads.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1856
Pernici Mario [EMAIL PROTECTED] added the comment:
Yes, I think that the speed-up is due to reducing the number of
shifts and masks.
Changing PyLong_SHIFT to 16 would be complicated; for instance in
v_iadd() carry could not be a digit of 16 bits anymore; writing code
specific for 64 bit
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Your script is subject to the shared default value syndrome, explained
here:
http://www.python.org/doc/faq/general/#why-are-default-values-shared-between-objects
As indicated in the FAQ, your function could be rewritten like this:
def
Matthew Barnett [EMAIL PROTECTED] added the comment:
Regarding item 22: there's also #1647489 (zero-length match confuses
re.finditer()).
This had me stumped for a while, but I might have a solution. I'll see
whether it'll fix item 22 too.
I wasn't planning on doing any more major changes on
Georg Brandl [EMAIL PROTECTED] added the comment:
Gregor doesn't have commit rights. Patch looks OK, would you apply it
please, Ben?
--
assignee: - benjamin.peterson
nosy: +georg.brandl
resolution: - accepted
___
Python tracker [EMAIL PROTECTED]
Georg Brandl [EMAIL PROTECTED] added the comment:
Looks ok, like the 3.0 code. Benjamin, please review and commit.
--
assignee: - benjamin.peterson
nosy: +georg.brandl
resolution: - accepted
___
Python tracker [EMAIL PROTECTED]
Georg Brandl [EMAIL PROTECTED] added the comment:
Looks fine. Since it is minor, why not commit it now?
--
nosy: +georg.brandl
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3954
___
STINNER Victor [EMAIL PROTECTED] added the comment:
@georg: give me a svn access and i will commit it ;-)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3954
___
Georg Brandl [EMAIL PROTECTED] added the comment:
It certainly isn't a feature. I don't immediately see how to fix it,
though. unicode_literals doesn't change the repr() of unicode objects
(it obviously can't, since that change would not be module-local).
Let's try to get a comment from Uncle
Georg Brandl [EMAIL PROTECTED] added the comment:
Though I can't look at the code at this time, I just want to express how
good it feels that you both are doing these great things for regular
expressions in Python! Especially atomic grouping is something I've
often wished for when writing lexers
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
Doesn't getgrgid() return the untranslated content of /etc/group?
Then the encoding of this file is relevant.
Yes, /etc/group contains なし as gr_name in MBCS,(なし means
nothing)and I can print it with puts() in grpmodule.c, so it
shouldn't be
Changes by Georg Brandl [EMAIL PROTECTED]:
--
components: +Documentation -Documentation tools (Sphinx)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3428
___
Georg Brandl [EMAIL PROTECTED] added the comment:
Added in r66606.
--
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3875
___
Georg Brandl [EMAIL PROTECTED] added the comment:
(It's called cmember).
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3875
___
___
Python-bugs-list mailing
Georg Brandl [EMAIL PROTECTED] added the comment:
Hmm, I can't really tell what may cause the Too many } error. Can you
try and play around with sphinx.sty, commenting out stuff, to find where
it comes from?
___
Python tracker [EMAIL PROTECTED]
Fredrik Lundh [EMAIL PROTECTED] added the comment:
Looks fine to me, except for the comment in the test suite. Should
+# MS compilers do NOT combine c_short and c_int into
+# one field, gcc doesn't.
perhaps be
+# MS compilers do NOT combine c_short and c_int into
+
Skip Montanaro [EMAIL PROTECTED] added the comment:
Looks reasonable, though I'm no ctypes maven. Trivial little nit:
In the comment just before the start of CField_FromDesc it says,
in part:
* Expects the size, index and offset for the current field in *psize and
* *poffset, stores the
Changes by Jeffrey C. Jacobs [EMAIL PROTECTED]:
--
nosy: +timehorse
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1647489
___
___
Python-bugs-list
Matthew Barnett [EMAIL PROTECTED] added the comment:
What should:
[m.groups() for m in re.finditer(r'(^z*)|(^q*)|(\w+)', 'abc')]
return? Should the second group also yield a zero-width match before the
third group is tried? I think it probably should. Does Perl?
Thomas Heller [EMAIL PROTECTED] added the comment:
Fredrik Lundh schrieb:
Looks fine to me, except for the comment in the test suite. Should
+# MS compilers do NOT combine c_short and c_int into
+# one field, gcc doesn't.
perhaps be
+# MS compilers do NOT
Thomas Heller [EMAIL PROTECTED] added the comment:
Skip Montanaro schrieb:
Looks reasonable, though I'm no ctypes maven. Trivial little nit:
In the comment just before the start of CField_FromDesc it says,
in part:
* Expects the size, index and offset for the current field in *psize and
Fredrik Lundh [EMAIL PROTECTED] added the comment:
Do should be does, right. Not enough coffee today :)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3547
___
Jeffrey C. Jacobs [EMAIL PROTECTED] added the comment:
Hmmm. This strikes me as a bug, beyond the realm of Issue 3262. The
two items may be related, but the dropping of the 'a' seems like
unexpected behaviour that I doubt any current code is expecting to
occur. Clearly, what is going on is
Jeffrey C. Jacobs [EMAIL PROTECTED] added the comment:
Never mind inclusion in 2.6 as no-one has repeated this bug in re-world
examples yet so it's going to have to wait for the Regexp 2.7 engine in
issue 2636.
--
versions: +Python 2.7 -Python 2.5
Changes by Martin v. Löwis [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11588/revert.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3951
___
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Sorry about that - let me retry.
Added file: http://bugs.python.org/file11596/revert.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3951
___
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment:
Well, for what it is worth I've updated the custom detect linux
distribution code in Tahoe yet again. The current version first tries
to parse /etc/lsb-version (fast, gives a good answer on Ubuntu, and
hopefully at least
Jeffrey C. Jacobs [EMAIL PROTECTED] added the comment:
Ah, I see the problem, if ptr is not incremented, then it will keep
matching the first expression, (^z*), so it would have to both 'skip'
the 'a' and NOT skip the 'a'. Hmm. You're right, Matthew, this is
pretty complicated. Now, for your
dominik.holler [EMAIL PROTECTED] added the comment:
thx
sorry reporting this bug
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3958
___
___
Python-bugs-list
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
So, is my patch acceptable?
Umm, it works, but I'm not sure we can call import library as dylib...
If it's not problem, I think your patch is fine.
# I had considered attached patch experimental_distutils.patch. It's
little adhoky, I'm not
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Doesn't getgrgid() return the untranslated content of /etc/group?
Then the encoding of this file is relevant.
That certainly depends on the implementation of getgrgid. On some
systems, it uses NIS, LDAP, or a relational database in addition
Martin v. Löwis [EMAIL PROTECTED] added the comment:
I'm opposed to this patch. As a design principle, any class should
always call its base class' __init__, unless that is known to be empty.
With this patch, the base __init__ call becomes conditional, which hints
at a design bug of the entire
Martin v. Löwis [EMAIL PROTECTED] added the comment:
As a follow-up, I also don't understand the two if blocks in
Screen.__init__: if there is meant to be a single Screen instance
anyway, why have _root, _canvas, and _title as class variables, whereas
everything else is in (shared) instance
Robert Yodlowski [EMAIL PROTECTED] added the comment:
Amaury, I did as you suggested - running idle.py directly both from a
command line and by clicking on it and the results were the same. Each
time, I got the same error message window as before. In addition,
several seconds before the error
Jeffrey C. Jacobs [EMAIL PROTECTED] added the comment:
Good catch on issue 1647489 Matthew; it looks like this is where that
bug fix will end up going. But, I am unsure if the solution for this
issue is going to be the same as for 3262. I think the solution here is
to add an internal flag that
Nick Coghlan [EMAIL PROTECTED] added the comment:
The 3.0 forward port of r66386 still needs a once over before being
committed (there were enough differences that I don't think the review
of the 2.6 version is enough to cover the 3.0 version as well).
Once that is done, then this issue can be
Matthew Barnett [EMAIL PROTECTED] added the comment:
What about r'(^z*)|(q*)|(\w+)'? I could imagine that the first group
could match only at the start of the string, but if the second group
doesn't have that restriction then it could match the second time, and
only after that could the third
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Looks good to me.
--
keywords: -needs review
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3951
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Done in r66614.
Georg, according to http://python.org/dev/committers and r64063, Gregor
does have commit access.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3950
Georg Brandl [EMAIL PROTECTED] added the comment:
My apologies then.
--
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3950
___
New submission from Guido van Rossum [EMAIL PROTECTED]:
Google just released ipaddr.py, a module that knows how to manipulate IP
addresses (both IPv4 and IPv6).
I have nothing to do with this module, but I suggest considering it for
inclusion in the standard library.
It fills a gap for address
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Where can we find this?
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3959
___
Guido van Rossum [EMAIL PROTECTED] added the comment:
It would help if I added a link to the Google release:
http://code.google.com/p/ipaddr-py/
Description:
An IPv4/IPv6 manipulation library in Python.
This library is used to create/poke/manipulate IPv4 and IPv6 addresses
and prefixes.
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Almost time machine. :)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3959
___
___
Python-bugs-list
Changes by Matthew Smart [EMAIL PROTECTED]:
--
nosy: +mattsmart
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3959
___
___
Python-bugs-list mailing
Changes by Michael Shields [EMAIL PROTECTED]:
--
nosy: +shields
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3959
___
___
Python-bugs-list mailing
Jeffrey C. Jacobs [EMAIL PROTECTED] added the comment:
I've moved all the development branches to the ~pythonregexp2.7 team so
that we can work collaboratively. You just need to install Bazaar, join
www.launchpad.net, upload your public SSH key and then request to be added
to the
Changes by Rafael Zanella [EMAIL PROTECTED]:
--
nosy: +zanella
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3826
___
___
Python-bugs-list mailing list
Martin v. Löwis [EMAIL PROTECTED] added the comment:
I see a list of owners in the code (although it's difficult to infer
real names or email addresses from that list). I think we should not
include the code without their explicit approval.
The question will then always be: what is the official
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Committed as r66616 and r66617
--
assignee: loewis -
priority: release blocker - normal
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3951
pmoody [EMAIL PROTECTED] added the comment:
as one of the owners listed in the code.google.com project (same name),
and the original author, you certainly have my approval for inclusion in
python.
___
Python tracker [EMAIL PROTECTED]
82 matches
Mail list logo