Paul Moore p.f.mo...@gmail.com added the comment:
Well spotted! I missed that when I checked. I will add tests and
documentation.
I agree that generic is better. I only left it as it was because the
original intent was simply to move the existing code - but that's not a
particularly good reason
Paul Moore p.f.mo...@gmail.com added the comment:
Here's an updated patch.
Added file: http://bugs.python.org/file12936/generic.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5135
___
New submission from Raymond Hettinger rhettin...@users.sourceforge.net:
Add rstrip() to the Format menu.
Python's svn repository no longer accepts files with trailing whitespace
and it is often necessary to run reindent.py before submitting. It
would be nice to have this as a built-in
Martin von Gagern martin.vgag...@gmx.net added the comment:
Not being a regular Python programmer myself, I've never even heard of a
context manager before, but this latest patch should fit the bill.
As for tests, I believe that a few two-second sleeps (as FAT has only
two second resolution
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
FYI, Microsoft has responded to my query:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?
FeedbackID=409955
In short:
Comments
Hello,
Thanks for the report. We will probably not be able to address this in
Mark Dickinson dicki...@gmail.com added the comment:
I suggested to include math.npermutations_with_repetitions for
completeness,
Ezio, itertools currently has combinations with and without *replacement*, not
repetition. I think
you're talking about something slightly different
Changes by Qiangning Hong hon...@gmail.com:
--
nosy: +hongqn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4947
___
___
Python-bugs-list mailing
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Checked in r69268, to check strftime() and fopen()
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4804
___
Malcolm Purvis malc...@purvis.id.au added the comment:
It's true that memcpy won't work when the data type changes, but I would
assume (with no evidence to back me up) that the most common case for
passing an array into the array's constructor would be when data types
are the same. That case
Nick Coghlan ncogh...@gmail.com added the comment:
The reason I like the simplegeneric name is that that is exactly what
this feature is: a *simple* generic implementation that is deliberately
limited to dispatching on the first argument (because that is easily
explained to users that are
Changes by Mark Dickinson dicki...@gmail.com:
--
assignee: - marketdickinson
priority: - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3166
___
Akira Kitada akit...@gmail.com added the comment:
from distutils.core import setup
setup(name=foo, author=bar, maintainer=baz)
gives me
Metadata-Version: 1.0
Name: foo
Version: 0.0.0
Summary: UNKNOWN
Home-page: UNKNOWN
Author: baz
Author-email: UNKNOWN
License: UNKNOWN
Description: UNKNOWN
Paul Moore p.f.mo...@gmail.com added the comment:
Fair comment. As Ryan said, it's a bit of a bikeshed issue. I prefer
generic, on the basis that I'd prefer to keep the simple name for the
simple use - something as complex as the RuleDispatch version could use
the name dispatch (if they want to
pmoody pyt...@hda3.com added the comment:
I could live with such a choice if the netaddr authors agree that it
is the right choice (them being experts themselves in the domain).
I don't want to be accused of drkjam's accusation of fast-tracking
code just because it comes from Google (which
Tarek Ziadé ziade.ta...@gmail.com added the comment:
the Author metadata uses the maintainer field *or* the author field if
the maintainer is not provided.
What would be the rational to add a new maintainer field in the PKG-INFO ?
In the first place, I am wondering what is the rational, today,
Eric Smith e...@trueblade.com added the comment:
The doc string for sys includes:
version_info -- version information as a tuple
I'm not sure changing this to ... as a structseq makes it any more
useful, but it's more correct. Does anyone have a preference? I'd use
the same wording as
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1019715
___
Changes by Akira Kitada akit...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1019715
___
___
Python-bugs-list
New submission from Nicholas Patterson nicholas_patter...@agilent.com:
Used the TarFile object to create a bzip2 compressed tar file (seems to
have worked fine). Then used the extractall method to restore the
archive in a new location. All the files appear to have the same
permissions and
Changes by Akira Kitada akit...@gmail.com:
--
type: - feature request
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue808129
Changes by Akira Kitada akit...@gmail.com:
--
type: - behavior
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue809163
___
Changes by Akira Kitada akit...@gmail.com:
--
nosy: +tarek
type: - feature request
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue828336
Changes by Akira Kitada akit...@gmail.com:
--
assignee: - georg.brandl
components: +Documentation
nosy: +georg.brandl, tarek
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue828336
___
___
Python-bugs-list
Changes by Akira Kitada akit...@gmail.com:
--
nosy: +tarek
type: - compile error
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4577
___
___
Changes by Robert Kern robert.k...@gmail.com:
--
nosy: +robert.kern
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3976
___
___
Python-bugs-list
Guido van Rossum gu...@python.org added the comment:
I don't think a PEP is needed, and I do think ipaddr.py is ready for
inclusion. All that you really need is a core developer to champion the
inclusion.
___
Python tracker rep...@bugs.python.org
Changes by David Moss drk...@gmail.com:
--
nosy: -drkjam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3959
___
___
Python-bugs-list mailing list
Changes by Jean-Paul Calderone exar...@divmod.com:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3959
___
___
Python-bugs-list
Yannick Gingras yging...@ygingras.net added the comment:
The attached patch is a proof of concept for throwing an exception.
As discussed on the mailing list [1], it has some shortcomings that
should be addressed before it is merged.
[1]: http://mail.python.org/pipermail/python-dev/2009-
Antoine Pitrou pit...@free.fr added the comment:
Probably it has already been said, but for the record: is ipaddr's
current API ok for other libraries (mainly: netaddr) to build upon it
and provide compatible extensions or replacements, or would netaddr
become an incompatible alternative to the
Duncan McGreggor duncan.mcgreg...@gmail.com added the comment:
Antione,
We're (netaddr) going to try to use ipaddr if possible, but there are
operations which we are providing to API users that aren't directly
supported by ipaddr. We haven't yet determined the level of effort
involved in
Brett Cannon br...@python.org added the comment:
On Wed, Feb 4, 2009 at 05:56, Eric Smith rep...@bugs.python.org wrote:
Eric Smith e...@trueblade.com added the comment:
The doc string for sys includes:
version_info -- version information as a tuple
I'm not sure changing this to ... as a
Eric Smith e...@trueblade.com added the comment:
... as a named tuple works for me. I'll go with that. Thanks!
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4285
___
Guido van Rossum gu...@python.org added the comment:
If changes to ipaddr could make things easier for netaddr's support of
advanced features, please do propose those changes!
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3959
Martin v. Löwis mar...@v.loewis.de added the comment:
in light of david's email, would you agree that the bar for buy-in has
been met or should I now start writing a PEP and preparing offerings
for the BDFL?
Yes, I think it can be integrated now. I'll look into it, unless
somebody is faster
Martin v. Löwis mar...@v.loewis.de added the comment:
Does the problem exist in 2.6 still? If you can't determine that easily,
can you please provide a reproducible test case (e.g. some tar(1)
created tar file plus a Python script)
--
nosy: +loewis
New submission from Raymond Hettinger rhettin...@users.sourceforge.net:
Add a JSON analogue to xmlrpclib. See:
http://en.wikipedia.org/wiki/JSON-RPC
In some ways, it is much nicer than its XML cousin with bi-directional
communication, faster/simpler parsing, and ability to use TCP/IP
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
priority: - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4124
___
___
New submission from Adam Vandenberg fla...@gmail.com:
In the Callback example 6: variable arguments section of the optparse
documentation, the example code has an extra ) at the end of the last
line of the function:
setattr(parser.values, option.dest, value))
--
assignee: georg.brandl
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
FWIW, I put an alternative in the sandbox /dbm_sqlite/alt/dbdict.py and
am attaching a copy here. The idea is to emulate gdbm's fast mode and
delay all writes until closing. That lets us subclass from dict and get
high-speed
Walter Dörwald wal...@livinglogic.de added the comment:
The patch looks fine to me. Tests pass.
I have no opinion about the name. Both simplegeneric and generic are
OK to me.
I wonder if being able to use register() directly instead of as a
decorator should be dropped.
Also IMHO the Python
Martin v. Löwis mar...@v.loewis.de added the comment:
I think this feature request is out of scope for this bug tracker. To
fulfill the request, one not only has to *add* the module, but to
*implement* it first.
Since there is no inherent need for such a module to be provided with
the standard
Skip Montanaro s...@pobox.com added the comment:
Seems like this should be fairly easy to do right. 'U' needs to be
removed from the flags but then applied to the lines read from the
stream.
--
keywords: +easy
nosy: +skip.montanaro
stage: - needs patch
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
priority: - normal
versions: +Python 2.7, Python 3.1 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2527
___
Changes by Jean-Paul Calderone exar...@divmod.com:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3783
___
___
Python-bugs-list
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Here is the patch implementing msg81093. (check_fd.patch)
I tested this on VC6. (test_os passed) I hope this also works on VC9 as
well.
Added file: http://bugs.python.org/file12942/check_fd.patch
Lars Gustäbel l...@gustaebel.de added the comment:
This is probably a duplicate of issue1735, which was fixed in r59713,
i.e. between 2.5.1 and 2.5.2. Are you by any chance using Python 2.5.1?
--
assignee: - lars.gustaebel
nosy: +lars.gustaebel
___
Nicholas Patterson nicholas_patter...@agilent.com added the comment:
Using 2.5.0 on SLES 10 servers and 2.5.1 on Solaris 10 servers. Have only
tested SLES so far since that's our main platform.
___
Python tracker rep...@bugs.python.org
Lars Gustäbel l...@gustaebel.de added the comment:
Could you try to do a test with the patch from issue1735? It is rather
trivial to apply.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5151
___
Nicholas Patterson nicholas_patter...@agilent.com added the comment:
Yep that fixed it, sorry to have used up your time. Still a bit new to the
search feature on the site, didn't notice the form defaulted to only searching
on open bugs/issues.
___
Python
Lars Gustäbel l...@gustaebel.de added the comment:
Never mind! Thank you anyway for your report.
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5151
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
Might I suggest that the TARGET and TARGET_WITH_IMPL macros not
include the trailing colon?
Yes, please!
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar:
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5015
___
___
Duncan McGreggor duncan.mcgreg...@gmail.com added the comment:
If changes to ipaddr could make things easier for netaddr's support
of advanced features, please do propose those changes!
Thanks, Guido -- we will :-) We'll be watching closely for that and
participating as much as possible.
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar:
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1079
___
___
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
Arrays already support the buffer interface
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5141
___
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar:
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5125
___
___
Christian Heimes li...@cheimes.de added the comment:
Technically it's not a named tuple. Calling it named tuple may cause
confusing. http://docs.python.org/library/os.html#os.stat calls it a
structure.
___
Python tracker rep...@bugs.python.org
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
attached patch for trunk-20090204:
- removed patch from issue4587 (not relevant for mingw) ;
- improved static build now succeed (use --disable-shared). this is
follow-up of issue4494 + ... (don't expect loadable modules to work
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file11665/python-trunk-MINGW.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file12272/python-trunk-MINGW.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Eric Smith e...@trueblade.com added the comment:
... as a named tuple works for me. I'll go with that. Thanks!
+1
Remember, named tuple is a concept, not a class. It is anything that
provides attribute access as an
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Hi shura_zam,
I test this patch in issue3871 but without success - setup.py don't try
to build ctypes module. May I ask you to post a sample.
--
nosy: +rpetrov
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
In what specific way is poll() broken?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5154
___
Ben Bangert b...@groovie.org added the comment:
I don't know specifically, Phil Jenvey probably would as he's the one
that told me it is. Apple apparently knows this an turns it off in their
version of Python that is supplied.
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
I don't know specifically, Phil Jenvey probably would as he's the one
that told me it is. Apple apparently knows this an turns it off in their
version of Python that is supplied.
That's not a sufficient reason to copy their work-around. A
Paul Moore p.f.mo...@gmail.com added the comment:
Agreed about the compatibility. It's there from pkgutil, where to be
honest, it's even less necessary, as simplegeneric was for internal use
only, there. I'm certainly not aware of any backward compatibility
requirements for functools.
Assuming
Ben Bangert b...@groovie.org added the comment:
Ah, sorry, misunderstanding. I'm not recommending that Python copy
Apple's patch. I was pointing out that the HAVE_BROKEN_POLL test
apparently doesn't work, and that *all* manually compiled copies of
Python done on OSX will suffer this socket 35
Changes by Akira Kitada akit...@gmail.com:
--
nosy: +tarek
type: - behavior
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1520877
Akira Kitada akit...@gmail.com added the comment:
Still present in 2.6/3.0
--
nosy: +akitada, tarek
type: feature request - behavior
versions: +Python 2.7, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
Akira Kitada akit...@gmail.com added the comment:
Still present in 2.6/3.0
--
nosy: +akitada, tarek
type: resource usage - behavior
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
Sam samsli...@gmail.com added the comment:
I know this bug is closed, but I too am experiencing it under Linux
2.6.24-22 and Python 2.5.2.
I'm using urllib2, and it's just spending an obscene amount of cpu time
in {method 'recv' of '_socket.socket' objects}
Anyone have any ideas?
Would
And Clover a...@doxdesk.com added the comment:
The problem is that codecs.open() forces binary mode on the underlying
file object, and this defeats the U mode.
Actually the problem is it doesn't defeat it!
The function is documented to force binary, but it actually only does
mode = mode +
New submission from Beau Butler beau.but...@gmail.com:
(Note: This issue only happens on linux - on Windows things work fine.)
Please see the attached script.
The script creates a process (TestProcess()). That process runs and
creates a sub-process (TestSubProcess()). When TestSubProcess tries
Changes by Beau Butler beau.but...@gmail.com:
--
title: Multiprocessing.Queue created by subprocess fails when used in
sub-sub-process - Multiprocessing.Queue created by sub-process fails when used
in sub-sub-process
___
Python tracker
Changes by Beau Butler beau.but...@gmail.com:
--
title: Multiprocessing.Queue created by sub-process fails when used in
sub-sub-process - Multiprocessing.Queue created by sub-process fails when used
in sub-sub-process (bad file descriptor in q.get())
Beau Butler beau.but...@gmail.com added the comment:
Also reproduced in Python3.0 on OSX 10.5
--
versions: +Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5155
___
Skip Montanaro s...@pobox.com added the comment:
Here's a patch against trunk. Extra test case and minor doc tweak
included.
--
keywords: +patch
Added file: http://bugs.python.org/file12945/gzipU.diff
___
Python tracker rep...@bugs.python.org
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - jnoller
nosy: +jnoller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5155
___
Ryan Freckleton ryan.freckle...@gmail.com added the comment:
I think that registering existing functions is an important use case, so
I vote for keeping the non-decorator version of register.
Another thing that we may want to document is that [simple]generic
doesn't dispatch based on registered
Changes by Skip Montanaro s...@pobox.com:
--
keywords: +needs review
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5148
___
Changes by Philip Jenvey pjen...@users.sourceforge.net:
--
title: Fix ptcp154 encoding cyrillic_asian alias - [PATCH] Fix ptcp154
encoding cyrillic_asian alias
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1757126
83 matches
Mail list logo