So holiday is pretty much over. I've learnt the merest basics of
Python and done two tools, on the way to webify one of them using
Bottle. Which also is confusing. Oh well.
I'm back to work so will go more into lurking mode. Just wanted to say
thanks to all who have replied to my basic and
The right program is as following,everything is ok.
import requests
import threading
import queue
class webdata(object):
def __init__(self,name):
self.jobs=queue.Queue()
for x in name:
url='http://stockhtm.finance.qq.com/sstock/ggcx/%s.shtml' %x
Hi,
I have an array arr which is indexed from 0 to 999. I would like to construct a
column in two steps. The first step is input from 200 data, evenly spread from 0
to 999 of the target array. Then, I want to use interpolate it from 200 to 1000
with interpolate method.
In Python, ':' is used to
On Fri, 25 Jul 2014 04:45:31 -0700, fl wrote:
Hi,
I have an array arr which is indexed from 0 to 999. I would like to
construct a column in two steps. The first step is input from 200 data,
evenly spread from 0 to 999 of the target array. Then, I want to use
interpolate it from 200 to 1000
On Friday, July 25, 2014 7:45:31 AM UTC-4, fl wrote:
to 999 of the target array. Then, I want to use interpolate it from 200 to
1000
with interpolate method.
In Python, ':' is used to indicate range (while in Matlab I know it can be
used
to control steps). How to index an array with 0,
fl rxjw...@gmail.com writes:
In Python, ':' is used to indicate range (while in Matlab I know it can be
used
to control steps). How to index an array with 0, 5, 10, 15...995?
Just use slicing:
L = range(1000) # your array goes here
L[::5]
[0, 5, 10, 15, ..., 995] # Python 2
On Thursday, July 24, 2014 6:35:02 PM UTC-5, Terry Reedy wrote:
On 7/24/2014 1:04 PM, Chris Kwpolska Warrick wrote:
And it might be better to stay with Python 2, there are still
things that don't work with Py3k that you might find crucial.
It is true that there are 3rd-party
The first step in grabbing information from a pdf file is to translate it
into text format with pdftotext -layout command.
Is it available any specific python tool or library to describe the
layout of a page with ascii characters and to help in identifying and
extracting the useful pieces of
Edit:
I did went for IronPythonStudio but its dead now and they are not updating it
anymore
--
https://mail.python.org/mailman/listinfo/python-list
Hi,
This Question may sound lame ,but I am searching for .Net Like Gui Builder for
Python.
I tried PyQt Designer' and 'Glade', No doubt its great but it created only
interface.
I have to code all the things in separate file.
what I was searching for is Visual Studio .Net like Gui builder where
Hello,
ELF binaries have a concept of RPATH, that means the interpreter looks
for libraries first in a list of directories provided by the binary
before falling back to default system directories.
Since python scripts also do some sort of library loading, but lack an
RPATH like feature, I'm
I'm using Python 2.7.3.
It looks like ArgumentParser maps --foo-bar to foo_bar in the argument
namespace, but doesn't do the same kind of mapping for positional arguments.
Is this intentional? I can't find in the docs where it describes this mapping,
but it's certainly convenient, and seems
On Fri, Jul 25, 2014 at 10:55 AM, Orochi kartikjagdal...@gmail.com wrote:
So,Is there any Gui App builder like Visual Studio or having features like
Visual Studio for Python.
I'm not aware of anything with the same level of functionality as
Visual Studio's GUI building tools. Glade is the
Zachary Ware zachary.ware+pyl...@gmail.com wrote:
How so? Like any other facet of programming, using Tk(inter) has it's
frustrations, but for the most part it has always worked as expected
for me. Granted, I haven't done anything terribly fancy.
In my experience, tkinter and ttk is fine
Orochi kartikjagdal...@gmail.com wrote:
I tried PyQt Designer' and 'Glade', No doubt its great but it created only
interface.
I have to code all the things in separate file.
That's what you should do. Keep autogenerated and hand-written code
separate.
Also take a look at wxFormBuilder.
水静流深 1248283...@qq.com wrote:
name=['60', '01', '600319', '600531','600661', '600983', '600202',
'600149']
x=webdata(name)
x.run()
never quit from the thread ,why?
Call .start() instead of .run()
--
https://mail.python.org/mailman/listinfo/python-list
Am 25.07.2014 16:55, schrieb Orochi:
So,Is there any Gui App builder like Visual Studio or having features like
Visual Studio for Python.
Unfortunately there's nothing like that.
IMHO the lack of such a tool is a major blocking point in many
(corporate) environments...
From the GUI builders
On Thursday, July 24, 2014 9:49:14 AM UTC-4, Vlastimil Brom wrote:
2014-07-24 14:53 GMT+02:00 fl rxj@gmail.com:
internally):
http://mpmath.org/
Using the sensible defaults, the plotting of a function can be as simple as:
mpmath.plot(mpmath.sin)
As for your original question, you can
Hello,
I am using Windows 8.1 (I do have a linux box setup with virtualbox also)
and I've used python previously but now it is giving me problems whenever I try
to install anything from PyPI using pip. The error I get from the command line
is
Cannot fetch index base URL
Hello all,
I downloaded some code accompanying the book Programming the Semantic
Web. This question is not Semantic Web related and I doubt that one needs to
know anything about the Semantic Web to help me with this. It's the first
code sample in the book, I'm embarrassed to say. I
OK, Eclipse with PyDev doesn't like this first line, with the function:
def add(self, (sub, pred, obj)):
It complains about the parentheses just before sub.
Seems like this code is Python 2.x.
Skip
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Jul 25, 2014 at 5:08 PM, fl rxjw...@gmail.com wrote:
I want to use your reply about numpy, but I find only the following works:
import numpy as numpy
Do you have other ways to import? (I find the above import a little more
letters)
What's wrong with:
import numpy
--
On Fri, Jul 25, 2014 at 5:21 PM, Skip Montanaro s...@pobox.com wrote:
OK, Eclipse with PyDev doesn't like this first line, with the function:
def add(self, (sub, pred, obj)):
It complains about the parentheses just before sub.
Seems like this code is Python 2.x.
For me, this code ran on all
On Jul 25, 2014 6:54 PM, Dan Stromberg drsali...@gmail.com wrote:
On Fri, Jul 25, 2014 at 5:21 PM, Skip Montanaro s...@pobox.com wrote:
OK, Eclipse with PyDev doesn't like this first line, with the function:
def add(self, (sub, pred, obj)):
It complains about the parentheses just before
On 7/24/2014 2:58 AM, Ben Finney wrote:
Here is an article on good API design; the principles apply to Python
URL:http://blog.isnotworking.com/2007/05/api-design-guidelines.html.
You know your API and its requirements better than we; see whether that
sheds any light on improvements to make.
On Friday, July 25, 2014 8:37:14 PM UTC-4, Ian wrote:
On Fri, Jul 25, 2014 at 5:08 PM, fl rx...@gmail.com wrote:
Do you have other ways to import? (I find the above import a little more
letters)
What's wrong with:
import numpy
I was wrong, maybe some careless key inputs. import numpy
On Sat, Jul 26, 2014 at 7:23 AM, Dietmar Schwertberger
maill...@schwertberger.de wrote:
Am 25.07.2014 16:55, schrieb Orochi:
So,Is there any Gui App builder like Visual Studio or having features like
Visual Studio for Python.
Unfortunately there's nothing like that.
IMHO the lack of such a
On Sat, Jul 26, 2014 at 11:47 AM, C.D. Reimer ch...@cdreimer.com wrote:
Isn't a zero-length array, empty collection and null all the same thing?
Definitely not. In C++ and Java, which he's primarily looking at,
there's a definite difference in usage, and potentially in memory
usage/performance.
On Fri, 25 Jul 2014 17:06:17 -0700, Bruce Whealton wrote:
OK, Eclipse with PyDev doesn't like this first line, with the function:
def add(self, (sub, pred, obj)):
In Python 2, you could include parenthesised parameters inside function
declarations as above. That is effectively a short cut for
On Sat, Jul 26, 2014 at 10:06 AM, Bruce Whealton
futurewavewebdevelopm...@gmail.com wrote:
OK, Eclipse with PyDev doesn't like this first line, with the function:
def add(self, (sub, pred, obj)):
As others have said, this is something that changed in Python 3. So
you have two parts to the
On 07/25/2014 08:55 AM, Orochi wrote:
Hi, This Question may sound lame ,but I am searching for .Net Like
Gui Builder for Python. I tried PyQt Designer' and 'Glade', No doubt
its great but it created only interface. I have to code all the
things in separate file. what I was searching for is
On Fri, 25 Jul 2014 18:47:55 -0700, C.D. Reimer wrote:
On 7/24/2014 2:58 AM, Ben Finney wrote:
Here is an article on good API design; the principles apply to Python
URL:http://blog.isnotworking.com/2007/05/api-design-guidelines.html.
You know your API and its requirements better than we; see
On Fri, Jul 25, 2014 at 7:40 PM, Chris Angelico ros...@gmail.com wrote:
The OP asked for two things, which I'll separate because they're
actually quite different.
1) Drag and drop widgets to create a window
2) Double-click a widget to edit its code (presumably event handler)
I have used a
On Sat, Jul 26, 2014 at 2:13 PM, TP wing...@gmail.com wrote:
Not that I disagree with the overall point of just using a text editor
(especially for Python GUIs) but apparently you've never created a C# WPF
app using Visual Studio? WPF fully supports layout controls, is *not*
generally pixel
Olaf Hering o...@aepfle.de writes:
ELF binaries have a concept of RPATH, that means the interpreter looks
for libraries first in a list of directories provided by the binary
before falling back to default system directories.
Since python scripts also do some sort of library loading, but lack
Bruce Whealton futurewavewebdevelopm...@gmail.com writes:
I am using Windows 8.1 (I do have a linux box setup with virtualbox
also) and I've used python previously but now it is giving me problems
whenever I try to install anything from PyPI using pip. The error I get from
the
New submission from Nick Coghlan:
From
https://stackoverflow.com/questions/5499897/converting-selenium-py-to-python-3-by-2to3,
2to3 prints the following messages when run:
===
RefactoringTool: Skipping implicit fixer: buffer
RefactoringTool: Skipping implicit fixer: idioms
Roundup Robot added the comment:
New changeset 7a55b34f1db2 by Terry Jan Reedy in branch '2.7':
Issue #22053: Make help work, after previous patch for this issue disabled it
http://hg.python.org/cpython/rev/7a55b34f1db2
New changeset c26862955342 by Terry Jan Reedy in branch '3.4':
Issue
Terry J. Reedy added the comment:
Removal of 'demo' as a global name disabled help callbacks. I could have added
'global demo' to main(), but I decided to refactor and remove duplicate code
instead. For 3.5, however, refactor would not merge because of #10291, so I
made the simplest fix
Serhiy Storchaka added the comment:
Here is a patch which replaces obsolete and non-working menu creation code by
modernized code. Now menu should be correctly displayed on MacOS.
--
Added file: http://bugs.python.org/file36084/turtledemo_menu.patch
Terry J. Reedy added the comment:
Is there any reason when turtledemo.__init__ and turtledemo.__main__ should not
get docstrings in earlier versions? And the turtledemo.__main__ get the same
changes in 3.4?
Not doing so introduced seeming gratuitous differences between the versions.
The help
Charles-François Natali added the comment:
Pipes cannot be configured in non-blocking mode on Windows. It sounds
dangerous to call a blocking syscall in a signal handler.
In fact, it works to write the signal number into a pipe on Windows, but I'm
worried about the blocking behaviour.
Roundup Robot added the comment:
New changeset 3c4d45f73622 by Terry Jan Reedy in branch '2.7':
Issue #22061: remove call of useless function slated for removal.
http://hg.python.org/cpython/rev/3c4d45f73622
New changeset 976f31b2858b by Terry Jan Reedy in branch '3.4':
Issue #22061: remove
STINNER Victor added the comment:
2014-07-25 9:02 GMT+02:00 Charles-François Natali rep...@bugs.python.org:
Pipes cannot be configured in non-blocking mode on Windows. It sounds
dangerous to call a blocking syscall in a signal handler.
In fact, it works to write the signal number into a
New submission from Terry J. Reedy:
On #22061, Serhiy Storchaka posted turtledemo_menu.patch, which is unrelated to
that issue. Issues in that patch.
* It mistakenly includes the tkinter_restore_empty_methods.patch that does
belongs to 22061.
* It will not apply any more, especially to 3.4 as
Terry J. Reedy added the comment:
The turtledemo part of this issue is over. (Lita, tracebacks are not 'crash'
issues. Segfaults and the Windows equivalent are.)
The restoration patch could have been attached to 4350. But since it is here, I
retitled this issue instead of closing it. Patch
Serhiy Storchaka added the comment:
May be add deprecation warnings in 2.7 and 3.4? This method's calls can be left
in existing user code as in turtledemo and this code behaves differently from
how it was designed and behaved with Tk 4.0. As far as now this methods are
empty, this bug can be
Serhiy Storchaka added the comment:
Here is updated patch.
* Excluded the tkinter_restore_empty_methods.patch.
* Synchronized with tip.
* Corrected grid row indices (this doesn't matter, in any case menu was removed
from grid on Mac).
Current code doesn't work as was designed (with using
Terry J. Reedy added the comment:
Since Deprecation warnings are off by default, backporting seems like a good
idea. There was talk on pydev about adding more py3 warnings to 2.7, which this
essentially is (though the removal is delated to 3.6).
--
Ned Deily added the comment:
Is there any reason when turtledemo.__init__ and turtledemo.__main__ should
not get docstrings in earlier versions? And the turtledemo.__main__ get the
same changes in 3.4?
I think my reasoning was that it was not a bug fix so it wasn't a strong
candidate
Roundup Robot added the comment:
New changeset 7e6beea0eeab by Serhiy Storchaka in branch 'default':
Issue #22061: Restored empty obsolete methods removed in issue #4350 and
http://hg.python.org/cpython/rev/7e6beea0eeab
--
___
Python tracker
Roundup Robot added the comment:
New changeset f7c84674bdec by Serhiy Storchaka in branch '2.7':
Issue #22061: Add deprecation warnings in empty obsolete methods.
http://hg.python.org/cpython/rev/f7c84674bdec
New changeset a50297e793f9 by Serhiy Storchaka in branch '3.4':
Issue #22061: Add
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/issue22061
___
Alejandro MJ added the comment:
Thanks a lot for your help!
I've tested it in Linux, Python version 3.3.5 and the message obtained is this:
[404 Not Found]. The script is this one (changing of course the ip_address and
the proxy_url values):
import http.client, urllib.parse
data =
Roundup Robot added the comment:
New changeset 88a532a31eb3 by Nick Coghlan in branch 'default':
Issue #18093: Factor out the programs that embed the runtime
http://hg.python.org/cpython/rev/88a532a31eb3
--
nosy: +python-dev
___
Python tracker
Roundup Robot added the comment:
New changeset 7640af73c19d by Nick Coghlan in branch 'default':
Add missing NEWS entry for issue #18093
http://hg.python.org/cpython/rev/7640af73c19d
--
___
Python tracker rep...@bugs.python.org
Alejandro MJ added the comment:
I've wrote these sentences on my SUSE, python is installed on path:
/usr/local/pr/python
computer002:/usr/local/pr/python # patch -p1 --dry-run issue22041_1.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text
Nick Coghlan added the comment:
Prompted to finally get back to this by the python-dev discussion about PEP 432
(as separating these out helps keep the moving parts clear when working on the
startup sequence)
In response to Eric's question, Modules/main.c is part of the CPython runtime,
Charles-François Natali added the comment:
In the issue #22042, I would like to make automatically the file desscriptor
or socket handler in non-blocking mode. The problem is that you cannot make a
file descriptor in non-blocking mode on Windows.
I don't think we should set it non-blocking
Nick Coghlan added the comment:
Zach, regarding the Windows executables - up to you if you want to open an
issue to move them. These ones I particularly wanted to move because I found
having them in Modules to be genuinely confusing when working on the startup
code.
--
STINNER Victor added the comment:
Charles-François wrote:
I don't think we should set it non-blocking automatically, but rather
check that it's non-blocking.
The first reason I can think of is that the user passing a blocking FD
could be a sign of a bug (e.g. if the other end is in blocking
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1025395
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 2ae5709692ef by Nick Coghlan in branch 'default':
Issue #21947: handle generator-iterator objects in dis
http://hg.python.org/cpython/rev/2ae5709692ef
--
nosy: +python-dev
___
Python tracker
Nick Coghlan added the comment:
Thanks for the patch Clement!
Could I also please request that you sign the Contributor License Agreement at
https://www.python.org/psf/contrib/contrib-form/
While we have some discretion to accept small patches without one, a signed
CLA helps assure that we
Changes by Nick Coghlan ncogh...@gmail.com:
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21947
___
Mark Summerfield added the comment:
I used pip to install the win_unicode_console package on windows 7 python 3.3.
It works but wouldn't freeze with cx_freeze because there's no __init__.py file
in the win_unicode_console directory.
--
___
Python
Nick Coghlan added the comment:
Hmm, I'm not sure if that would be a bug in cxFreeze or CPython - I don't think
we've tried freezing or zipimporting namespace packages... (either way, adding
the __init__.py to win_unicode_console would likely be the quickest fix)
--
STINNER Victor added the comment:
Since there is now an external project fixing the support of Windows console, I
suggest to close this issue as wontfix. In a few months, if we get enough
feedback on this project, we may reconsider integrating it into Python. What do
you think?
Nick Coghlan added the comment:
The poor interaction with the Windows command line is still a bug in CPython -
we could mark it closed/later but I don't see any value in doing so.
I see Drekin's win_unicode_console module as similar to my own contextlib2 -
used to prove the concept, and
STINNER Victor added the comment:
The poor interaction with the Windows command line is still a bug in CPython
- we could mark it closed/later but I don't see any value in doing so.
I don't see any value in keeping the issue open since nobody worked on it last
7 years. I just want to make
New submission from juj:
When Python 2.7 executes a Node .js application that prints to stdout and
subsequently exits, Python does not capture full output printed by that
application.
Steps to repro:
1. Download and unzip http://clb.demon.fi/bugs/python_proc_bug.zip
2. Run run_test.bat
Nick Coghlan added the comment:
Based on Steve's last post, the main challenge is that the IO model assumes a
bytes-based streaming API - it isn't really set up to cope with a UTF-16
buffering layer.
However, that's not substantially different from the situation when the
standard streams are
Nick Coghlan added the comment:
Changing targets to Python 3.5, since this is almost certainly going to be too
invasive for a maintenance release.
--
versions: +Python 3.5 -Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 766570a5d607 by Zachary Ware in branch 'default':
Issue #18093: Give the Windows build _testembed.c's new location.
http://hg.python.org/cpython/rev/766570a5d607
--
___
Python tracker
Changes by Ian Cordasco graffatcolmin...@gmail.com:
--
nosy: +icordasc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3566
___
___
Python-bugs-list
New submission from Serhiy Storchaka:
time_test fails when running after any test which uses strptime().
The bug can be easily reproduced by running test_time twice:
$ TZ=Europe/Kiev ./python -m test.regrtest -ugui -v test_time test_time
...
Demian Brecht added the comment:
To add a little more detail, from what I gather, CONNECT support may be
unsupported or limited (i.e. only allowing SSL connections) on various proxy
servers. If the code snippet in my previous post solves your issue, then I
would assume that to be the case
Demian Brecht added the comment:
Sorry Alejandro, I should have clarified: The attached patch is for dev, so the
failure you're seeing when attempting to apply the patch against 3.3 is
expected. It effectively does the same thing as explicitly setting the port as
you have already attempted.
Zachary Ware added the comment:
With no one (including me) clamoring for this, I'm going to go ahead and reject
it. If someone in the future does really want this, I'd be happy to review a
new patch.
--
resolution: - rejected
stage: - resolved
status: open - closed
versions:
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21591
___
___
Python-bugs-list
New submission from Serhiy Storchaka:
$ ./python -m test.regrtest -ugui -v test_idle test_gc
...
==
FAIL: test_saveall (test.test_gc.GCTests)
--
Traceback (most
Victor Zhong added the comment:
Hi Zach,
I've pulled from the default branch. Please find attached the diff for hg diff
-r default Lib/unittest in the attached issue14534.v3.diff.
Victor
--
hgrepos: +266
Added file: http://bugs.python.org/file36086/issue14534.v3.diff
STINNER Victor added the comment:
It looks like test_idle leaks uncollectable objects.
I modified regrtest to use tracemalloc, I attach the output: tracemalloc.txt.
Good luck to find the leaks ;-)
--
nosy: +haypo
Added file: http://bugs.python.org/file36087/tracemalloc.txt
STINNER Victor added the comment:
regrtest_tracemalloc.patch: my patch for regrtest.py to dump the traceback
where garbage objects where allocated using tracemalloc.
http://pytracemalloc.readthedocs.org/
(Note: you need to recompile Python to use tracemalloc on Python 3.4.)
--
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: - resolved
status: open - closed
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21867
___
Antoine Pitrou added the comment:
It doesn't seem likely this patch would introduce severe performance troubles
elsewhere, but I'd like to trying it out with some example heavy BytesIO
consumers (any suggestions? Some popular template engine?)
I don't have any specific suggestions, but you
Changes by Antoine Pitrou pit...@free.fr:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22003
___
___
Serhiy Storchaka added the comment:
Indeed, there are a lot of small reference loops in ConfigDialog. Tk variables
save reference to the dialog and the dialog saves references to variables.
Either variables should be created with different argument (i.e. self.parent),
or they should be
Alex Gaynor added the comment:
New version of this patch fixes a bunch of versionadded and changeds in the
docs that referred to the wrong version.
--
Added file: http://bugs.python.org/file36089/ssl-backport.diff
___
Python tracker
New submission from Akira Li:
TextIOWrapper(b, newline=\n, line_buffering=True) object calls flush()
while writing \r. See test_line_buffering() method in
Lib/test/test_io.py:2114
The documentation says [1]:
If line_buffering is True, flush() is implied when a call to write contains
a
Antoine Pitrou added the comment:
Thank you for posting this, I'm reopening the issue.
--
nosy: +sbt
resolution: out of date -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11271
New submission from Nick Coghlan:
Getting functools.total_ordering to handle NotImplemented correctly in issue
10042 came at the cost of slowing it down dramatically, as the simple use of
normal operator syntax had to be replaced by explicit method calls. It also
introduced the quirk of going
Alex Gaynor added the comment:
If you're going to fix the semantics of the method lookup to go via the type,
can you please do that for the pure python version as well? When the C and
Python versions diverge on semantics, it becomes a real pain for alternate
implementations which are
New submission from Milan Oberkirch:
I made a patch removing deprecated attributes from smtpd (as suggested by
r.david.murray).
--
components: Library (Lib)
files: smtpd_remove_deprecated_attrs.patch
keywords: patch
messages: 223969
nosy: jesstess, pitrou, r.david.murray, zvyn
Nick Coghlan added the comment:
Fixing the lookup semantics should arguably be a bug report in its own
right, but yes, if the C implementation uses _PyType_LookupSpecial,
then the Python version should definitely be changed to match.
--
___
Python
Raymond Hettinger added the comment:
Thanks for noticing this. Do you want to propose a patch?
--
assignee: docs@python - rhettinger
nosy: +rhettinger
stage: - needs patch
versions: -Python 3.1, Python 3.2, Python 3.3
___
Python tracker
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21990
___
paul j3 added the comment:
On further thought, I think
group2 = group1.add_mutually_exclusive_group()
should have raised an error, stating that a group (argument or mutually
exclusive) cannot be added to a mutually exclusive group.
Also an argument group should not be added to another
Roundup Robot added the comment:
New changeset a5cb10f2dbaa by Raymond Hettinger in branch '2.7':
Issue #21990: Cleanup unnecessary inner class definition in saxutils.
http://hg.python.org/cpython/rev/a5cb10f2dbaa
--
nosy: +python-dev
___
Python
Sam Kerr added the comment:
What I was going for was the ability to have a group contain a mutually
exclusive group and a non-exclusive group, but using the mutually exclusive
group meant you could not use the non-exclusive group.
Such as:
[ [ -opt1 | -opt2 | -opt3 ] [ [-opt4] [-opt5]
1 - 100 of 154 matches
Mail list logo