Changes by Ned Deily n...@acm.org:
--
nosy: +amaury.forgeotdarc, belopolsky, meador.inge
stage: - patch review
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23663
Ezio Melotti added the comment:
+1 for 4 spaces.
Smart backspace would be nice too, but I agree it's a separate issue (unless
it's trivial to implement). Deeply-nested code in the interactive interpreter
is uncommon, and the lack of smart backspace never bothered me.
--
nosy:
Roundup Robot added the comment:
New changeset 8ddda7d1f8e3 by Eli Bendersky in branch '3.4':
Issue #23549: Clarify confusion in heapq doc - accessing the mininmal element
https://hg.python.org/cpython/rev/8ddda7d1f8e3
New changeset 642247a536d5 by Eli Bendersky in branch 'default':
Issue
Serhiy Storchaka added the comment:
Here is a patch for 2.7 that fixes above a hundred of broken class references.
But may be even more broken function references. I think it would be better to
fix Sphinx rules.
--
keywords: +patch
priority: normal - high
Added file:
New submission from David Macek:
Two Cygwin-specific sections in `Modules/_ctypes/_ctypes.c` cause a crash due
to bad call to `PyErr_Format`. I'm not sure if there's one extra format
specifier, or one argument is missing. Patches assuming the former case for
v2.7 and v3.3:
Changes by Ned Deily n...@acm.org:
--
nosy: +berker.peksag, michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23661
___
___
New submission from Raymond Hettinger:
We have an option to clear trailing whitespace (Format / Strip trailing
whitespace) but it isn't always clear when to use it (because the trailing
whitespace is invisible).
One thing the can be done is to colorize trailing white space to make it more
Martin Panter added the comment:
Oops, meant to link to Issue 14534 about the test case mixing hack.
BTW this new patch also tests NNTP_SSL, by bypassing the encryption step and
repeating the non-SSL tests.
--
___
Python tracker
Roundup Robot added the comment:
New changeset b61578bb5014 by Eli Bendersky in branch '2.7':
Issue #23549: Clarify confusion in heapq doc - accessing the mininmal element
https://hg.python.org/cpython/rev/b61578bb5014
--
___
Python tracker
Changes by Eli Bendersky eli...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23549
___
Berker Peksag added the comment:
Thanks Serhiy.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2052
___
Roundup Robot added the comment:
New changeset e058423d3ca4 by Berker Peksag in branch 'default':
Issue #2052: Add charset parameter to HtmlDiff.make_file().
https://hg.python.org/cpython/rev/e058423d3ca4
--
nosy: +python-dev
___
Python tracker
New submission from Raymond Hettinger:
A number of IDEs support menu options to set the execution environment for
programs under development and testing. In particular, it would be nice if
IDLE let the user set command line arguments to be passed into sys.argv when
running a script by
Ethan Furman added the comment:
Added in
https://hg.python.org/peps/rev/7fe79194a4f2
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23467
___
Antoine Pitrou added the comment:
4 spaces is the recommended indent width in PEP 8. That's what most Python
users will expect.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23441
___
Martin Sekera added the comment:
Is it necessary to force a predefined tab width (4) onto the user here? I
prefer 2-character tabs for example, and have all my terminals set up
accordingly (setterm --regtabs 2). I presume many people prefer 8-column tabs,
hence the default width in most
Berker Peksag added the comment:
Thanks to both of you for the report and the patch.
--
resolution: - fixed
stage: - resolved
status: open - closed
versions: +Python 3.4, Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
LGTM
--
assignee: - berker.peksag
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2052
___
Changes by Steve Dower steve.do...@microsoft.com:
--
keywords: +patch
Added file: http://bugs.python.org/file38488/23668_1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23668
___
Steve Dower added the comment:
It's possible, though personally I wouldn't like it (but I don't use IDLE, so I
guess that makes the difference). I'd prefer to be able to list them all under
the Open With menu, since that also allows users to easily make any of them the
default if that's what
R. David Murray added the comment:
This happens because the role is pretty much ignored by Sphinx for linking
purposes. I remember Georg talking about the reason for this, but I forget
what it was. Perhaps it would be possible to, as you suggest, have the roll
affect the priority...but it
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23662
___
___
Python-bugs-list
New submission from Steve Dower:
With _chsize_s (which supports 64-bit sizes, unlike _chsize), this seems fairly
trivial to do, but I'll put a patch up for it in case there's something I've
missed.
--
assignee: steve.dower
components: Windows
messages: 238113
nosy: steve.dower,
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19541
___
___
New submission from Raymond Hettinger:
IDLE's interactive shell supports File / Save to save an interactive session.
However, if a user restarts a session or accidentally exits without saving, all
is lost.
In Python courses I've taught, there has been a recurring request for an
auto-logging
Roundup Robot added the comment:
New changeset 35a780a9a3b4 by Berker Peksag in branch '3.4':
Issue #23568: Add rdivmod support to MagicMock() objects.
https://hg.python.org/cpython/rev/35a780a9a3b4
New changeset 90f08e7fbdc3 by Berker Peksag in branch 'default':
Issue #23568: Add rdivmod
Martin Panter added the comment:
Posting issue22351_nntp_fail_4.patch; changes:
* Merge mixin and main TestCase class; mixins like this are sometimes useful to
work around Issue 22351, but not necessary in this case, because there is only
one TestCase class involved.
* Turn the local server
New submission from Berker Peksag:
This is a split off from issue 2052. issue2052_html5_v2.diff (from issue 2052)
needs to be updated.
--
assignee: berker.peksag
components: Library (Lib)
messages: 238106
nosy: berker.peksag
priority: normal
severity: normal
stage: needs patch
status:
Steve Dower added the comment:
New patch.
* Includes the _Py_fstat fix so that callers can use GetLastError for accurate
info or errno for approximate info
* Reverts the _Py_VERIFY_FD proposal and just makes _PyVerify_fd a no-op except
on VS 2010, 2012 and 2013. (After VS 2015 RC is released,
New submission from Steve Dower:
The test at Lib/test/test_socket.py:3883 is failing intermittently (but more
often than not) due to a race condition between the two threads involved in the
test.
==
FAIL: testRecv
Larry Hastings added the comment:
Oops, I should have run make clinic, so you could see all the changes that
result from this patch.
--
Added file:
http://bugs.python.org/file38492/larry.ac_multiple_macro_definitions.diff.2.txt
___
Python tracker
Steve Dower added the comment:
This is already fixed for 3.5 and later, since the launcher now has a
consistent component ID regardless of which version/architecture of Python is
installed.
It's too late to go back and make equivalent changes to the installer for 3.4 -
running a Repair on a
Martin Panter added the comment:
Well my last patch just added the _compression.py file without doing anything
special, and it seems to be installed properly with “make install” so I will
assume nothing else needs to be done.
--
___
Python tracker
Larry Hastings added the comment:
(see larry.ac_multiple_macro_definitions.diff.1.txt posted above)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23500
___
Larry Hastings added the comment:
How about this approach? Only ever emit the #ifndef stanza once per symbol.
--
Added file:
http://bugs.python.org/file38491/larry.ac_multiple_macro_definitions.diff.1.txt
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
It looks like you are running your app on Windows. Are you using the
proactor event loop? I guess yes since you have more than 1000 clients and
select() is limited to 500 sockets.
In Python 3.4.3, I fixed a *lot* of crashes and race conditions in the
proactor
Wei Wu added the comment:
I attached a patch that implements the solution described above.
--
Added file: http://bugs.python.org/file38480/issue23566_fd_tests.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23566
Serhiy Storchaka added the comment:
No, there are no subprocess specific tests for pickle. Pickle tests are in
Lib/test/pickletester.py and Lib/test/test_pickle.py.
First try dump pickled data to a file and then load it in other process. Is it
still failed?
--
Serhiy Storchaka added the comment:
May be first commit this non-perfect solution? Generated code is correct, it is
just not optimal. This issue is a dependency of issue23501, that is a
dependency of issue23492, that is a dependency of my patch for optimizing
argument parsing in 1-argument
Serhiy Storchaka added the comment:
Unfortunately original logs are not available.
test_unicode_repr_oflw incorrectly declares required memory usage. It declares
only 6.4 GiB, but actually needs 10.4 GiB only on narrow build (and at least
13.4 on wide build).
Proposed patch fixes memuse
Michael Goldish added the comment:
That's nearly 4 GB. I somehow doubt your app is actually trying to allocate
that much memory
There's no reason for the app to allocate that much memory in a single call.
It's using almost 4 GB of memory in total today, but that makes sense given its
load
Brett Cannon added the comment:
Depends on whether you want to support pathlib.Path objects explicitly. =) If
so then yes, we should add tests.
Which reminds me, it might be time for you to request commit privileges so you
can commit patches like this yourself.
--
Claudiu Popa added the comment:
Well, we should have test files for each format imghdr supports. Doesn't PIL
have test files for them?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21574
Vladimir Ulupov added the comment:
Incorrect docstring(PyDoc_STRVAR) for function csv.register_dialect
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23659
___
Claudiu Popa added the comment:
Thank you for the review. The new patch uses the name UnLoadKey for the API.
--
Added file: http://bugs.python.org/file38481/issue21518_6.patch
___
Python tracker rep...@bugs.python.org
Paul Moore added the comment:
Cool, I'll look at sorting it out.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23657
___
___
Python-bugs-list
Liam Marsh added the comment:
in fact, the idlelib.__main__ file exists in the 3.4 version...
the question is: is it possible to make it exist on older versions?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23546
Michael Goldish added the comment:
It looks like you are running your app on Windows. Are you using the proactor
event loop?
Yes.
In Python 3.4.3, I fixed a *lot* of crashes and race conditions in the
proactor event loop. There are maybe more race conditions.
I've already tried Python
Changes by Berker Peksag berker.pek...@gmail.com:
Added file: http://bugs.python.org/file38483/issue2052_v3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2052
___
William Schwartz added the comment:
3.4.3 has been released, it seems, without this getting fixed.
3.4.4 then?
--
William Schwartz
On Mon, Sep 8, 2014 at 3:42 AM, Michael Foord rep...@bugs.python.org
wrote:
Michael Foord added the comment:
The patch looks good to me.
--
New submission from Malcolm Smith:
This is a fundamental attribute of a cookie, which will be set even if the
server doesn't specify it, yet it doesn't appear in the documentation either of
2.x cookielib or 3.x http.cookiejar.
--
assignee: docs@python
components: Documentation
R. David Murray added the comment:
Ah, you are trying to point out that the docstring doesn't mention fmtparams,
or that the dialect object is optional. Sure, that should be fixed.
--
___
Python tracker rep...@bugs.python.org
Vladimir Ulupov added the comment:
Yes, sorry for my bad English.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23659
___
___
Python-bugs-list
Saimadhav Heblikar added the comment:
The proof of concept is almost ready.
I have a couple of questions to anyone familiar with pip api (and on windows
for question 2)
1. Is a restart of the interpreter absolutely required for
pip.operations.freeze.freeze() to reflect
Mark Lawrence added the comment:
I think that on Windows you might have to assume that the user has the rights
to install to site-packages, regardless of where the Python version is
installed. Please see https://docs.python.org/dev/using/windows.html for the
installation screen for 3.5. If
Changes by Berker Peksag berker.pek...@gmail.com:
Added file: http://bugs.python.org/file38484/issue2052_v4.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2052
___
Terry J. Reedy added the comment:
Liam, your question was answered in the technical sense in my two previous
messages. However, being able to type 'python -m idlelib' instead of 'python
-m idlelib.idle' is a separate issue from 'Edit with Idle' on the right context
menu.
Steve, is it
Serhiy Storchaka added the comment:
Georg, this looks as a bug in Sphinx configuration. Why module takes priority
on class when the role is explicitly specified? I have counted about two
hundreds of similar bugs in the documentation.
--
nosy: +georg.brandl, serhiy.storchaka
type: -
Stefan Krah added the comment:
It turns out that msg237933 was too simplistic: There are some
intricacies of numpy array indexing that *are* very complex:
http://docs.scipy.org/doc/numpy/reference/arrays.indexing.html
In particular, x[::2, 1, ::2] is not necessarily equal to
x[::2][1][::2].
Roundup Robot added the comment:
New changeset fabbe6093567 by Steve Dower in branch 'default':
Issue #23606: Temporarily suppress test for CRT name.
https://hg.python.org/cpython/rev/fabbe6093567
--
___
Python tracker rep...@bugs.python.org
60 matches
Mail list logo