Éric Araujo mer...@netwok.org added the comment:
I asked that because I didn’t see the fix backported :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10198
___
Changes by Eric Smith e...@trueblade.com:
--
title: str.format_from_mapping() - str.format_map()
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6081
___
Eric Smith e...@trueblade.com added the comment:
Committed to 3.2 in r86170.
--
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6081
R. David Murray rdmur...@bitdance.com added the comment:
Can you give the exact command line you are using to run it, and the OS and
version, and perhaps a printenv? I can't reproduce it in 3.1 or 3.2a3.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Running it with -E and seeing if that changes the behavior would also be useful.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10313
Georg Brandl ge...@python.org added the comment:
I always to the backports batched for these minor and docs fixes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10198
___
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +needs review
nosy: +alanmcintyre
stage: - patch review
versions: +Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10298
Éric Araujo mer...@netwok.org added the comment:
Perfect, sorry for doubting you ;)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10198
___
___
Sandro Tosi sandro.t...@gmail.com added the comment:
The attached patch implements the same tests of byte for string objects.
--
assignee: - sandro.tosi
stage: - patch review
Added file: http://bugs.python.org/file19497/issue3699-py3k-v2.patch
___
Julien ÉLIE jul...@trigofacile.com added the comment:
Hi Steven,
I also don't understand why START_TLS and AUTHINFO need to change
how the module is interfaced to (separating log in/authentication, etc)
Because once you have used AUTHINFO, STARTTLS is no longer a valid command in a
session.
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10243
___
Terry J. Reedy tjre...@udel.edu added the comment:
I am closing this as some combination of wrong, inapplicable, out-of-date, and
postponed.
1. In 3.1, ssl *is* documented as optional in the sense of dependent on an
external library. This module uses the OpenSSL library. It is available on
Martin v. Löwis mar...@v.loewis.de added the comment:
I propose a different solution: On Windows, instead of calling write(), we call
WriteFile directly. We try to faithfully follow the CRT implementation as much
as possible, knowing that what we write to actually is a binary file (in
Antoine Pitrou pit...@free.fr added the comment:
I propose a different solution: On Windows, instead of calling
write(), we call WriteFile directly.
If I'm not mistaken, WriteFile takes the length as a DWORD, which is
still 32 bits under Win64.
--
New submission from Henning Hraban Ramm hra...@fiee.net:
The docs tell us that smtplib.SMTP_SSL was only changed in 2.6, but it is new
(i.e. it didn't exist in 2.5.x).
--
assignee: d...@python
components: Documentation
messages: 120432
nosy: d...@python, hraban
priority: normal
Max Skaller max.skal...@gmail.com added the comment:
On Thu, Nov 4, 2010 at 5:19 PM, Ned Deily rep...@bugs.python.org wrote:
Ned Deily n...@acm.org added the comment:
For what it's worth, the python.org installers for Mac OS X do include a
libpython shared library. As of Python 2.7 (and
Martin v. Löwis mar...@v.loewis.de added the comment:
If I'm not mistaken, WriteFile takes the length as a DWORD, which is
still 32 bits under Win64.
Oops, ignore me, then... I agree that clamping is fine, assuming the
buffering layer takes that into account.
--
Changes by Martin v. Löwis mar...@v.loewis.de:
Removed file: http://bugs.python.org/file19498/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10243
___
Antoine Pitrou pit...@free.fr added the comment:
Well, there's this strange-looking thing in PyMemoryView_GetContiguous:
if (buffertype == PyBUF_SHADOW) {
/* return a shadowed memory-view object */
view-buf = dest;
mem-base = PyTuple_Pack(2, obj, bytes);
... but I
Antoine Pitrou pit...@free.fr added the comment:
Done in r86174.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10293
___
Antoine Pitrou pit...@free.fr added the comment:
I've made cosmetic changes and applied in r86175 (3.2) and r86176 (3.1). Thank
you!
--
priority: high - normal
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
New submission from Peter Hall peter.f.h...@nasa.gov:
I am running the following :
Linux Centos version 2.6.18
Python version 2.5
tk version 8.5
tcl version 8.5
I have a Python GUI program (importing Tkinter and tkFileDialog)
which prompts the user to select a (one to many) list of file
Changes by Peter Hall peter.f.h...@nasa.gov:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10316
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
I guess you're not seeing them because Victor silenced them a couple of days
ago in r85902.
Hallvard, if you update your py3k working copy, do these warnings disappear?
--
nosy: +pitrou
___
Python
Ned Deily n...@acm.org added the comment:
It's called Python because that's the way frameworks on OS X are generally
structured: the shared library file has the same name as the framework. The
Apple developer docs have lots of information on frameworks.
Prior to 2.7 and the upcoming 3.2
Antoine Pitrou pit...@free.fr added the comment:
This sounds dangerously like a micro-optimization to me, and I'm not sure an
additional API is ok for that.
--
nosy: +gregory.p.smith, pitrou
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Ah, then this report is probably out of date. I just realized that I ran my
3.2a3 test incorrectly, so my report that I didn't see them there is invalid.
--
___
Python tracker
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
On a second thought... is there another example where a *blocking* stream does
not write all the data without raising an exception?
--
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
On a second thought... is there another example where a *blocking* stream
does not write all the data without raising an exception?
Why do you think this would be somehow an example for a blocking stream
that does not write all data
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Why do you think this would be somehow an example for a blocking stream
that does not write all data without raising an exception?
Well, that's what clamping means, isn't it?
--
___
Python
Antoine Pitrou pit...@free.fr added the comment:
On a second thought... is there another example where a *blocking*
stream does not write all the data without raising an exception?
It can happen with pipes or sockets, if some buffer can only store part
of the data. Or any regular stream if a
Antoine Pitrou pit...@free.fr added the comment:
That's a fine addition, I've committed it in r86177.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
Am 04.11.2010 22:28, schrieb Amaury Forgeot d'Arc:
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Why do you think this would be somehow an example for a blocking stream
that does not write all data without raising an
Antoine Pitrou pit...@free.fr added the comment:
%Id is actually the expansion of PY_FORMAT_SIZE_T.
Include/pyport.h says:
/* PY_FORMAT_SIZE_T is a platform-specific modifier for use in a printf
* format to convert an argument with the width of a size_t or Py_ssize_t.
* C99 introduced z for
Lukas Lueg lukas.l...@gmail.com added the comment:
Thanks for your comment; it is a very valid point to consider. However, as a
vector-based implementation is roughly three to four times faster than what
the current API can provide by design (reduced overhead and GIL-relaxation not
Jesús Cea Avión j...@jcea.es added the comment:
Move the CObject use to a py3k warning instead of an error in r86178.
I still need to solve improve error management in bsddb. This bug remains open
for a while.
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Well, the issue seems to be simpler. This piece of code calls PyErr_WarnFormat,
which doesn't use the platform's printf but Python's own format codes as
documented in http://docs.python.org/dev/c-api/unicode.html#PyUnicode_FromFormat
--
Antoine Pitrou pit...@free.fr added the comment:
Could you check the following patch works for you?
--
assignee: - brian.curtin
keywords: +patch
Added file: http://bugs.python.org/file19499/gcprint.patch
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I am attaching a patch that adds a hack that allows to run turtle doctests
using turtle.run_doctests() function. Running this function has revealed
numerous mistakes in doctests that are corrected in the patch.
The
Antoine Pitrou pit...@free.fr added the comment:
Thanks for your comment; it is a very valid point to consider.
However, as a vector-based implementation is roughly three to four
times faster than what the current API can provide by design (reduced
overhead and GIL-relaxation not included),
Terry J. Reedy tjre...@udel.edu added the comment:
In 3.1.2, range handles large numbers.
list(range(10, 500, 100))
[10, 110, 210, 310, 410]
# those are all billions
This means that the 'equivalent' code in the doc will work.
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I concur with Overlord Antoine ;-)
The API of hashfunc *files looks like something that should be done at the
command line in bash. For the most part, I think users are better-off using
normal Python loops so they can do
Brian Curtin cur...@acm.org added the comment:
Works for me.
--
assignee: brian.curtin - pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10279
___
Changes by Łukasz Langa luk...@langa.pl:
Removed file: http://bugs.python.org/file19010/issue5412.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5412
___
Łukasz Langa luk...@langa.pl added the comment:
Patch updated yet again:
* optional .get() arguments are now keyword only. This is a bit
backwards incompatible but:
* protects users of mapping protocol access from invoking get() as if
the last positional argument was the `fallback`
Antoine Pitrou pit...@free.fr added the comment:
Committed in r86179.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10279
Ned Deily n...@acm.org added the comment:
Works for me on a current Debian Linux system with a Debian Python 2.5.5 +
Tcl/Tk 8.5 and with Python 2.6.1 + Tcl/Tk 8.5 on OS X 10.6 and with Python 2.7
+ Tcl/Tk 8.4 on OS X 10.6. In all cases, the tkFileDialog.askopenfilenames
returns a tuple of
Jesús Cea Avión j...@jcea.es added the comment:
Better bsddb error control. Please, review.
[j...@babylon5 release27-maint]$ ./python
Python 2.7.0+ (release27-maint:86176:86178M, Nov 5 2010, 00:30:)
[GCC 4.5.1] on sunos5
Type help, copyright, credits or license for more information.
import
Changes by Jesús Cea Avión j...@jcea.es:
--
assignee: - jcea
resolution: - accepted
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9675
StevenJ sjohn...@sakuraindustries.com added the comment:
Hi Julien,
I also don't understand why START_TLS and AUTHINFO need to change
how the module is interfaced to (separating log in/authentication, etc)
Because once you have used AUTHINFO, STARTTLS is no longer a valid
command in a
Changes by Brian Curtin cur...@acm.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1926
___
___
Python-bugs-list
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I think threading is a red herring here. The issue is really a duplicate of
#6639.
--
nosy: +belopolsky
status: open - pending
superseder: - turtle: _tkinter.TclError: invalid command name .10170160
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On a closer look at the first post, I see that there are two parts to the
issue. The first is indeed a duplicate of #6639, but the second is thread
related. I am attaching the OP's code in a script file for
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
In r84640, Raymond added TurtleShell to the cmd module documentation as an
example of a simple interpreter that can be written using that module. I
propose adding this code to turtle.py and make it runnable as python
New submission from Allan McRae al...@archlinux.org:
The following files are incorrectly installed with a #!/usr/bin/env python
shebang when using make altinstall:
usr/lib/python2.7/base64.py
usr/lib/python2.7/bsddb/dbshelve.py
usr/lib/python2.7/bsddb/test/test_dbtables.py
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Ah, the SHADOW member...
Weird.
Anyway, I have been hacking around in the memory view. One thing that it does,
and makes me uncomfortable since I think it is breaking the new buffer
protocol, is to
a) PyObject_GetBuffer()
b)
New submission from jrodman2 jrod...@pythontracker.spamportal.net:
Behavior exists in at least Python 2.5 through 3.1.
The issue regards the socketserver's handling of the tcp sockets it works with.
On object reaping, the sockets are properly closed (in some versions
explicitly, in others
201 - 257 of 257 matches
Mail list logo