Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22555
___
___
Nick Coghlan added the comment:
script_helper was moved to the test.support package in issue 9517, so this
issue is just about adding the docs now.
--
dependencies: +Make test.script_helper more comprehensive, and use it in the
test suite -Refactor the test_runpy walk_package support
Nick Coghlan added the comment:
Also noting that my draft docs are over a year old now, so they need to be
reviewed against the current state of the helper module.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18576
Nick Coghlan added the comment:
Just noting that issue 18576 has a draft patch for test.support.script_helper
documentation (the move to the support module part of the current patch there
is obsolete)
--
___
Python tracker rep...@bugs.python.org
Benjamin Schubert added the comment:
Thanks a lot for this explanation ! It is more clear now for why it is not
working.
However, I would suggest that the ArgumentParser should still try to match
anything the subparser could not, or would this be too complicated ?
Moreover, if this scheme is
Benjamin Schubert added the comment:
I solved my problem by subclassing the ArgumentParser and redefining parse_args
as follow :
class MultipleArgumentParser(ArgumentParser):
def parse_args(self, args=None, namespace=None):
args, argv = self.parse_known_args(args, namespace)
Raymond Hettinger added the comment:
I don't like the patch as-is (comment change is wrong, test in the inner-loop
making the common case pay for a short-cut for the uncommon case). As I said
before, the basic idea is good and I will very likely include some variant of
this for Python3.5.
I
Roundup Robot added the comment:
New changeset 9d2c4d887c19 by Yury Selivanov in branch 'default':
Issue #24017: Unset asyncio event loop after test.
https://hg.python.org/cpython/rev/9d2c4d887c19
--
___
Python tracker rep...@bugs.python.org
New submission from magnus.forsberg:
Every time I press the ^ key, IDLE crashes. I've tried this with two different
keyboards with the same result.
I use IDLE 3.4.3 with Mac OS X 10.10.3.
--
components: IDLE
messages: 242990
nosy: magnus.forsberg
priority: normal
severity: normal
Kurt Rose added the comment:
I was incorrect -- the result of getsockname() appears to be some garbage port:
socket.create_connection( ('google.com', 2**16 + 80) ).getsockname()
('10.225.89.86', 56446)
socket.create_connection( ('google.com', 2**16 + 80) ).getsockname()
('10.225.89.86',
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +kbk, ned.deily, roger.serwy, ronaldoussoren, terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24170
___
Tim Graham added the comment:
I didn't find any problems while testing your proposed new patch for cpython
and your proposed patch for Django together.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24134
Serhiy Storchaka added the comment:
Doesn't the feature freeze start from beta 1?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23290
___
___
Marc-Andre Lemburg added the comment:
Looks good. Thanks, Serhiy.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22682
___
___
Python-bugs-list
Raymond Hettinger added the comment:
Optimizations aren't new features. We can still tweak the implementation
through-out the betas.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23290
Sean Wolfe added the comment:
Windows 7 patch test successful:
https://bugs.python.org/issue2704
* install python 2.7.8 fresh on W7
* check idle terminal functionality
-- should not show terminal changes from 2704:
- up arrows move cursor
- typing out of focus has no effect
- clicking above
Raymond Hettinger added the comment:
I looked at the patch again and it is in pretty good shape.
Please hoist the conditionals out of the loop (for intelligibility and to let
the compiler in-line more effectively). Also, let's remove the dump and
clear variable names in favor of comments
Christie added the comment:
Cool, thanks @ncoghlan! Would you like someone to take on the work of updating
the latest patch on issue 18576?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9517
Serhiy Storchaka added the comment:
Here is the patch with hoisted the conditionals out of the loop.
New microbenchmarking results:
$ ./python -m timeit -s s = set(range(10**4)) -- frozenset(s)
Unpatched: 1000 loops, best of 3: 407 usec per loop
With patch #4: 1000 loops, best of 3: 325
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +jitterman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17849
___
___
Python-bugs-list
R. David Murray added the comment:
This is a duplicate of issue 17849.
--
nosy: +r.david.murray
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - Missing size argument in readline() method for httplib's class
LineAndFileWrapper
type: crash - behavior
Kurt Rose added the comment:
Sorry, dumb mistake on my part. I should have been calling getpeername(), not
getsockname()
In that case the result is 80:
socket.create_connection( ('google.com', 2**16 + 80) ).getpeername()
('74.125.239.41', 80)
The random ports were the client-side ephemeral
Ned Deily added the comment:
Thanks for the additional info. I don't know what possible configuration
options might affect this other than that I would expect to see 127.0.0.1 as
the primary IPv4 address on the loopback interface, like:
# ifconfig
[...]
loLink encap:Local Loopback
Roundup Robot added the comment:
New changeset 80cf7723c4cf by Serhiy Storchaka in branch 'default':
Issue #15027: The UTF-32 encoder is now 3x to 7x faster.
https://hg.python.org/cpython/rev/80cf7723c4cf
--
___
Python tracker rep...@bugs.python.org
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17849
___
___
Serhiy Storchaka added the comment:
It would be nice if somebody of the encoding package maintainers (Martin,
Marc-Andre) will approve (or reject) the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22682
New submission from Kurt Rose:
This appears to affect all versions of Python. In a behavior inherited from C,
TCP ports that are 2 bytes are silently truncated.
Here is a simple reproduction:
socket.create_connection( ('google.com', 2**16 + 80) )
socket.socket object, fd=408, family=2,
Ned Deily added the comment:
If you are using a Python 3.4.3 from a python.org installer for OS X or have
built your own, have you installed the latest ActiveTcl 8.5.x as described
here?
https://www.python.org/download/mac/tcltk/
If not, you should have received a warning when you launched
Sean Wolfe added the comment:
successfully tested on Linux in 2014
Hello folks, FYI I also installed this patch on Lubuntu linux in 2014 on a
series of computers at a lab where I mentor. I don't have the documentation for
those specific tests, but I did follow the outline above, and it was
R. David Murray added the comment:
You pegged it when you said the behavior is inherited from C. Technically this
isn't a bug in Python, since the socket module is a set of (mostly) thin
wrappers around the C.
Enhancing CPython to do the check is not a bad suggestion, especially since it
Changes by Ned Deily n...@acm.org:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23882
___
___
Antoine Pitrou added the comment:
Le 12/05/2015 20:55, Raymond Hettinger a écrit :
Optimizations aren't new features. We can still tweak the implementation
through-out the betas.
Not really. The period after the first beta is for fixing bugs, not for
risking introducing new bugs.
New submission from JitterMan:
In python2.7.9, httplib.py, on line 780, makes a call to:
line = response.fp.readline(_MAXLINE + 1)
This ends up calling a function defined on line 1362 in the same file:
def readline(self):
Notice the argument mismatch. The call passes two arguments,
Roundup Robot added the comment:
New changeset 78de5d040492 by Serhiy Storchaka in branch 'default':
Issue #22681: Added support for the koi8_t encoding.
https://hg.python.org/cpython/rev/78de5d040492
--
nosy: +python-dev
___
Python tracker
Serhiy Storchaka added the comment:
And that's not all...
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15027
___
Ned Deily added the comment:
Unless I'm very much mistaken, this is another instance of the old Cocoa Tk
problem documented here (http://sourceforge.net/p/tktoolkit/bugs/2722/) and
referred to in https://www.python.org/download/mac/tcltk/. It's not like a
normal TclError in that it causes
JitterMan added the comment:
I ran into this problem when I gave https_proxy an invalid value:
export https_proxy=http://foo.com
No divine intervention required. I was just trying to determine what message
was printed with the proxy environment variable was set incorrectly.
Perhaps that
Roundup Robot added the comment:
New changeset def3bab79c8f by Serhiy Storchaka in branch 'default':
Added forgotten new files for issues #22681 and #22682.
https://hg.python.org/cpython/rev/def3bab79c8f
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Thank you for your reviews Amaury and Marc-Andre.
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
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/issue22681
Roundup Robot added the comment:
New changeset 34648ce02bd4 by Serhiy Storchaka in branch 'default':
Issue #22486: Added the math.gcd() function. The fractions.gcd() function now
is
https://hg.python.org/cpython/rev/34648ce02bd4
--
nosy: +python-dev
Terry J. Reedy added the comment:
At least on Windows, tk errors usually result in TclError with a message that
is sometimes helpful.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24170
Ned Deily added the comment:
Lots of LookupError: unknown encoding: koi8_t test failures (on OS X 10.10)
after this commit, for example, in test_codecs:
==
ERROR: test_basics (test.test_codecs.BasicUnicodeTest)
Mark Lawrence added the comment:
I've tested the patch on Windows 8.1, 32 and 64 bit release and debug builds
with no problems.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24042
Ned Deily added the comment:
This is undoubtedly a crash in Tk, not in Python itself, so there won't be any
Python traceback.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24170
___
Serhiy Storchaka added the comment:
Could you please look at the patch Raymond? There are only few days are left to
the feature freeze.
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23509
Roundup Robot added the comment:
New changeset def3bab79c8f by Serhiy Storchaka in branch 'default':
Added forgotten new files for issues #22681 and #22682.
https://hg.python.org/cpython/rev/def3bab79c8f
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Thanks Ned. I just forgive to add new encoding files.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22681
___
Roundup Robot added the comment:
New changeset 6e1fe5bfba48 by Serhiy Storchaka in branch 'default':
Issue #22682: Added support for the kz1048 encoding.
https://hg.python.org/cpython/rev/6e1fe5bfba48
--
nosy: +python-dev
___
Python tracker
Terry J. Reedy added the comment:
Does not happen on Windows. Please start Idle with python -m idlelib in a
console and report any error traceback you see. Replace 'python' with
'python3' or 'py -3' as needed to start 3.x. (I am not familiar with osx
incantation.)
--
components:
Ned Deily added the comment:
Also the 10.6 (Snow Leopard) buildbot:
http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/3125/steps/test/logs/stdio
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22681
Larry Hastings added the comment:
For the record, Raymond asked for permission to check this in (a new feature)
for 3.5 beta 2, as he won't have time to finish it before beta 1. As 3.5
release manager I've given him permission. Go Raymond!
--
___
Nick Coghlan added the comment:
Sure, that would be great.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9517
___
___
Python-bugs-list mailing
Changes by Larry Hastings la...@hastings.org:
--
nosy: +larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17394
___
___
Python-bugs-list mailing
Serhiy Storchaka added the comment:
Could you please pay a little attention to this issue Raymond?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23290
___
Roundup Robot added the comment:
New changeset 73c01323cb9b by Serhiy Storchaka in branch 'default':
Issue #23870: The pprint module now supports all standard collections
https://hg.python.org/cpython/rev/73c01323cb9b
--
nosy: +python-dev
___
Python
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22681
___
___
Python-bugs-list mailing list
Serhiy Storchaka added the comment:
Yes, of course, I think we shouldn't drop support of these format units. But
using them likely is a sign of outdated or transitional code. It should be
discouraged in new code, and every case should be analyzed and cleaned.
--
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/issue23870
___
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22995
___
___
Python-bugs-list mailing list
Serhiy Storchaka added the comment:
Could anyone please test the patch on Windows?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24042
___
___
Serhiy Storchaka added the comment:
Both issues are fixed.
--
assignee: - serhiy.storchaka
dependencies: -Check path arguments of os functions for null character
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22682
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 031df83dffb4 by Serhiy Storchaka in branch 'default':
Issue #20173: Converted the _codecs module to Argument Clinic.
https://hg.python.org/cpython/rev/031df83dffb4
--
___
Python tracker
Serhiy Storchaka added the comment:
Updated to the tip and committed. Included Larry's suggestion about
sys.getdefaultencoding().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20173
___
Serhiy Storchaka added the comment:
Updated to the tip. Used new converter in recently converted _tkinter and
_codecs modules. Now it is used 30 times.
--
Added file: http://bugs.python.org/file39349/clinic_boolint_converter_2.patch
___
Python
Clement Rouault added the comment:
After a few months, I am back to you on this issue.
What should be the next step of the process ?
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22939
Ned Deily added the comment:
All better, thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22681
___
___
Python-bugs-list mailing list
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Added file: http://bugs.python.org/file39353/set_faster_copy_6.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23290
___
magnus.forsberg added the comment:
Thanks for your replies! There is a warning about Tcl/Tk:
WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable.
Visit http://www.python.org/download/mac/tcltk/ for current information.
--
___
Python
Ned Deily added the comment:
Thanks! I'm going to assume then that installing a current ActiveTcl 8.5.x
will fix the problem for you.
--
resolution: - third party
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Raymond Hettinger added the comment:
Attaching a variant with several fix-ups (mostly minor):
* Changed the order of the three sections to go from
most-restricted-most-optimized to the general-fall-through case. The downside
is that we test so-fill==0 twice. The upside is that it
Kurt Rose added the comment:
Totally agree this needs to be managed carefully. My goal here was just to
raise awareness and see if there is consensus that the behavior should be
changed.
I came across this because an upstream process had a bug which led to
impossible TCP ports being
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22486
___
paul j3 added the comment:
Look at http://bugs.python.org/issue9338
argparse optionals with nargs='?', '*' or '+' can't be followed by positionals
That has a proposed patch that wraps the main argument consumption loop in
another loop.
The current loop alternatively consumes optionals and
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Removed file: http://bugs.python.org/file39352/set_faster_copy_6.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23290
___
Changes by Petr Viktorin encu...@gmail.com:
--
nosy: +encukou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1322
___
___
Python-bugs-list mailing
Serhiy Storchaka added the comment:
Warnings are not raised by default. They are raised only when the database is
opened with the 'r' mode and then modified.
The earlier we start deprecation period, the earlier we could add true
read-only and update existing modes to dbm.dumb.
--
Alex Shkop added the comment:
Please, review the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23882
___
___
Python-bugs-list mailing
Alex Shkop added the comment:
Please, review the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18383
___
___
Python-bugs-list mailing
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24086
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset e5a53d75dc19 by Zachary Ware in branch 'default':
Issue #23193: Skip numeric_owner tests on platforms where they don't make sense
https://hg.python.org/cpython/rev/e5a53d75dc19
--
___
Python tracker
Roundup Robot added the comment:
New changeset e39fd5a8501a by Nick Coghlan in branch 'default':
Issue 24017: fix for async with refcounting
https://hg.python.org/cpython/rev/e39fd5a8501a
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset cc2e52878393 by Zachary Ware in branch 'default':
Issue #23911: Fix ctypes test on Windows.
https://hg.python.org/cpython/rev/cc2e52878393
--
___
Python tracker rep...@bugs.python.org
Berker Peksag added the comment:
Fixed. Thanks for the patch, John.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23796
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23983
___
Roundup Robot added the comment:
New changeset e656bece13fa by Berker Peksag in branch '3.4':
Issue #23983: Update the pty module example.
https://hg.python.org/cpython/rev/e656bece13fa
New changeset 0be7c8f46378 by Berker Peksag in branch 'default':
Issue #23983: Update the pty module example.
Berker Peksag added the comment:
Éric, could you please take a look at issue19610_v4.diff? I'd like to commit
the patch this weekend. Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19610
Andrew Stormont added the comment:
Bump.
Would be nice to get this included in python 2.7.11.
I also have a similar fix for the multiprocessing module but I won't bother
submitting it if it will get ignored.
--
status: open - languishing
___
Serhiy Storchaka added the comment:
Can I commit the patch now Larry?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15027
___
___
Roundup Robot added the comment:
New changeset 39df27d97901 by Serhiy Storchaka in branch 'default':
Fixed compilation on Windows for issue #20173.
https://hg.python.org/cpython/rev/39df27d97901
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 7d722c9049ff by Berker Peksag in branch '3.4':
Issue #23796: peak and read1 methods of BufferedReader now raise ValueError
https://hg.python.org/cpython/rev/7d722c9049ff
New changeset be7636fd6438 by Berker Peksag in branch 'default':
Issue #23796:
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24053
___
___
Python-bugs-list
Yury Selivanov added the comment:
Is there are a specific reason this implicit exception handler can't be
decomposed and implemented using the same opcodes as are used to implement
explicit exception handlers?
I don't think it's possible to replace ASYNC_WITH_CLEANUP_EXCEPT opcode with
Nick Coghlan added the comment:
I'm going to dig into this one locally, as it sounds to me like something may
be going wrong with the refcounts in the complex stack manipulation involved in
WITH_CLEANUP. It seems plausible that there's a genuinely missing incref/decref
pair somewhere in the
Yury Selivanov added the comment:
I'd suggest you to look at ceval.c before PEP 492 patch then (where there is
just one WITH_CLEANUP opcode).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24017
Nick Coghlan added the comment:
Avoiding WITH_CLEANUP entirely in the async case also sounds like a plausible
approach. Either way, I'm also on IRC now if you want to thrash this out there.
--
___
Python tracker rep...@bugs.python.org
Yury Selivanov added the comment:
Nick, Guido,
Attached is a patch that fixes a refleak in 'async with' implementation.
The problem is related to WITH_CLEANUP_START/WITH_CLEANUP_FINISH opcodes.
For regular 'with' statements, these opcodes go one after another (essentially,
it was one opcode
Martin Panter added the comment:
Another problem with tostring() is that it seems you have to call it with
encoding=unicode. Perhaps it would be better to suggest code like
.join(element.itertext())?
I would also improve on Jérôme’s version by making the None case more explicit.
And perhaps
Nick Coghlan added the comment:
I'm bothered by the remarkable proliferation of new opcodes for the PEP 492
handling. Is there are a specific reason this implicit exception handler can't
be decomposed and implemented using the same opcodes as are used to implement
explicit exception handlers?
1 - 100 of 117 matches
Mail list logo