New submission from Torsten Landschoff t.landsch...@gmx.net:
With the attached file doc.py I see the following behaviour:
tors...@ddhp3:~$ pydoc doc
Traceback (most recent call last):
File /usr/bin/pydoc, line 5, in module
pydoc.cli()
File /usr/lib/python2.6/pydoc.py, line 2309, in cli
New submission from Bob for_elis...@yahoo.fr:
Hi,
I've found a strange performance issue when comparing queue.queue and
multiprocessing.queue in python 2.6 and 3.1
My program creates a queue, and do 1 million put and get operations on either a
small data or a big array.
My code: (This is
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - jnoller
nosy: +jnoller
versions: +Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8995
___
Mark Dickinson dicki...@gmail.com added the comment:
I (reluctantly) agree it's surprising that {0[-1]}.format(args) fails. And I
suppose that if it were allowed then it would also make sense to consider
{-1}.format(*args) as well, in order to preserve the equivalence between
Sworddragon sworddrag...@aol.com added the comment:
I have set now the key to E:\Python31\python.exe %%1 %%* and it works. So
Windows XP need double % too. The installer of the next version should consider
this.
--
___
Python tracker
Sworddragon sworddrag...@aol.com added the comment:
I made a mistake in the last post. After I have set the value, Python 2 was
active and I forgot to set it to Python 3 back. This solution doesn't work.
Well, I can't edit or delete the post.
--
Adrian von Bidder avbid...@fortytwo.ch added the comment:
Thanks for the positive feedback. I'll try to do the diff against top of tree
and the unit test soon-ish.
Use case:
* In my specific case, I'm writing a sort of cross between mailing list and
blog system and I'd like to use a static
Sworddragon sworddrag...@aol.com added the comment:
Now I found the real solution (and don't forgot to set it to Python 3 back). I
have searched in the registry for python.exe to look how Python 2 is doing
this. I sawed a key that looks dissimilar to the others before. It is the key
Eric Smith e...@trueblade.com added the comment:
Addressing just the last part of Mark's message right now:
The PEP goes on to say:
Implementation note: The implementation of this proposal is
not required to enforce the rule about a simple or dotted name
being a valid Python
Eric Smith e...@trueblade.com added the comment:
So the real question is is: how does that key get that invalid value? I can't
reproduce the problem.
I believe that key you mention is an alias for
HKEY_CURRENT_USER\Software\Classes\Applications\python.exe\shell\open\command,
which doesn't
STINNER Victor victor.stin...@haypocalc.com added the comment:
This bug is maybe related to #8611?
Can you try with py3k (python 3.2)?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8988
Sworddragon sworddrag...@aol.com added the comment:
I have now uninstalled Python 2 and 3 and installed them new. First Python 2
with only register extension and compile files to bytecode. After this I have
made the same with Python 3. In the Open with menu was now python
registered which was
Jesse Noller jnol...@gmail.com added the comment:
No - I don't know of anything which would trigger this in 3.1 off the top of my
head. The performance degradation is pretty worrisome
--
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
issue5904g.diff looks good to me. A very nice piece of work!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5094
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed in r81981. I'll open a separate documentation issue to update
Doc/includes/tzinfo-examples.py and improve TZ related documentation.
--
stage: patch review - committed/rejected
status: open - closed
Mark Dickinson dicki...@gmail.com added the comment:
It's too late to backport any new features to 2.x.
--
nosy: +mark.dickinson
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Mark Dickinson dicki...@gmail.com:
--
assignee: - mark.dickinson
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3163
___
Changes by Mark Dickinson dicki...@gmail.com:
--
assignee: - mark.dickinson
nosy: +mark.dickinson
versions: +Python 3.2 -Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1749662
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2981
___
___
Python-bugs-list
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2263
___
___
Python-bugs-list
Mark Dickinson dicki...@gmail.com added the comment:
I think you're misunderstanding how the 'p' format works.
Otherwise, why people should use format 'p'?
Either when you struct.pack or struct.unpack you have to know the size
of string at first, why not turn to format 's'?
No; you don't
New submission from Éric Araujo mer...@netwok.org:
Following a discussion on IRC:
birkenfeld I would even prefer having more of just `object` instead of
:func:`object` or :class:`object`
I think it would be feasible to write a reST role that would use inspect or
pydoc to find the type. It
Mark Dickinson dicki...@gmail.com added the comment:
Is this still of interest to anyone?
What's the motivation for this particular choice (bigendian byteorder, native
size, native alignment), out of all the various other choices that aren't
currently implemented?
PEP 3118 also proposes the
Changes by Mark Dickinson dicki...@gmail.com:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3163
___
___
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
Re: msg107776.
If it looks like an integer (ie, can be converted to an integer by 'int') then
it's positional, otherwise it's a key. An optimisation is to perform a quick
check upfront to see whether it starts like an integer.
Mark Dickinson dicki...@gmail.com added the comment:
Matthew:
would that include allowing whitespace, then?
int('\t\n+56')
56
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7951
___
sorin sorin.sbar...@gmail.com added the comment:
I would like to know what happened with hex_codec and what is the new py3 for
this.
Also, it would be really helpful to see DeprecationWarnings for all these
codecs in py2x and include a note in py3 changelist.
The official python
Georg Brandl ge...@python.org added the comment:
The type doesn't matter anyway, no need to find it by questionable means.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8996
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r81984.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8993
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
With issue5094 patch now committed, I am replacing issue6641.diff with a new
version that does not include issue5094.
--
title: strptime doesn't support %z format ? - datetime.strptime doesn't
support %z format ?
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
Removed file: http://bugs.python.org/file17590/issue6641.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6641
___
Sridhar Ratnakumar sridh...@activestate.com added the comment:
I am curious as to why this should still fail as the OSX filesystem is case
sensitive. Finder has no problems with extrating this particular tarball. Do
you think this is a (separate) bug, or is this by design (why?)?
If this is
Mark Dickinson dicki...@gmail.com added the comment:
To avoid clashing with PEP 3118, we could use 'n' and 'N' instead of 'z' and
'Z'.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3163
Mark Dickinson dicki...@gmail.com added the comment:
The proposed addition seems reasonable to me, for native packing and unpacking.
For standard mode packing and unpacking, I don't see the point; we'd have to
pick a standard size, which would almost certainly be either 4 or 8, and so
would
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
That's a good question. :-)
Possibly just an optional sign followed by one or more digits.
Another possibility that occurs to me is for it to default to positional if it
looks like an integer, but allow quoting to force it to be a
Mark Dickinson dicki...@gmail.com added the comment:
The issue6280-calendar.diff patch looks good to me.
--
assignee: mark.dickinson - belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6280
Lars Gustäbel l...@gustaebel.de added the comment:
a) The point is: the operation simply wouldn't fail on a case-sensitive
filesystem. There is no platform-specific or otherwise special code in
TarFile.makefile(). It simply tries to extract the file and the filesystem
layer says no, because
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed issue6280-calendar.diff in r81988. I believe tests should be merged
in 2.7. Any objections?
As for the original RFE, I think it should be rejected. I believe users should
be encouraged to use datetime
Sridhar Ratnakumar sridh...@activestate.com added the comment:
On 2010-06-14, at 10:43 AM, Lars Gustäbel wrote:
Lars Gustäbel l...@gustaebel.de added the comment:
a) The point is: the operation simply wouldn't fail on a case-sensitive
filesystem. There is no platform-specific or otherwise
Adrian von Bidder avbid...@fortytwo.ch added the comment:
I'm sure several of you have worked with the Python source code before and know
by heart how to run the testsuite. In other words: I admit that I've only
written the code and have not tried it.
Given how trivial the patch is, I have
STINNER Victor victor.stin...@haypocalc.com added the comment:
This issue was about removing codecs.readbuffer_encode() and
codecs.charbuffer_encode(). codecs.charbuffer_encode() was removed, but
codecs.readbuffer_encode() explained that it should be kept. So I close this
issue because there
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8838
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I reverted r81988 in r81989. Some code may rely on timegm() accepting float in
tm_sec. See http2time in Lib/http/cookiejar.py.
It is very easy to modify implementation to accept float seconds, but old
implementation
New submission from Marc-Andre Lemburg m...@egenix.com:
See #8838 for details.
--
assignee: lemburg
components: Documentation
messages: 107809
nosy: lemburg
priority: normal
severity: normal
status: open
title: Write documentation for codecs.readbuffer_encode()
versions: Python 3.2,
Changes by Marc-Andre Lemburg m...@egenix.com:
--
components: +Unicode
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8997
___
___
Python-bugs-list
Stefan Krah stefan-use...@bytereef.org added the comment:
FreeBSD/Qemu: ipv6 is ok, but this fails:
==
FAIL: testGetaddrinfo (__main__.GeneralModuleTests)
--
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8997
___
___
Eric Smith e...@trueblade.com added the comment:
I can see the point of allowing negative indices for a consistency point, but
is there really any practical problem that's currently causing people hardship
that this would solve?
As for the rest of it, I think it's just not worth the
STINNER Victor victor.stin...@haypocalc.com added the comment:
New (improved) version of the patch:
- Remove also w# format
- Write tests for w* format
--
Added file: http://bugs.python.org/file17670/remove_w_format-2.patch
___
Python tracker
New submission from geremy condra debat...@gmail.com:
Python's hashlib and ssl modules currently leverage OpenSSL to provide
developers with access to cryptographic hash and TLS routines, but
encryption/decryption and signature/verification support are still missing. I
propose the addition of
geremy condra debat...@gmail.com added the comment:
apologies, forgot the link:
[0] http://gitorious.org/evpy
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8998
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +exarkun, gregory.p.smith, pitrou
versions: +Python 3.2 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8998
___
Sridhar Ratnakumar sridh...@activestate.com added the comment:
-bash-3.00$ cat _configtest.c
// xxx
-bash-3.00$
-
This is how the C compiler is invoked:
$ cc -E -o _configtest.i _configtest.c
# 1 _configtest.c
#ident acomp: Sun C 5.9 SunOS_i386
Martin v. Löwis mar...@v.loewis.de added the comment:
Assuming you are willing to contribute evpy (and have the rights to do so, i.e.
all of the code is truly yours): what's the user acceptance of the code?
In particular, what do authors of competing OpenSSL wrappers (like M2Crypto) or
other
Brett Cannon br...@python.org added the comment:
Thanks for the patch, Éric. I will get to it when I can.
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8912
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +heikki
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8998
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
and have the rights to do so, i.e. all of the code is truly yours
Is it really required, or is a non-copyleft liberal license (MIT-like or
BSD-like) enough?
--
___
Python tracker
Brett Cannon br...@python.org added the comment:
Thanks for sticking with this, Alexander. I realized I was a slight pain to
deal with on this one. =)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5094
STINNER Victor victor.stin...@haypocalc.com added the comment:
Write a patch. test_getargs2.py has now tests for many byte and unicode formats
and so it can validate the patch.
--
keywords: +patch
Added file: http://bugs.python.org/file17671/reject_discontigious.patch
Martin v. Löwis mar...@v.loewis.de added the comment:
and have the rights to do so, i.e. all of the code is truly yours
Is it really required, or is a non-copyleft liberal license (MIT-like or
BSD-like) enough?
The contributor would have to sign a contributor agreement, giving the
PSF the
Antoine Pitrou pit...@free.fr added the comment:
The contributor would have to sign a contributor agreement, giving the
PSF the right to relicense under the PSF license (or anything they
please to relicense under). If the contributor only has a BSD license
(from his contributors), he has
Changes by Martin v. Löwis mar...@v.loewis.de:
--
title: add encryption/decryption/signature/verification routinesto
stdlib - add crypto routines to stdlib
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8998
geremy condra debat...@gmail.com added the comment:
On Mon, Jun 14, 2010 at 3:09 PM, Martin v. Löwis rep...@bugs.python.org wrote:
Martin v. Löwis mar...@v.loewis.de added the comment:
Assuming you are willing to contribute evpy (and have the rights to do so,
i.e. all of the code is truly
Éric Araujo mer...@netwok.org added the comment:
I may add that although there is no formal test of any kind, I added tabs in
two places in one .c file and in one place in another place, and it correctly
reported two files. It’s a small function mostly copied from the one above; the
only part
STINNER Victor victor.stin...@haypocalc.com added the comment:
We are too close from the final 2.7 release, it's too late to backport. As I
wrote, this feature is not important and there are many workaround, so we don't
need to backport to 3.1. Close the issue: use Python 3.2 if you want a
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also #8926.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8850
___
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
versions: +Python 3.2 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4769
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8998
___
___
Python-bugs-list mailing
geremy condra debat...@gmail.com added the comment:
On Mon, Jun 14, 2010 at 3:37 PM, Martin v. Löwis rep...@bugs.python.org wrote:
Martin v. Löwis mar...@v.loewis.de added the comment:
Evpy and M2Crypto have very different goals. M2Crypto seeks to be a
complete wrapper for OpenSSL, which we
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Éric,
It will be helpful if your code could also check for lines longer than 79
characters.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8912
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
.. and trailing white space.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8912
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
About the mbcs encoding: issue #850997 proposes to make it more strict.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4352
Antoine Pitrou pit...@free.fr added the comment:
Le lundi 14 juin 2010 à 22:48 +, geremy condra a écrit :
I have no idea, and as I said earlier in the mailing list, I'm
willing to contribute the code, make changes as requested,
and maintain it- but I have no interest in or skill with
STINNER Victor victor.stin...@haypocalc.com added the comment:
Can you write a patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8647
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Can you write a patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8646
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Can you write a patch?
See also #8646.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8645
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
ping myself: i have to apply the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8203
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
The patch changes the prototype of _Py_DisplaySourceLine() function. Is it
possible that a third party module uses this function? Should we keep backward
compatibility with third pary modules using the private C API?
--
Sindre Myren smyr...@gmail.com added the comment:
I don't understand what you mean when you say how umask works in
relation to Python. How it works in relation to Python isn't different
from how it works for any other Unix program. Consider, for example,
the unix man page for 'open'.
This
STINNER Victor victor.stin...@haypocalc.com added the comment:
Bug related to this issue: #8124, PySys_WriteStdout() and PySys_WriteStderr()
ignore signal handlers errors.
...
Leave this issue open until #8124 is fixed.
I fixed both issues, so it's time to close this one.
--
Sindre Myren smyr...@gmail.com added the comment:
*Sorry.. A bit quick there. The line
os.mkdir('test4')
should have been:
os.mkdir('test4', 0777)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5220
Martin v. Löwis mar...@v.loewis.de added the comment:
I (as a programmer) have never seen the specific code for python's
mkdir function, And I have no way to know whether I should presume
that mkdir in python works the same way as the gnu command or not.
Unless it is documented that is.
You
Éric Araujo mer...@netwok.org added the comment:
Replacing VCS hooks, are we? :) Updated and attached.
Ideas for other feature requests:
- Printing the name of files with issues;
- Fail-fast mode or full report.
--
Added file: http://bugs.python.org/file17672/patchcheck-pep7.diff
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file17663/check-tabs.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8912
___
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file17664/check-tabs.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8912
___
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
Your original:
{0[-1]}.format('fox')
is a worse gotcha than:
{-1}.format('fox')
because you're much less likely to want to do the latter.
It's one of those things that it would be nice to have fixed, or we could just
add
Changes by Mike Crute mcr...@gmail.com:
--
nosy: +mcrute
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8998
___
___
Python-bugs-list mailing list
geremy condra debat...@gmail.com added the comment:
On Mon, Jun 14, 2010 at 6:51 PM, Antoine Pitrou rep...@bugs.python.org wrote:
Antoine Pitrou pit...@free.fr added the comment:
Le lundi 14 juin 2010 à 22:48 +, geremy condra a écrit :
I have no idea, and as I said earlier in the
88 matches
Mail list logo