Zach Byrne added the comment:
I ran the whole benchmark suite. There are a few that are slower:
call_method_slots, float, pickle_dict, and unpack_sequence.
Report on Linux zach-vbox 3.2.0-24-generic-pae #39-Ubuntu SMP Mon May 21
18:54:21 UTC 2012 i686 i686
Total CPU cores: 1
### 2to3 ###
Changes by Martin Matusiak numero...@gmail.com:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22036
___
___
Ronald Oussoren added the comment:
The attached patch (for the default branch) adds information about the unit of
maxrss to the documentation, and removes the sentences about calculating the
total memory size from the getpagesize documentation.
--
assignee: ronaldoussoren -
Andrew Svetlov added the comment:
Fixed in d19c58e13ac9
Thanks
--
nosy: +asvetlov
resolution: - fixed
stage: - resolved
status: open - closed
versions: +Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18355
___
___
Python-bugs-list
STINNER Victor added the comment:
Thanks for the patch Aaron. I wrote the documentation and I'm not a native
english speaker. Please don't hesitate to report other grammar issues like
that. You may group all of them in a single issue.
--
nosy: +haypo
Lita Cho added the comment:
Oops! I was suppose to add 'Control' not 'Ctrl'. I can fix that quickly but I
will wait till the other patch goes through.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21933
Lita Cho added the comment:
Just to clarify, should I submit a new patch with outlined style changes?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21597
___
Lars Gustäbel added the comment:
Apparently, the problem is located in TarInfo._proc_gnulong(). I attached a
patch.
When tarfile reads an archive, it strips trailing slashes from all filenames,
except GNUTYPE_LONGNAME headers, which is a bug. tarfile creates GNU_FORMAT tar
files by default,
Andrew Svetlov added the comment:
Cannot reproduce.
--
nosy: +asvetlov
resolution: - out of date
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17709
Nick Coghlan added the comment:
3rd in progress draft - converted most of the inherently assumes ASCII docs
now. I think this set of changes really makes it clear how non-trivial it
actually is to infer the binary domain behaviour from the str docs, which have
all sorts of Unicode
Nick Coghlan added the comment:
Note I haven't added back the immutability guarantees yet - I'll do that before
declaring this ready for final review.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21777
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +chris.jerdonek, ezio.melotti, zach.ware
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21777
___
New submission from Shannon Kerr:
If you execute the following commands on a system that doesn’t already have
Python 2.7.X installed on it, it will result in bloated libs that statically
link libpythyon2.7.a instead of the locally built libpython2.7.so:
./configure
make
sudo make install
Changes by Shannon Kerr sk...@tycoint.com:
--
type: - compile error
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22045
___
___
Python-bugs-list
Changes by Shannon Kerr sk...@tycoint.com:
--
type: compile error - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22045
___
___
New submission from Jason Heeris:
As per issue 5701, the zipfile.ZipFile.read() method will throw a
NotImplementedError if the compression scheme is not supported. However, there
is no mention of this possibility in the documentation for the read() method. I
would suggest, say, Calling read()
Changes by Alejandro Mj witchar...@gmail.com:
--
nosy: -AlexMJ
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22041
___
___
Python-bugs-list
Changes by Dirkjan Ochtman dirk...@ochtman.nl:
--
nosy: +djc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21591
___
___
Python-bugs-list mailing
Mark Lawrence added the comment:
David is listed against AIX on the experts list
https://docs.python.org/devguide/experts.html. That alone suggests to me that
AIX is an officially supported platform.
--
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
I understand that os.kill(pid, sig) should call TerminateProcess() or
GenerateConsoleCtrlEvent() depending on the value of sig.
The problem is that these two functions are very different. A process can set a
control handler for CTRL_C_EVENT and
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22041
___
___
STINNER Victor added the comment:
+ #define __ATOMIC_RELAXED 0
You should use the _Py_ prefix for these constants, to avoid conflicts in
applications.
(You may also replace tabs with spaces, the PEP 7 says Use 4-space indents and
no tabs at all. but I also prefer to avoid tabs in other
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21580
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21888
___
___
Dan O'Reilly added the comment:
It seems like everyone agrees that this functionality is useful, so I'm
reviving this in hopes of getting a patch pushed through. I've updated Andreas'
patch so that it applies cleanly against the latest tree, and tweaked the
handling of exceptions in
Roundup Robot added the comment:
New changeset 825137d0d4ca by Serhiy Storchaka in branch '3.4':
Correct issue #21044 patch author.
http://hg.python.org/cpython/rev/825137d0d4ca
New changeset 4fe27263f9d4 by Serhiy Storchaka in branch 'default':
Correct issue #21044 patch author.
Roundup Robot added the comment:
New changeset 09746dc1a3b4 by Serhiy Storchaka in branch '3.4':
Issue #21888: plistlib's load() and loads() now work if the fmt parameter is
http://hg.python.org/cpython/rev/09746dc1a3b4
New changeset 275d02865d11 by Serhiy Storchaka in branch 'default':
Issue
New submission from Sam Kerr:
The following code:
import argparse
parser = argparse.ArgumentParser()
group1 = parser.add_mutually_exclusive_group()
group2 = group1.add_mutually_exclusive_group()
group2.add_argument('-hello',action='store_true', help=A flag)
args =
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21888
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - out of date
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18168
___
Changes by Lita Cho lita@gmail.com:
--
nosy: -Lita.Cho
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1598
___
___
Python-bugs-list mailing
Roundup Robot added the comment:
New changeset 4f9f7e0fe1fd by Zachary Ware in branch '3.4':
Issue #22002: Make full use of test discovery in test sub-packages.
http://hg.python.org/cpython/rev/4f9f7e0fe1fd
New changeset 6298895a52de by Zachary Ware in branch 'default':
Closes #22002: Merge
New submission from Dmitry Korchemny:
Need to have a function for weighted randomization:
given a dictionary: key - weight (= non-negative number), return a key of the
dictionary with the probability proportional to its weight. This capability is
basic and is badly missing.
--
Zachary Ware added the comment:
Committed with a couple of changes from the posted patch: commented on the
multiple dirname() calls as Serhiy suggested, removed the 'with
DirsOnSysPath():' line since it turns out to be unnecessary when supplying
top_level_dir to loader.discover(), and added
New submission from Chris Bruner:
From the documentation, I think that argparse should pass the entire
nargs-long string to the type= callable. Instead, it only passes the first
argument (of nargs), making it impossible within argparse's framework to check
for a tuple of mixed types, e.g., 2
Mark Dickinson added the comment:
Duplicate of #18844.
--
nosy: +mark.dickinson
resolution: - duplicate
status: open - closed
superseder: - allow weights in random.choice
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22048
Mark Dickinson added the comment:
Closed issue 22048 as a duplicate of this one.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18844
___
___
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +dkorchem
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18844
___
___
Python-bugs-list
Zachary Ware added the comment:
This has been covered by #22002.
--
nosy: +zach.ware
resolution: - duplicate
stage: needs patch - resolved
status: open - closed
superseder: - Make full use of test discovery in test subpackages
___
Python tracker
Roundup Robot added the comment:
New changeset b22aaa59d24f by Serhiy Storchaka in branch 'default':
Issue #15275: Clean up and speed up the ntpath module.
http://hg.python.org/cpython/rev/b22aaa59d24f
--
nosy: +python-dev
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15275
New submission from Chris Bruner:
When reading options from a file, argparse should read all nargs values from
each line. Instead, it complains of there not being enough options.
python file:
#!/usr/bin/env python
import argparse
p = argparse.ArgumentParser(description='Reproduce argparse
Mark Lawrence added the comment:
@David what is your opinion on this issue?
--
nosy: +David.Edelsohn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5718
___
R. David Murray added the comment:
Your input.opts file is in the wrong format. it should read
--triple
1
2
3
-t
2
3
32
--
nosy: +r.david.murray
resolution: - not a bug
stage: - resolved
status: open - closed
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - works for me
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11077
___
R. David Murray added the comment:
Nope. The documentation says:
N (an integer). N arguments from the command line will be gathered together
into a list
The type function is applied to each argument independently. It would be easy
enough to make this explicit in one of the nargs
Roundup Robot added the comment:
New changeset f7643c893587 by Charles-François Natali in branch 'default':
Issue #21566: Make use of socket.listen() default backlog.
http://hg.python.org/cpython/rev/f7643c893587
--
nosy: +python-dev
___
Python
Chris Bruner added the comment:
Tried the format you gave. Still doesn't work. Same error message:
bernoulli:myclu cwbrune$ argparse_nargs_file_bug.py
usage: argparse_nargs_file_bug.py [-h] [-t N N N]
argparse_nargs_file_bug.py: error: argument -t/--triple: expected 3 argument(s)
Chris Bruner added the comment:
Oops, my mistake: had multiple '-t' in file, but not an action=append. Your
version works just fine.
Sorry for the confusion, and thank you for the correction!
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 60301b9982b2 by Terry Jan Reedy in branch '2.7':
Issue #21597: Turtledemo text pane can now be widened to view or copy complete
http://hg.python.org/cpython/rev/60301b9982b2
New changeset 0fb515063324 by Terry Jan Reedy in branch '3.4':
Issue
Roundup Robot added the comment:
New changeset 60301b9982b2 by Terry Jan Reedy in branch '2.7':
Issue #21597: Turtledemo text pane can now be widened to view or copy complete
http://hg.python.org/cpython/rev/60301b9982b2
New changeset 0fb515063324 by Terry Jan Reedy in branch '3.4':
Issue
Terry J. Reedy added the comment:
Fixed by
New changeset 60301b9982b2 by Terry Jan Reedy in branch '2.7':
Issue #21597: Turtledemo text pane can now be widened to view or copy complete
http://hg.python.org/cpython/rev/60301b9982b2
New changeset 0fb515063324 by Terry Jan Reedy in branch '3.4':
Terry J. Reedy added the comment:
No, I believe this is done ;-). Onward to font sizing.
Thank you for the hard work on this. It is a great improvement.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker
Charles-François Natali added the comment:
Committed, thanks for the reviews (I only updated one call to socket.listen(),
inside multiprocessing, the rest is in the test suite).
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
Terry J. Reedy added the comment:
In private email, Gregor indicated that he would like to be involved in turtle
maintenance, and will be available about Aug. 1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21573
Roundup Robot added the comment:
New changeset 6ae34a948cb4 by Serhiy Storchaka in branch 'default':
Issue #6167: Scrollbar.activate() now returns the name of active element if
http://hg.python.org/cpython/rev/6ae34a948cb4
New changeset f5df571bfe1d by Serhiy Storchaka in branch '2.7':
Issue
Serhiy Storchaka added the comment:
Committed without change activate() parameter name. I still think this
parameter name is wrong.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker
Roundup Robot added the comment:
New changeset 549a7615abe3 by Serhiy Storchaka in branch 'default':
Issue #4350: Removed a number of out-of-dated and non-working for a long time
http://hg.python.org/cpython/rev/549a7615abe3
--
nosy: +python-dev
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4350
___
Roundup Robot added the comment:
New changeset 49a2bed5185a by Zachary Ware in branch '2.7':
Issue #19493: Fix two uses of ctypes.test.requires (it's not a decorator)
http://hg.python.org/cpython/rev/49a2bed5185a
New changeset 374a9a259c09 by Zachary Ware in branch '3.4':
Issue #19493: Fix two
Charles-François Natali added the comment:
There is a question. What should pathlib's expanduser() do in case
when user directory can't be determined (or user does not exist)?
Perhaps unlike to os.path.expanduser() it should raise an exception
(as in many other pathlib's methods).
Let's see
New submission from Terry J. Reedy:
I propose to remove the following two lines with 'reload' from
turtledemo.__main__.py.
from importlib import reload
...
... def loadfile(self, filename):
...
reload(self.module)
Reloading modules each time a demo is run allows and even encourages
Terry J. Reedy added the comment:
I opened #22051 about removing reload to force better code. Since the tests are
passing and I think the demo modules should be minimally tested by importing,
and no one has said otherwise since the fix, I am closing this.
--
resolution: - fixed
Lita Cho added the comment:
Sweet! Thank you so much, Terry!
On Wednesday, July 23, 2014, Terry J. Reedy rep...@bugs.python.org wrote:
Terry J. Reedy added the comment:
No, I believe this is done ;-). Onward to font sizing.
Thank you for the hard work on this. It is a great improvement.
Terry J. Reedy added the comment:
Added #21933, change text font size, as dependency.
Added new #22051 remove reload, as dependency.
#18132: stop demo buttons from disappearing, was fixed by #21507 patch.
--
dependencies: +Allow the user to change font sizes with the text pane of
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - duplicate
stage: needs patch - resolved
status: open - closed
superseder: - IDLE - quickly closing a large file triggers a traceback
___
Python tracker rep...@bugs.python.org
Charles-François Natali added the comment:
Barring any objection, I'll commit the patch attached within a couple days.
--
title: implement socketpair() on Windows - add a fallback socketpair()
implementation in test.support
Added file: http://bugs.python.org/file36050/socketpair-3.diff
STINNER Victor added the comment:
Barring any objection, I'll commit the patch attached within a couple days.
I have objections!
You should copy the code from asyncio.windows_utils.socketpair(). It checks
also type and proto parameter: raise a ValueError for unsupported values (only
Roundup Robot added the comment:
New changeset 9dc66b3a1d0d by Victor Stinner in branch 'default':
Issue #22042: Avoid dangerous C cast in socket.setblocking()
http://hg.python.org/cpython/rev/9dc66b3a1d0d
--
nosy: +python-dev
___
Python tracker
New submission from Mark Dickinson:
As reported in a StackOverflow question [1]: the order in which the special
comparison methods are called seems to be contradictory to the docs [2]. In
the following snippet, __eq__ is called with reversed operands first:
class A:
... def __eq__(self,
Eric V. Smith added the comment:
Looks fine to me. Normally I'd define the class being returned before the
function returning it, but it doesn't really make a difference.
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
New submission from Terry J. Reedy:
The patch adds a main function with the minimum needed to start the mainloop.
It omits the 'while RUN' loop and development code for catching exceptions
while running. They should never happen, and silently suppressing tracebacks is
a bad idea.
The patch
Roundup Robot added the comment:
New changeset 823f5507bd86 by Terry Jan Reedy in branch '2.7':
Issue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning.
http://hg.python.org/cpython/rev/823f5507bd86
New changeset 57531d65cdd4 by Terry Jan Reedy in branch '3.4':
Issue
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22053
___
New submission from STINNER Victor:
Antoine suggested me to add these functions in the issue #22042.
Here is a patch to implement these functions and use them in various places.
--
files: os_blocking.patch
keywords: patch
messages: 223782
nosy: haypo, neologix, pitrou
priority: normal
Changes by STINNER Victor victor.stin...@gmail.com:
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18643
___
Terry J. Reedy added the comment:
#22053 added main(), eliminated 'while RUN', and fixed this a 3.x debug
shutdown message.
The main remaining problem I am aware of now is that some demos 'print'
messages to the console (or shell), which would be a problem if there were not
one (as with
STINNER Victor added the comment:
Oops, test_asyncio was failing. Fixed patched.
--
Added file: http://bugs.python.org/file36053/os_blocking-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22054
STINNER Victor added the comment:
As suggested by Antoine, I created the issue #22054 to add os.get_blocking()
and os.set_blocking() functions.
Here is the simplified patch for signal.set_wakeup_fd(fd). It now depends on
the patch of the issue #22054.
--
Added file:
Terry J. Reedy added the comment:
Lita, when replying by email, please, please delete the message you are
replying to (except possibly for a directly quoted line or two).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21597
Lita Cho added the comment:
Sorry about that!! Thanks for letting me know.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21597
___
___
Charles-François Natali added the comment:
You should copy the code from asyncio.windows_utils.socketpair(). It checks
also type and proto parameter: raise a ValueError for unsupported values
(only SOCK_STREAM and proto=0 are supported). It also supports IPv6. It
handles BlockingIOError
R. David Murray added the comment:
the subclass provides doesn't actually imply anything about overriding, I
think. For __eq__, though, that means that *every* class provides it.
Indeed, I've always thought of the rule as the subclass goes first with no
qualification, but that's only true
Mark Lawrence added the comment:
Just flagging this up as testing is rather important.
--
components: +Tests
nosy: +BreamoreBoy
versions: +Python 2.7, Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18174
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2091
___
STINNER Victor added the comment:
Windows only supports non-blocking mode for sockets. IMO we should only support
sockets on Windows. I opened the issue #22042 which proposes to change
signal.set_wakeup_fd(fd) to automatically make the file descriptor
non-blocking. I cannot implement it on
STINNER Victor added the comment:
Windows only supports non-blocking mode for sockets. IMO we should only support
sockets on Windows. I opened the issue #22042 which proposes to change
signal.set_wakeup_fd(fd) to automatically make the file descriptor
non-blocking. I cannot implement it on
Demian Brecht added the comment:
Left a couple comments on Rietveld
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21850
___
Mark Lawrence added the comment:
Both of these tests are still commented out in the default branch.
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17548
Milan Oberkirch added the comment:
This bug is fixed (at least in 3.5) so you might want to close it.
(See the _rset function in smtplib.py:482 and how its used in sendmail.)
--
nosy: +jesstess, zvyn
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
Is Solaris 9 supported as I can't find any buildbots for it?
--
nosy: +BreamoreBoy, jcea
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18605
STINNER Victor added the comment:
2014-07-24 0:21 GMT+02:00 Charles-François Natali rep...@bugs.python.org:
You should copy the code from asyncio.windows_utils.socketpair(). It checks
also type and proto parameter: raise a ValueError for unsupported values
(only SOCK_STREAM and proto=0 are
Changes by STINNER Victor victor.stin...@gmail.com:
--
Removed message: http://bugs.python.org/msg223793
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22018
___
Antoine Pitrou added the comment:
I don't like the option (B). Sockets are usually stored as objects
(socket.socket) because of Windows, not as socket handle (int)
I don't understand this. If you're ok with calling fileno() under Linux, why
not under Windows?
--
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15267
___
___
STINNER Victor added the comment:
I have implemented and would continue to lean towards continuing to hide
BrokenPipeError on the additional API endpoints.
FYI asyncio.Process.communicate() ignores BrokenPipeError and
ConnectionResetError, whereas asyncio.Process.stdin.drain() (coroutine to
Milan Oberkirch added the comment:
This bug was resolved for SMTPServerDisconnected exceptions but not for
SSLError. Is it still reproducible? If so, the attached patch should fix it for
3.x (couldn't test if it does because I don't know how to reproduce the error).
--
nosy:
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3566
___
___
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14044
___
___
1 - 100 of 111 matches
Mail list logo