Ethan Furman added the comment:
For the curious, here are all the tracebacks:
-- json.dumps(a)
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python3.3/json/__init__.py, line 236, in dumps
return _default_encoder.encode(obj)
File
New submission from Sergey:
Problem
===
Code:
sum([[1,2,3]]*100, [])
takes forever to complete.
Suggestion
==
Patch sum() function so that it did not created 100 copies of result, but
created just one. Attached patch does that.
Before patch:
$ ./python -mtimeit
anatoly techtonik added the comment:
I am not using pythonw.exe, it is the option users prefer to run the program.
pythonw.exe is a binary, how do you propose to patch that? Or is it translated
to .exe with RPython?
Can you be more specific what shell does not work correctly, what exactly
Amaury Forgeot d'Arc added the comment:
RPython... let's be serious. The code of pythonw.exe is very simple, see
PC/WinMain.c.
No, pythonw.exe is not meant to suppresses the terminal window on startup.
This is only a consequence of being a windows application. There is a lot of
documentation
New submission from John Jefferies:
If os.stat is executed on a Windows junction with Python 3.3 I see an exception:
import os
os.stat('C:\Windows\System32\config\systemprofile\SendTo')
Traceback (most recent call last):
File stdin, line 1, in module
FileNotFoundError: [WinError
Martin v. Löwis added the comment:
I don't think they are actually the *same* issue.
For the limitations wrt. code objects (maximum size of byte code, maximum
number of local variables, maximum number of parameters, etc.), I recommend the
following thorough procedure:
1. document in a single
anatoly techtonik added the comment:
This is still an issue for Python 2 users. Most important that pythonw.exe has
a magic ability to fail silently leaving users with no means to create valid
bug reports (the reason why StackOverflow questions are downvoted and erased).
Changes by anatoly techtonik techto...@gmail.com:
--
nosy: +techtonik
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5845
___
___
Python-bugs-list
Christian Heimes added the comment:
I recommend against changing the code so late in the Python 2.7 release cycle.
A change in behavior is too confusing.
And it's not a bug but a design decision, too. Over five years ago I implement
parts of the IO interaction with the operating system for
Christian Heimes added the comment:
Let's have a look
--
assignee: - christian.heimes
keywords: +3.3regression
nosy: +christian.heimes
stage: - test needed
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18305
___
___
Python-bugs-list mailing list
Christian Heimes added the comment:
On my Windows box (Win 7) I'm getting an error with Python 3.2 and 3.3. It
looks like I'm not allowed to enter the parent directory (Zugriff verweigert ==
Permission Denied):
os.stat(r'C:\Windows\System32\config')
Traceback (most recent call last):
File
Christian Heimes added the comment:
There is much confusing about junction point on the internet. Some sites like
Wikipedia claim that a junction point is a kind of soft link. Other sites refer
to junction points as directory hard links.
IMO directory hard links is wrong. Contrary to file
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18289
___
___
Python-bugs-list mailing list
John Jefferies added the comment:
On 26/06/2013 13:38, Christian Heimes wrote:
Christian Heimes added the comment:
On my Windows box (Win 7) I'm getting an error with Python 3.2 and 3.3. It
looks like I'm not allowed to enter the parent directory (Zugriff verweigert
== Permission Denied):
New submission from Vitaly Murashev:
Recently I found out that it not possible to debug python code if it is a part
of zip-module.
Python version being used is 3.3.0
Well known GUI debuggers like Eclipse+PyDev or PyCharm are unable to start
debugging and give the following warning:
---
pydev
New submission from David Edelsohn:
The recvmsg tests in test_socket.py check that the address returned by recvmsg
matches the original address to which the socket was bound. For IPv6, sockaddr
includes sin6_scope_id, in addition to the address and port.
The test connects to host ::1, which
New submission from Mathias Fröhlich:
Hi all,
I want to move python a bit closer to be relocatable.
One problem to solve is where python finds its modules.
The usual lookup mechanism is to compile in a configure time
determined prefix that is used as a last resort path if the
paths are not set
Roundup Robot added the comment:
New changeset 520490c4c388 by R David Murray in branch 'default':
#11454: Reduce email module load time, improve surrogate check efficiency.
http://hg.python.org/cpython/rev/520490c4c388
--
nosy: +python-dev
___
R. David Murray added the comment:
I've checked in the encode version of the method. I'm going to pass on doing
the other inlines, given that the improvement isn't that large. I will,
however, keep the issue in mind as I make other changes to the code, and there
will be a general
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +brett.cannon, christian.heimes
stage: - test needed
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18307
___
New submission from py.user:
import itertools
itertools.tee('x', n=2)
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: tee() takes no keyword arguments
--
components: Library (Lib)
messages: 191912
nosy: py.user
priority: normal
severity: normal
status:
New submission from mp:
Under
http://docs.python.org/3.4/library/ssl.html#ssl.SSLContext.set_npn_protocols
avertise should be advertise. This is in documentation for both 3.4 and 3.3
--
assignee: docs@python
components: Documentation
messages: 191913
nosy: docs@python, pfista
Changes by Terry J. Reedy tjre...@udel.edu:
--
assignee: - terry.reedy
versions: +Python 2.7, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18242
___
Roundup Robot added the comment:
New changeset d7ae8a84f443 by R David Murray in branch '3.3':
#18311: fix typo.
http://hg.python.org/cpython/rev/d7ae8a84f443
New changeset 16fe29689f3f by R David Murray in branch 'default':
Merge #18311: fix typo.
http://hg.python.org/cpython/rev/16fe29689f3f
R. David Murray added the comment:
Fixed, thanks.
--
nosy: +r.david.murray
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18311
Christian Heimes added the comment:
A bunch builtin types and functions don't accept keyword args. kwargs make code
slightly more complexity and a tiny bit slower.
--
assignee: - rhettinger
nosy: +christian.heimes, rhettinger
priority: normal - low
TonyP added the comment:
I have v2.7, v3.2, and v3.3 installed on a Win7 64-bit machine and the exact
same setup on a Win7 32-bit machine.
The 32-bit works OK. The 64-bit machine had this argv problem, too! (I tried
installing either Win32/Win64 version, no difference!)
Adding %* fixed the
Terry J. Reedy added the comment:
I should have changed the Versions sooner, as soon as it became obvious that
this was not just a 3.4 issue. The 'temporary' 3.4-only patch breaks forward
merging of a better patch. I will back it out just before I commit a 3.3 patch
to both eliminate the
Changes by paul j3 ajipa...@gmail.com:
--
nosy: +paul.j3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9625
___
___
Python-bugs-list mailing list
Changes by STINNER Victor victor.stin...@gmail.com:
--
components: +Windows
nosy: +haypo, tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18306
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18305
___
___
Jeremy Kloth added the comment:
Here is some additional analysis of recursive functions in the 'pythoncore'
MSVC project:
Ratio Release Debug Filename:Function Name
StackStack
---
1.000 32 32_sre.asm:_validate_inner
1.159
David Edelsohn added the comment:
The current arguments to checkRecvmsgAddress() are the sockaddrs, so it does
not know the protocol family. One potential patch to infer the family and apply
the correct test is:
diff -r 035d8fed07ad Lib/test/test_socket.py
--- a/Lib/test/test_socket.py Tue
Guido van Rossum added the comment:
Wow. This is heady stuff. I can't say I totally get every detail, so I'll just
pick on some things you wrote.
In particular, I'm not sure I agree that there should be a conflict when there
are two applicable base classes with a different dispatch if one of
Kristján Valur Jónsson added the comment:
Here is an updated patch.
We now support file-like objects.
New helper functions try to turn file arguments into either Py_buffer objects
containing the read data, or PyBytesObject argument with the file system
encoding of the path.
A file-like object
Christian Heimes added the comment:
Thx Kristján!
My patch maps PyUnicode to PEM encoded cert data and objects with Py_Buffer
support to DER encoded cert data. Perhaps you like to you the same concept in
your patch to support TextIO and BytesIO read() methods. Feel free to reuse as
much of
Christian Heimes added the comment:
PS: I like to have DER cert support for #17134. I'd rather not convert DER to
PEM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16487
___
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18173
___
___
Python-bugs-list
Terry J. Reedy added the comment:
Here is a patch that looks much bigger than it really is. Idle was written
before the warnings module, so the warnings system was conditioned on a
successful warnings import. The test is no longer needed, and neither Vinay nor
Victor repeated the test at the
Terry J. Reedy added the comment:
See #18103 for patch that will fix this also.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18242
___
___
py.user added the comment:
tee() docs describe n as a keyword
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18310
___
___
Python-bugs-list
New submission from Eric V. Smith:
See:
http://mail.python.org/pipermail/python-dev/2013-June/127068.html
The find command:
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18312
___
___
Python-bugs-list mailing
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18310
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18244
___
___
Eric Snow added the comment:
Hi Mathias. There is a current proposal
(http://www.python.org/dev/peps/pep-0432/) for improving interpreter startup.
So changes in this area are subject to extra caution. The changes you are
talking about are at least indirectly impacted by the proposal,
New submission from py.user:
http://docs.python.org/3/library/itertools.html#itertools-recipes
def repeatfunc(func, times=None, *args):
repeatfunc(lambda x: x, times=None, 1)
File stdin, line 1
SyntaxError: non-keyword arg after keyword arg
repeatfunc(lambda x: x, 1, times=None)
Traceback
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18093
___
___
Python-bugs-list
Aaron Gallagher added the comment:
As long as the reference Keccak code is going to live in the python stdlib
anyway, I would /greatly/ appreciate it if the Keccak sponge function was
directly exposed instead of just the fixed parameters used for SHA-3.
A Keccak sponge can have a much wider
50 matches
Mail list logo