William Orr added the comment:
I've updated the error message to just include the expected number of
arguments. I think this makes it way more readable.
--
keywords: +patch
nosy: +worr
Added file: http://bugs.python.org/file39010/maxvalueerror.patch
Michael McFadden added the comment:
re: test.test_tools.py - should this also move into test.support ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9517
___
James Edwards added the comment:
Attaching revised patch per reviews.
Notable changes:
* Reverted howto/curses.rst multiple inline statements - multi-target
assignment (curses.rst is now unchanged)
* Reverted library/subprocess.rst == to # == changes since there are
other
Berker Peksag added the comment:
I've added a couple of comments about the test:
http://bugs.python.org/review/9859/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9859
___
New submission from Andrew Pinkham:
There is a minor typo under PyMem_SetupDebugHooks in the C-API section in 3.4
and 3.5 . Additional is misspelled as Additionnal on the page.
https://docs.python.org/3.5/c-api/memory.html
https://docs.python.org/3.4/c-api/memory.html
The problem does not
New submission from Jacinda Shelly:
Minor misspelling in Lib/imp.py. Doing this as a training exercise for my first
patch.
--
assignee: docs@python
components: Documentation
files: misspelling.patch
keywords: patch
messages: 241005
nosy: docs@python, jacinda
priority: normal
severity:
Changes by Matt Soucy mso...@csh.rit.edu:
--
nosy: +msoucy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12807
___
___
Python-bugs-list mailing
New submission from Steve R. Hastings:
The normal build should not have any warnings. The source for libffi included
some comparisons between signed int and unsigned int, which caused warnings.
The patch changes the signed int variables to unsigned int.
--
components: Build
files:
Roundup Robot added the comment:
New changeset ef58fc2e7b06 by R David Murray in branch '3.4':
#23957: fix typo.
https://hg.python.org/cpython/rev/ef58fc2e7b06
New changeset 4286afa7b63e by R David Murray in branch 'default':
Merge: #23957: fix typo.
R. David Murray added the comment:
Thanks, Andrew.
--
nosy: +r.david.murray
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23957
Raúl Cumplido added the comment:
Added docs and test in the patch.
--
keywords: +patch
Added file: http://bugs.python.org/file39009/issue21327.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21327
Raúl Cumplido added the comment:
Added patch that solves issue, but I am not sure this is what you expect. If
you think this is the expected behavior I will add docs and tests:
sock = socket.socket(type=socket.SOCK_STREAM | socket.SOCK_NONBLOCK)
sock.type
2049
socket.get_socket_type(sock)
Arnon Yaari added the comment:
Adding alternative patch for suggestion.
--
nosy: +wiggin15
versions: +Python 3.5 -Python 3.2
Added file: http://bugs.python.org/file39011/issue23949.diff
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
Okay, this patch is about half the size. I had a bug that was throwing away
some important syntax. With this patch applied, Python builds and the test
suite is as reasonable as usual.
I swear, C compilers are so fussy sometimes!
--
Added file:
Roundup Robot added the comment:
New changeset b42d1f2aa7a2 by Gregory P. Smith in branch 'default':
issue9859: Adds a test.support.detect_api_mismatch function useful to
https://hg.python.org/cpython/rev/b42d1f2aa7a2
New changeset 0b6c894c3c96 by Gregory P. Smith in branch 'default':
Changes by Zachary Ware zachary.w...@gmail.com:
Added file: http://bugs.python.org/file39016/9ec35c653970.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20172
___
Gregory P. Smith added the comment:
Thanks! Patch applied. I reworded one doc string slightly and fixed up a few
lines that were longer than 80 characters. Berker's most recent comments are
good ones and can be addressed in another patch.
Laura, can you jump through the
Gregory P. Smith added the comment:
A test has been added as part of issue9859, it is marked with @unittest.skip as
the API surface does not yet match.
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
Zachary Ware added the comment:
Latest patch ought to be good, if anybody feels like rubber-stamping a 5000
line patch :)
--
nosy: +steve.dower
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20172
R. David Murray added the comment:
test_tools is a test suite that tests the tools in the scripts directory, it is
not tools for testing. So no, it doesn't belong in test.support.
--
___
Python tracker rep...@bugs.python.org
Steve Dower added the comment:
So just discussed with Zach the idea of hiding all assertion outputs by default
and then using -n to display the output on stderr. That would help people get
started running tests locally as well, since the dialogs that appear by default
look like pretty bad
Zachary Ware added the comment:
After an English lesson, looks fine to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23944
___
___
Changes by Dorian Pula dorian.p...@amber-penguin-software.ca:
--
keywords: +patch
versions: +Python 3.5
Added file:
http://bugs.python.org/file39019/reload_importlib_doc_py_3_5_fix.patch
___
Python tracker rep...@bugs.python.org
Maciej Szulik added the comment:
Milan, thanks for your patch, I've added comments to it (look for review link
next to submitted file), can you address them please?
Other option is, if you don't mind, I'll take over this issue and finish on top
of your work.
--
nosy: +maciej.szulik
R. David Murray added the comment:
Thanks, Jamiel. I tweaked the comment. I don't think it is worth making this
a helper, since the only time it is likely to be needed is in test_cmd_line.
If there are other tests in test_cmd_line that test PYTHON environment
variables then it might be
Antoine Pitrou added the comment:
Thanks for the analysis. Closing then!
--
nosy: +pitrou
resolution: - rejected
stage: test needed - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18166
Antoine Pitrou added the comment:
I've committed the latest patch. Thank you, Thomas!
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21217
Roundup Robot added the comment:
New changeset ac86e5b2d45b by Antoine Pitrou in branch 'default':
Issue #21217: inspect.getsourcelines() now tries to compute the start and
https://hg.python.org/cpython/rev/ac86e5b2d45b
--
nosy: +python-dev
___
Changes by Peter McCormick pe...@pdmccormick.com:
--
nosy: +pdmccormick
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23935
___
___
Changes by Raúl Cumplido raulcumpl...@gmail.com:
--
nosy: +raulcd
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23794
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset d0819a8fda1b by R David Murray in branch '3.4':
#23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.
https://hg.python.org/cpython/rev/d0819a8fda1b
New changeset 3a3dc86a5b6e by R David Murray in branch 'default':
Merge: #23925: stop
Changes by Larry Hastings la...@hastings.org:
--
assignee: - larry
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23944
Zachary Ware added the comment:
Tools/demo is included in the 3.5 installer, I think it's probably a bit late
in 3.4's cycle to stick it in now.
If anybody feels strongly enough to make a patch for it, please reopen the
issue.
--
resolution: - out of date
stage: needs patch -
Changes by Raúl Cumplido raulcumpl...@gmail.com:
--
nosy: +raulcd
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1102973
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset c99ca3d7052d by Larry Hastings in branch 'default':
Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.
https://hg.python.org/cpython/rev/c99ca3d7052d
--
nosy: +python-dev
___
Maciej Szulik added the comment:
One more thing I didn't mention before is, please update it to match current
default, as it's failing patching, right now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22137
Antoine Pitrou added the comment:
What is your filesystem?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23953
___
___
Antoine Pitrou added the comment:
By the way, I'm pretty sure test_mmap doesn't require 4GB of disk space here -
Ubuntu 14.10 -, since it runs in only 0.071s; also it runs fine from a
partition with only 3GB free space.
--
___
Python tracker
Roundup Robot added the comment:
New changeset 0316811f33b2 by Gregory P. Smith in branch 'default':
issue9859: add the missing versionadded tag to the documentation.
https://hg.python.org/cpython/rev/0316811f33b2
--
___
Python tracker
Steve Dower added the comment:
Some hints about finding browsers on Windows.
When browsers are installed, they should register themselves in
HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet so that users can change
their default browser through the OS.
On 64-bit systems, this is always
R. David Murray added the comment:
Thanks for the patch update.
The doc addition needs a .. versionadded directive, and there should be an
entry in the 3.5 whatsnew document.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
Usman Ehtesham Gul added the comment:
Made changes based on David Murray's review comments including adding unit test
on getfile.
--
Added file: http://bugs.python.org/file39022/issue_19956_1.patch
___
Python tracker rep...@bugs.python.org
Chris Abiad added the comment:
The original problem was described as:
the character is printed at the start of the current line rather than the
start of the next line.
I haven't gotten too far investigating the cause, but adding a single line to
the sample code makes this test code a bit
Jeff McNeil added the comment:
I'm not a big fan of the settimeout approach myself (and only did it because it
was mentioned as a possible approach). I think the existing implementations of
EINTR retry also suffer from the same issue in which the timeout isn't adjusted
per iteration (but
Roundup Robot added the comment:
New changeset 717d87c13f0d by Andrew Kuchling in branch '3.4':
#23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)
https://hg.python.org/cpython/rev/717d87c13f0d
--
___
Python tracker
Roundup Robot added the comment:
New changeset 86fbe140e395 by Andrew Kuchling in branch '2.7':
#23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)
https://hg.python.org/cpython/rev/86fbe140e395
--
___
Python tracker
Michael McFadden added the comment:
I'm going to be adding some tests around pygettext tool and then tackling this.
--
nosy: +flipmcf
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18128
___
Antoine Pitrou added the comment:
Actually, recent POSIX states unconditionally that:
« If the file previously was smaller than this size, ftruncate() shall increase
the size of the file. If the file size is increased, the extended area shall
appear as if it were zero-filled. »
(from
Dorian Pula added the comment:
Attached patches with proposed change to the documentation to make the
description clearer.
Please review and comment.
--
nosy: +dorianpula
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20769
Serhiy Storchaka added the comment:
The new API change looks doubtful for me. It is more verbose. And less
readable. It makes harder to search in sources, because {'str', 'robuffer'} is
the same as {'robuffer', 'str'}. If Argument Clinic would a tool with
programmatic API, sets would make
R. David Murray added the comment:
If we were designing from scratch, that would be true. But we are stuck with
the behavior that we have, and cannot change it because we need to preserve
backward compatibility. This is why we need to make it a new method.
--
Zachary Ware added the comment:
Thank you for the patch!
--
nosy: +zach.ware
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23956
___
Roundup Robot added the comment:
New changeset 08400c64af93 by Zachary Ware in branch '3.4':
Issue #23956: Fix typo in imp.py docstring.
https://hg.python.org/cpython/rev/08400c64af93
New changeset 5586d4a4402e by Zachary Ware in branch 'default':
Closes #23956: Merge with 3.4
New submission from Maciej Szulik:
Current imaplib implementation follows obsoleted RFC2060. It should be updated
to follow RFC3501.
--
components: email
messages: 241022
nosy: barry, maciej.szulik, r.david.murray
priority: normal
severity: normal
status: open
title: Update imaplib to
Laura Rupprecht added the comment:
Related item: Added a helper function to verify API match of two modules,
addressing issue9859.
It checks for a closer match but mentioned this ticket from the thread.
--
nosy: +laura
___
Python tracker
Maciej Szulik added the comment:
I'm volunteering myself to work on this as a follow-up work to
http://bugs.python.org/issue22137.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23959
___
Zachary Ware added the comment:
Steve: libffi is an upstream project, so technically they should be the ones to
patch it. However, we do sometimes patch our own copy anyway and just keep the
diff around.
Nosying doko as the guy who usually gets stuck handling libffi upgrades and
will know
Roundup Robot added the comment:
New changeset c6df85e1d42e by Gregory P. Smith in branch 'default':
issue9859: Use an expected failure rather than a skip.
https://hg.python.org/cpython/rev/c6df85e1d42e
--
___
Python tracker rep...@bugs.python.org
Changes by Dorian Pula dorian.p...@amber-penguin-software.ca:
Added file:
http://bugs.python.org/file39020/reload_builtin_functions_doc_py_2_7_fix.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20769
Nina Zakharenko added the comment:
Maybe it would be better if the type property on socket had this behavior,
rather than creating a new method.
--
nosy: +nnja
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21327
Zachary Ware added the comment:
Steve confirmed in person at PyCon that this is fixed.
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23612
Ofer Schwarz added the comment:
So, this is actually impossible to do.
Since exceptions are c-level classes, adding members to ValueError means
anything that multiple-inherits from ValueError and any other complex exception
gets a multiple bases layout conflict. There's already one such class
Changes by Gregory P. Smith g...@krypto.org:
--
assignee: - gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9858
___
___
New submission from Ofer Schwarz:
When creating kwargs to construct the ImportError, if PyDict_SetItemString
fails the function returns without decref'ing the already-created locals.
--
components: Interpreter Core
files: importerrorcleanup.patch
keywords: patch
messages: 241052
nosy:
Roundup Robot added the comment:
New changeset f0a00ee094ff by Gregory P. Smith in branch 'default':
Add a subprocess.run() function than returns a CalledProcess instance for a
https://hg.python.org/cpython/rev/f0a00ee094ff
--
nosy: +python-dev
___
Gregory P. Smith added the comment:
thanks! i'll close this later after some buildbot runs and any post-commit
reviews.
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23342
Michael McFadden added the comment:
Patch File iss18128.patch adds test_i18n to start testing the entire Tools/i18n
package, and has a very simple fix.
--
keywords: +patch
Added file: http://bugs.python.org/file39024/iss18128.patch
___
Python
Larry Hastings added the comment:
ZFS.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23953
___
___
Python-bugs-list mailing list
Unsubscribe:
eryksun added the comment:
register themselves in HKEY_LOCAL_MACHINE\SOFTWARE\
Clients\StartMenuInternet so that users can change their
default browser through the OS. On 64-bit systems, this
is always in the 64-bit registry
According to Registry Keys Affected by WOW64, the Clients key is
Antoine Pitrou added the comment:
Perhaps ZFS doesn't support sparse files? Or perhaps there's another way to
convince it to create a sparse file?
How long does test_mmap take to run on your machine?
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
There is no CAN support in 2.7, so no.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22631
___
Thomas Wouters added the comment:
Yes. The test doesn't run with more than the requested units, but if you
run it without -M it does run with a very small number, in order to make
sure the tests don't bitrot.
The mechanism could do with an overhaul though; I wrote it in 2006 or so,
before we
Zachary Ware added the comment:
Alright, alright, I'll get you a file.
On Tue, Apr 14, 2015 at 1:22 PM, Larry Hastings rep...@bugs.python.org wrote:
Larry Hastings added the comment:
I wish the Python bug tracker had a way of attaching files to issues, so we
didn't have to just copy and
James Edwards added the comment:
Thanks for the review Serhiy.
I'll prepare a revised patchset, given the comments from you and Berker and
have it uploaded today.
Thanks again.
--
___
Python tracker rep...@bugs.python.org
Daniel Rocco added the comment:
Hi,
Here is an alternate patch to the test suite that demonstrates the
failure without needing refleak mode. The test works by issuing enough
requests that, if retries are not independent per request, the test
triggers the code path that results in the test
201 - 275 of 275 matches
Mail list logo