Terry J. Reedy added the comment:
As I said previously, the only reason for the change was get all the docstring
signature lines for builtins, after they were changed from 1 to many. I was not
thrilled with having to do this. However, I felt that just presenting the
arbitrary first of many
Roundup Robot added the comment:
New changeset 72a8a107eed1 by Terry Jan Reedy in branch '2.7':
Issue #21477: Idle htest: modify run; add more tests.
http://hg.python.org/cpython/rev/72a8a107eed1
--
___
Python tracker rep...@bugs.python.org
Changes by Łukasz Langa luk...@langa.pl:
--
assignee: - lukasz.langa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21498
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Compare with tuple:
(1, 2)[2**1000]
Traceback (most recent call last):
File stdin, line 1, in module
IndexError: cannot fit 'int' into an index-sized integer
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset e770d8c4291c by Terry Jan Reedy in branch '2.7':
Issue #21477: Add htests for Search and Replace dialogs.
http://hg.python.org/cpython/rev/e770d8c4291c
New changeset b8e4bb1e1090 by Terry Jan Reedy in branch '3.4':
Issue #21477: Add htests for
Claudiu.Popa added the comment:
Thanks. Patch modified.
--
Added file: http://bugs.python.org/file35376/issue10203_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10203
___
Terry J. Reedy added the comment:
I think it time to make running through all or just some of the tests more
pleasant. If we reversed the order [next], [test name], test instruction, then
[next] would not just up and down. If the window were set to a constant width,
then it would not jump
Terry J. Reedy added the comment:
Ned, I recently saw that some of the builtin extensions call macosxsupport. I
though then that it would be better if such calls were somehow handled
automatically. I have no idea how and when to make them and so I don't know if
the existing calls are needed
James Meneghello added the comment:
Yeah, I didn't have a lot of time so I chose just to work around it. When I get
a chance I'll have a better look.
Good point: I didn't think to try it with SSL off (SSL is enabled for all
connections by default with this application). I'll test this and see
Nikolay Bogoychev added the comment:
Updated patch, all comments addressed, sorry for the 6 months delay. Please
review
--
Added file: http://bugs.python.org/file35377/robotparser_v3.patch
___
Python tracker rep...@bugs.python.org
Richard Marko added the comment:
Would be nice to have this commited as without this change
-if self.quitting:
-return # None
+if not self.botframe:
+self.botframe = frame
it's not possible to quit Bdb (and the code it's executing) as it just returns
Bohuslav Slavek Kabrda added the comment:
@jcea: So here is my proposal for dealing with this: let's take what I
currently have (e.g. tracepoints for function entry/function exit) and extend
my patch to also work with DTrace in a similar fashion. Then, when we have a
working patch for both
Jesús Cea Avión added the comment:
Could you possibly create a new issue and add me to its NOSY?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14776
___
New submission from Claudiu.Popa:
Hello.
This patch proposes using `assertIn` in the first unittest example, instead of
`assertTrue(x in seq)`. This is clearer and recommending it first is better for
beginners.
--
assignee: docs@python
components: Documentation
files:
Ezio Melotti added the comment:
This is a duplicate of #11468.
--
nosy: +ezio.melotti, rhettinger
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - Improve unittest basic example in the doc
___
Python tracker
Changes by Berker Peksag berker.pek...@gmail.com:
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11468
___
___
Vajrasky Kok added the comment:
I found the culprit. The AddressFamily is not registered in _socket module. I
created a preliminary patch to show the culprit.
--
keywords: +patch
nosy: +vajrasky
Added file: http://bugs.python.org/file35379/pydoc_display_AddressFamily.patch
New submission from Bohuslav Slavek Kabrda:
This is a tracking bug for development of combined systemtap and dtrace patch
for Python. The separate patches were submitted at [1] (systemtap) and [2]
(dtrace).
Since it was agreed that it'd be best to merge the two patches to reuse as much
code
Bohuslav Slavek Kabrda added the comment:
I opened a bug for tracking progress of development of the combined dtrace and
systemtap support: http://bugs.python.org/issue21590
--
___
Python tracker rep...@bugs.python.org
Bohuslav Slavek Kabrda added the comment:
I opened a bug for tracking progress of development of the combined dtrace and
systemtap support: http://bugs.python.org/issue21590
--
nosy: +bkabrda
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión added the comment:
Bohuslav, do you have Jabber/XMPP?. Mine is j...@jabber.org. This thing will
require real time communication.
I rather prefer XMPP/Jabber, but I could accept IRC :-)
--
___
Python tracker rep...@bugs.python.org
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: -berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
___
Changes by Dave Malcolm dmalc...@redhat.com:
--
nosy: +dmalcolm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21590
___
___
Python-bugs-list
Brett Cannon added the comment:
I'm not torn so let that settle your torment. =) Considering we are talking
about the standard library for a language that has a mantra of explicit is
better than implicit I think worrying about an added line to very little code
since so few people muck with
Brett Cannon added the comment:
Why do you want a one-liner wrapper for the functions for the public API when
they are exactly the same?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20383
Brett Cannon added the comment:
This issue is not talking about dropping create_module() from the algorithm (I
need it for the lazy loader), just from the ABC since it's a do-nothing
implementation that doesn't have to be there.
Otherwise it should be made a required method and possibly even
STINNER Victor added the comment:
I found the culprit. The AddressFamily is not registered in _socket module. I
created a preliminary patch to show the culprit.
That's not surprising, this type is created in socket (socket.py), not in
_socket (the C module). Your patch is wrong.
--
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21539
___
___
Python-bugs-list mailing
Barry A. Warsaw added the comment:
I've just been writing some new code to use pathlib and ran into this one
myself. An exist_ok=False is fine, although it's a slight shame that for
backward compatibility we can't adopt os.makedirs() signature exactly.
--
Dominic Cerquetti added the comment:
Requesting re-open of this issue, using --closes to force no symlinks to be
created still results in venv trying to create symlinks.
I'm using Python 3.4 with the following command inside a vagrant Ubuntu 14.04
virtualbox image. The folder is a SMB mount
Eric Snow added the comment:
You're right that it doesn't have to be a one-line wrapper or anything more
than an import-from in importlib.util. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20383
Berker Peksag added the comment:
Thanks for the review, Eric. Here's a new patch.
--
Added file: http://bugs.python.org/file35381/issue21578_v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21578
Xavier de Gaye added the comment:
Yes the patch does change the semantics of the quit command:
* no change when pdb is run as a script or with 'python -m pdb
script_name'. As stated in the doc, the 'quit command': Quit from the
debugger. The program being executed is aborted.
* but
Zachary Ware added the comment:
A few comments on the committed patch. The quoted diff is trimmed to just the
hunks I have comments on.
On Tue, May 27, 2014 at 12:21 AM, raymond.hettinger
python-check...@python.org wrote:
diff --git a/Doc/reference/compound_stmts.rst
Serhiy Storchaka added the comment:
Ah, now I see what is wrong.
Actually AddressFamily is missing in text output of pydoc too. Because
AddressFamily is not included in the __all__ list. SocketType is included,
but this is different SocketType, SocketType from _socket (see issue20386).
Here
Changes by Zachary Ware zachary.w...@gmail.com:
--
stage: test needed - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21439
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
title: socket.AddressFamily is absent in html pydoc - socket.AddressFamily is
absent in pydoc output
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
STINNER Victor added the comment:
I suggested to not document new enums of the socket module (ex: AddressFamily,
SocketType) when they were added. I don't think that they should be part of
Python public API.
--
___
Python tracker
honglei jiang added the comment:
Python:canopy-1.3.0.1715.win-x86_64\
OS:Win8.1 64
directory
'F:\\Flask\\EmberJS\\\xd6\xd0\xce\xc4\\Prj\\static'
os.path.isdir(directory)
True
filename
u'todomvc/architecture-examples/angularjs/index.html'
os.path.join(directory,filename)
Traceback (most recent
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11468
___
___
Python-bugs-list
Vinay Sajip added the comment:
While you may be right about line 215, line 147 isn't analogous, because in the
latter case it's a symlink to a directory. We don't really want the entire lib
directory tree *copied* into lib64 (and in any case, the populating of lib will
happen much after venv
Lita Cho added the comment:
I am currently in the process of editing this patch such that the Turtle Demo
launches from the Help Menu and spawns a separate process.
However, I am deciding whether if the separate process should be asynchronous
or not. Currently, I have it working with the
Antoine Pitrou added the comment:
Le 27/05/2014 20:32, Barry A. Warsaw a écrit :
I've just been writing some new code to use pathlib and ran into
this
one myself. An exist_ok=False is fine, although it's a slight shame that
for backward compatibility we can't adopt os.makedirs() signature
Barry A. Warsaw added the comment:
On May 27, 2014, at 08:48 PM, Antoine Pitrou wrote:
What do you mean by that? The os.makedirs() signature is
os.makedirs(name, mode=0o777, exist_ok=False)
Right, but this is Path.mkdir's signature:
Path.mkdir(mode=0o777, parents=False)
so it's too late to
Eric Snow added the comment:
Looks good to me. Thanks for doing this. If no one objects in the meantime,
I'll commit this in a few days.
--
assignee: - eric.snow
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
Dominic Cerquetti added the comment:
Preliminary patch for line 215, per earlier description.
While this doesn't appear to break anything and creates both copies and
symlinks correctly, I do have these four failing unit tests:
test_multiprocessing_fork
test_multiprocessing_forkserver
Dominic Cerquetti added the comment:
Ok cool, as you said line 215 then seems to be the only one that needs it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18807
___
Raymond Hettinger added the comment:
the IDLE window is hanging
Check to make sure it is actually hung. The event-loop can make it look hung
but it is actually just waiting for an event. An IDLE restart suffices to kill
it sometimes.
--
___
Raymond Hettinger added the comment:
FWIW, I'm going to test some other module (math or somesuch) rather than the
built-in string methods. The normal use of unittest is to import both the
unittest module and the module under test. I want to show that pattern (which
is somewhat different
Lita Cho added the comment:
Okay, maybe hanging is not the right word. The IDLE window becomes busy since
it spawned off the Turtle demo subprocess, and it is waiting for the subprocess
to finish. After I close the Turtle window, it returns back to normal.
I was wondering if the Turtle Demo
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18132
___
___
Python-bugs-list
Lita Cho added the comment:
I currently have a patch where the Turtle Demo now shows up in the Help menu
rather than in File menu.
I also have it such that Turtle is now launched as a separate process rather
than within the IDLE process. Currently, the commend is calling ./python.exe so
it
Lita Cho added the comment:
Serhiy, does that mean this is fixed the way it is? Do I need to do anything
else to close out this issue? It looks like wantobjects is set to False,
currently.
--
___
Python tracker rep...@bugs.python.org
Lita Cho added the comment:
So I have a patch that fixes the original problem, but doesn't fix the crash
with the tdemo_round_dance.py. However, I was wondering why
TurtleScreen._RUNNING = True in the _destroy method. Can anyone shed some light
on this? Here is the current state of my patch.
paul j3 added the comment:
Last year someone asked on Stackoverflow about using 'type=bool'. My answer is
at:
http://stackoverflow.com/questions/15008758/parsing-boolean-values-with-argparse/19233287#19233287
'type' is supposed to be a function that takes a string, and converts to a
desired
paul j3 added the comment:
Two points to keep in mind:
'argparse' works with 'sys.argv[1:]'. If that does not contain what you want,
then you can pass your own 'argv' to 'parse_args'.
'type=bytes' means, call the builtin 'bytes' function with one of the argv
strings. If 'bytes' does not
paul j3 added the comment:
'invalid bytes value' is the error message generated by 'argparse'. The
underlying error (for a string like 'xxx') is:
print(bytes(sys.argv[1]))
TypeError: string argument without an encoding
You could use 'bytes' if you somehow supply the encoding, as in:
Changes by paul j3 ajipa...@gmail.com:
--
nosy: +paul.j3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10523
___
___
Python-bugs-list mailing list
Terry J. Reedy added the comment:
I think a patch should reuse the run module function that Idle already has. No
need to re-invent something. I will say more tomorrow after sleeping.
--
___
Python tracker rep...@bugs.python.org
Jason R. Coombs added the comment:
I recently ran into this error again. I was writing this class to provide
backward-compatible context manager support for zipfile.ZipFile on Python 2.6
and 3.1:
class ContextualZipFile(zipfile.ZipFile):
Supplement ZipFile class to support context
paul j3 added the comment:
If we make this change to '_StoreAction', we need to do it to 4 other
subclasses which take the same 'setattr(namespace, self.dest, values)'.
An alternative would be to define a 'Namespace' function that does this
conditional 'setattr'.
How should this 'SUPPRESS'
Jason R. Coombs added the comment:
I recently ran into this error again. I was writing this class to provide
backward-compatible context manager support for zipfile.ZipFile on Python 2.6
and 3.1:
class ContextualZipFile(zipfile.ZipFile):
Supplement ZipFile class to support context
Changes by paul j3 ajipa...@gmail.com:
--
nosy: +paul.j3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9351
___
___
Python-bugs-list mailing list
63 matches
Mail list logo