Hi,
I've just uploaded pypiserver 1.0.1 to the python package index.
pypiserver is a minimal PyPI compatible server. It can be used to serve
a set of packages and eggs to easy_install or pip.
pypiserver is easy to install (i.e. just 'pip install pypiserver'). It
doesn't have any external
comp.lang.python
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 03 Jan 2013 12:04:03 -0800, subhabangalore wrote:
Dear Group,
If I take a list like the following:
fruits = ['banana', 'apple', 'mango']
for fruit in fruits:
print 'Current fruit :', fruit
Now,
if I want variables like var1,var2,var3 be assigned to them, we may
take,
On 1/3/2013 6:25 PM, Grant Edwards wrote:
I've written a small assembler in Python 2.[67], and it needs to
evaluate integer-valued arithmetic expressions in the context of a
symbol table that defines integer values for a set of names. The
right thing is probably an expression parser/evaluator
On Fri, 04 Jan 2013 07:24:04 -0500, Terry Reedy wrote:
On 1/3/2013 6:25 PM, Grant Edwards wrote:
I've written a small assembler in Python 2.[67], and it needs to
evaluate integer-valued arithmetic expressions in the context of a
symbol table that defines integer values for a set of names.
I am trying to do the histogram matching of the simulated data to the observed
data. The aim is to correct the bias in the simulated data by CDF matching
CDFobs(y) = CDFsim(x). I could only reach to the stage of generating the CDFs.
I got stuck in finding the transfer function.
The image shows
Ben Finney ben+pyt...@benfinney.id.au writes:
Hans Mulder han...@xs4all.nl writes:
Don't bother: Python comes with a free IDE named IDLE.
And any decent Unix-alike (most OSen apart from Windows) comes with its
own IDE: the shell, a good text editor (Vim or Emacs being the primary
On 4/01/13 03:56:47, Chris Angelico wrote:
On Fri, Jan 4, 2013 at 5:53 AM, Ray Cote
rgac...@appropriatesolutions.com wrote:
proxies = {
'https': '192.168.24.25:8443',
'http': '192.168.24.25:8443', }
a = requests.get('http://google.com/', proxies=proxies)
When I look at the proxy
On Sat, Jan 5, 2013 at 2:00 AM, Hans Mulder han...@xs4all.nl wrote:
It the proxy URL is http://192.168.24.25/, then the client should send
GET requests to the proxy in both cases, and the proxy should send GET
or CONNECT to the origin server, depending on whether origin URL uses
SSL.
If the
On Fri, Jan 4, 2013 at 6:34 PM, Anssi Saari a...@sci.fi wrote:
Ben Finney ben+pyt...@benfinney.id.au writes:
And any decent Unix-alike (most OSen apart from Windows) comes with its
own IDE: the shell, a good text editor (Vim or Emacs being the primary
candidates), and a terminal multiplexor
Hi
I wonder if the additional new line charachter at the end of the standard
output capture is on purpose with 'subprocess.check_output'?
subprocess.check_output([ 'cygpath', 'C:\\' ])
'/cygdrive/c\n'
If I do the same from the shell there is no extra new line (which is correct I
believe):
On 2013-01-04, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Thu, 03 Jan 2013 23:25:51 +, Grant Edwards wrote:
I've written a small assembler in Python 2.[67], and it needs to
evaluate integer-valued arithmetic expressions in the context of a
symbol table that defines
On 2013-01-04, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Fri, 04 Jan 2013 07:24:04 -0500, Terry Reedy wrote:
On 1/3/2013 6:25 PM, Grant Edwards wrote:
I've written a small assembler in Python 2.[67], and it needs to
evaluate integer-valued arithmetic expressions in the
On 01/04/2013 08:53 AM, Grant Edwards wrote:
That's obviously the right thing to do. I suppose I should figure
out how to use the ast module.
Or PyParsing.
As for your program being secure I don't see that there's much to
exploit. You're not running as a service, and you're not running
On Sat, Jan 5, 2013 at 2:50 AM, sbre...@hotmail.com wrote:
Hi
I wonder if the additional new line charachter at the end of the standard
output capture is on purpose with 'subprocess.check_output'?
subprocess.check_output([ 'cygpath', 'C:\\' ])
'/cygdrive/c\n'
If I do the same from the
On 2013-01-04, Michael Torrie torr...@gmail.com wrote:
On 01/04/2013 08:53 AM, Grant Edwards wrote:
That's obviously the right thing to do. I suppose I should figure
out how to use the ast module.
Or PyParsing.
As for your program being secure I don't see that there's much to
exploit.
If you are going to review an IDE, or multiple, I would recommend Komodo and
Komodo Edit.
On Thursday, December 27, 2012 2:01:16 PM UTC-6, mogul wrote:
'Aloha!
I'm new to python, got 10-20 years perl and C experience, all gained on unix
alike machines hacking happily in vi, and later
On 2013-01-04, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Thu, 03 Jan 2013 23:25:51 +, Grant Edwards wrote:
I've written a small assembler in Python 2.[67], and it needs to
evaluate integer-valued arithmetic expressions in the context of a
symbol table that defines
On Sat, Jan 5, 2013 at 3:38 AM, Grant Edwards invalid@invalid.invalid wrote:
I've added equals, backslash, commas, square/curly brackets, colons and
semicolons to the
prohibited character list. I also reduced the maximum length to 60
characters. It's unfortunate that parentheses are
On 01/04/13 01:34, Anssi Saari wrote:
Ben Finney ben+pyt...@benfinney.id.au writes:
And any decent Unix-alike (most OSen apart from Windows) comes with its
own IDE: the shell, a good text editor (Vim or Emacs being the primary
candidates), and a terminal multiplexor (such as ‘tmux’ or GNU
On 2013-01-04, Chris Angelico ros...@gmail.com wrote:
On Sat, Jan 5, 2013 at 3:38 AM, Grant Edwards invalid@invalid.invalid wrote:
I've added equals, backslash, commas, square/curly brackets, colons
and semicolons to the prohibited character list. I also reduced the
maximum length to 60
On Sat, Jan 5, 2013 at 4:14 AM, Grant Edwards invalid@invalid.invalid wrote:
On 2013-01-04, Chris Angelico ros...@gmail.com wrote:
On Sat, Jan 5, 2013 at 3:38 AM, Grant Edwards invalid@invalid.invalid
wrote:
I've added equals, backslash, commas, square/curly brackets, colons
and semicolons
Very good point, you are absolutely right:
# cygpath C:\\ | od -c
000 / c y g d r i v e / c \n
014
'bash' manual also confirms it:
Command Substitution
Command substitution allows the output of a command to replace the
command name. There are
Hi,
I'm hoping for some help on a python script I need to query an api. I'm not a
(Python) programmer ordinarily, but do plan to improve!
Specifically I have a for loop evaluating a database row, which I think I can
treat as a list. My [4] is a postgres boolean field, and I'm temporarily stuck
On 2013-01-04, Chris Angelico ros...@gmail.com wrote:
On Sat, Jan 5, 2013 at 4:14 AM, Grant Edwards invalid@invalid.invalid wrote:
On 2013-01-04, Chris Angelico ros...@gmail.com wrote:
On Sat, Jan 5, 2013 at 3:38 AM, Grant Edwards invalid@invalid.invalid
wrote:
I've added equals, backslash,
On Fri, 04 Jan 2013 13:33:41 +, Steven D'Aprano wrote:
On Fri, 04 Jan 2013 07:24:04 -0500, Terry Reedy wrote:
On 1/3/2013 6:25 PM, Grant Edwards wrote:
I've written a small assembler in Python 2.[67], and it needs to
evaluate integer-valued arithmetic expressions in the context of a
hy everyone, for my exam this year i had to write a computer game on vpython
(visualpython).we had to make a lunar lander game where the ship drops by
gravity and is able to manouver to safely land on the moon.brright now i am
completely stuck on trying to make the visual of the ship
On Sat, Jan 5, 2013 at 5:09 AM, Grant Edwards invalid@invalid.invalid wrote:
The error messages are still pretty cryptic, so improving
that will add a few more lines. One nice thing about the ast code is
that it's simple to add code to allow C-like character constants such
that ('A' ===
On 2013-01-04, Chris Angelico ros...@gmail.com wrote:
On Sat, Jan 5, 2013 at 5:09 AM, Grant Edwards invalid@invalid.invalid wrote:
The error messages are still pretty cryptic, so improving
that will add a few more lines. One nice thing about the ast code is
that it's simple to add code to
On Friday, January 4, 2013 10:08:22 AM UTC-8, andyd...@gmail.com wrote:
Hi,
I'm hoping for some help on a python script I need to query an api. I'm not a
(Python) programmer ordinarily, but do plan to improve!
Specifically I have a for loop evaluating a database row, which I think I can
On Sat, Jan 5, 2013 at 5:23 AM, jeltedepr...@hotmail.com wrote:
hy everyone, for my exam this year i had to write a computer game on vpython
(visualpython).we had to make a lunar lander game where the ship drops by
gravity and is able to manouver to safely land on the moon.brright now i am
On Sat, Jan 5, 2013 at 5:43 AM, Grant Edwards invalid@invalid.invalid wrote:
On 2013-01-04, Chris Angelico ros...@gmail.com wrote:
On Sat, Jan 5, 2013 at 5:09 AM, Grant Edwards invalid@invalid.invalid
wrote:
The error messages are still pretty cryptic, so improving
that will add a few more
On Sat, Jan 5, 2013 at 5:59 AM, Chris Angelico ros...@gmail.com wrote:
Google tells me that brandstofmeter might mean Babylon 9
And by the way, in case it didn't come across, I'm jesting there. What
I mean is that Google didn't have any useful and obvious results
indicating what this actually
In d559ab56-241b-49d0-84fd-ebd0b7042...@googlegroups.com
andydtay...@gmail.com writes:
for row in cursor:
row_count += 1
if row[4] = True
print row[1]
Since row[4] is a boolean value, you should be able to just say:
if row[4]:
On 2013-01-04 18:59, Chris Angelico wrote:
On Sat, Jan 5, 2013 at 5:23 AM, jeltedepr...@hotmail.com wrote:
hy everyone, for my exam this year i had to write a computer game on vpython (visualpython).we had to
make a lunar lander game where the ship drops by gravity and is able to manouver to
On 4 January 2013 19:00, Chris Angelico ros...@gmail.com wrote:
On Sat, Jan 5, 2013 at 5:59 AM, Chris Angelico ros...@gmail.com wrote:
Google tells me that brandstofmeter might mean Babylon 9
And by the way, in case it didn't come across, I'm jesting there. What
I mean is that Google didn't
On Sat, Jan 5, 2013 at 6:18 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
It might measure a brand in femtometers ;).
LOL!
But, seriously, it's Dutch for Fuel Gauge. Google told me, in case you think
I know Dutch, but it's in the Python Spirit either way.
ruimteschip - Spaceship
hoek
woow jeezes, thanks for the amazingly fast and detailed response, you guys are
amazing.
let's clear a few things up :
1) points is a module in vpython to make points, the points do in fact appear
although its not really the effect i intended to have, the points are lined
up in stead of
On Sat, Jan 5, 2013 at 7:01 AM, jeltedepr...@hotmail.com wrote:
woow jeezes, thanks for the amazingly fast and detailed response, you guys
are amazing.
thanks again, are you guys getting paid for this or is this voluntarily?
either way i really appreciate it
We're all volunteers (and it's
On 01/03/2013 05:52 PM, Terry Reedy wrote:
That seems like a improper error message from the tool. Invalid name
does *not* properly describe that situation. The name is *not*
Invalid in any sense of the word, and a checker that tells you it is
is creating needless false-positives. An error
On 01/03/2013 03:09 PM, Mike C. Fletcher wrote:
On 13-01-02 08:53 PM, someone wrote:
So this solution is not something I like too... But I can see some
other
people came up with good solutions, which I didn't knew about..
Why is this solution not to your liking? Python has namespaces for a
On 01/03/2013 12:27 PM, Chris Angelico wrote:
On Thu, Jan 3, 2013 at 10:19 PM, someone newsbo...@gmail.com wrote:
Doesn't this [ ... ] mean something optional?
What does {2,30}$ mean?
I think $ means that the {2,30} is something in the end of the sentence...
You can find regular expression
On 01/03/2013 12:39 PM, Peter Otten wrote:
someone wrote:
On 01/03/2013 10:00 AM, Peter Otten wrote:
Terry Reedy wrote:
[a-z_][a-z0-9_]{2,30}$) - so I suppose it wants this name to end with
[an
underscore ?
No, it allows underscores. As I read that re, 'rx', etc, do match. They
No, it's
On 01/03/2013 03:56 AM, Dave Angel wrote:
The first lint program I recall hearing of was available in the early
1980's, and was for the C language. At the time, the C language was
extremely flexible (in other words, lots of ways to shoot yourself in
the foot) and the compiler was mostly of the
On 01/04/2013 08:10 PM, someone wrote:
On 01/03/2013 03:09 PM, Mike C. Fletcher wrote:
snip
PyOpenGL's current approach is mostly attempting to maintain backward
compatibility with the older revisions. wxPython actually rewrote its
whole interface to go from * imports into namespaced
On 01/04/13 01:34, Anssi Saari wrote:
| Just curious since I read the same thing in a programming book recently
| (21st century C). So what's the greatness that terminal multiplexors
| offer over tabbed terminals? Especially for software development?
Do you include tiling terminal emulators? I
In article mailman.105.1357349909.2939.python-l...@python.org,
Cameron Simpson c...@zip.com.au wrote:
On 01/04/13 01:34, Anssi Saari wrote:
| Just curious since I read the same thing in a programming book recently
| (21st century C). So what's the greatness that terminal multiplexors
| offer
In reading through one of the learning articles, I have a bit of code
that imports ttk, but I apparently don't have this installed. I've
looked up the svn checkout for python-tk, and have checked it out
(read-only), but still get the same error. I'm running 2.6.6 python, if
that helps. The article
On 1/4/2013 11:02 PM, Verde Denim wrote:
In reading through one of the learning articles, I have a bit of code
that imports ttk, but I apparently don't have this installed. I've
looked up the svn checkout for python-tk, and have checked it out
(read-only), but still get the same error. I'm
Марк Коренберг added the comment:
Ups. hiding EOFHeaderError is not an error.
But handilng of other errors is not perfect. Please review TarFile.next() for
cases where .tar file is corrupted. For example,
TruncatedHeaderError is re-raised only if problem at the start of the file.
Really, it
Changes by Ned Deily n...@acm.org:
--
nosy: +lars.gustaebel
versions: -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16858
___
___
Changes by Ned Deily n...@acm.org:
--
nosy: +lars.gustaebel
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16859
___
___
Python-bugs-list mailing
Serhiy Storchaka added the comment:
Here is a patch.
--
assignee: - serhiy.storchaka
components: +Unicode
keywords: +3.3regression, patch
nosy: +ezio.melotti, serhiy.storchaka
stage: - patch review
Added file: http://bugs.python.org/file28555/unicode_append.patch
Christian Heimes added the comment:
IMO the check is better performed a couple of lines later:
if (right == NULL || left == NULL || !PyUnicode_Check(left)) {
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
+1
I think it's sufficient to parallelize the compilation step (.c - .o) and
ignore the linker step. Linking is usually so fast that it doesn't matter.
Idea:
* separate compile step from link step
* run all compile calls for all extensions in parallel until
Stefan Krah added the comment:
Daniel Shahaf rep...@bugs.python.org wrote:
Is there a requirement that it loads a particular module? Would etree
users notice the difference if pickle.load() returns an instance of the
other Element implementation than the one they pickled?
Yes: If you send
Roundup Robot added the comment:
New changeset b0926ddcab5e by Serhiy Storchaka in branch 'default':
Issue #16674: random.getrandbits() is now 20-40% faster for small integers.
http://hg.python.org/cpython/rev/b0926ddcab5e
--
nosy: +python-dev
___
Nico Möller added the comment:
I most definitely need a patch for 2.7.3
Would be awesome if you could provide a patch for that version.
--
nosy: +Nico.Möller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9720
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16674
Kushal Das added the comment:
The patches look good. Applied successfully and tests ran ok.
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16799
___
Roundup Robot added the comment:
New changeset 3cee61137598 by Serhiy Storchaka in branch '3.3':
Issue #16856: Fix a segmentation fault from calling repr() on a dict with
http://hg.python.org/cpython/rev/3cee61137598
New changeset fee4bc043d73 by Serhiy Storchaka in branch 'default':
Issue
Serhiy Storchaka added the comment:
IMO the check is better performed a couple of lines later:
Done.
Thank you for report, David.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Roundup Robot added the comment:
New changeset dea89ee34402 by Chris Jerdonek in branch '2.7':
Issue #16747: Reflow iterable glossary entry to match 3.x change e19ed347523e.
http://hg.python.org/cpython/rev/dea89ee34402
--
___
Python tracker
Charles-François Natali added the comment:
Here's a new version adressing Guido's comments (except for kqueue, for which
I'll add support later when I can test it).
I'm also attaching a benchmark to compare the implementations: as noted by
Guido, the complexity of select/poll/epoll are the
Changes by Charles-François Natali neolo...@free.fr:
Added file: http://bugs.python.org/file28557/selector_bench.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28553/selector-1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Serhiy Storchaka added the comment:
Here are second variant patches for 2.7 and 3.2.
--
Added file: http://bugs.python.org/file28558/zipfile_zip64_try_2-2.7.patch
Added file: http://bugs.python.org/file28559/zipfile_zip64_try_2-3.2.patch
___
Python
Charles-François Natali added the comment:
Windows provides O_NOINHERIT (_O_NOINHERIT) flag which has a similar purpose.
... and even then, many Unices don't support it.
Yes, but I bet that more and more OSes will support it :-) For example, it
looks like O_CLOEXEC is part of the POSIX
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
___
STINNER Victor added the comment:
So if we expose it and the underlying operating system doesn't support
it, do you want to fallback to fcntl (which wouldb't be atomic
anymore, but let's pretend the GIL protection is enough).
At the beginning, I was convinced that the atomicity was important
Charles-François Natali added the comment:
O_CLOEXEC solves for example a race condition in tempfile._mkstemp_inner():
fd = _os.open(file, flags, 0o600)
_set_cloexec(fd)
Hum...
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
--- a/Lib/tempfile.py
+++
New submission from STINNER Victor:
os.O_CLOEXEC has been added to Python 3.3. This flag solves a race condition if
the process is forked between open() and a call to fcntl() to set the
FD_CLOEXEC flag.
The following patch written by neologix should fix this issue:
diff --git
STINNER Victor added the comment:
We should probably add this to 3.3 and default (IIRC O_CLOEXEC was
added to the os module in 3.3).
I created the issue #16860. I just realized that tempfile doesn't use open()
but os.open(), so this issue help to fix #16860.
--
STINNER Victor added the comment:
See also #16850 which proposes to expose O_CLOEXEC feature in the open()
builtin function.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16860
___
Charles-François Natali added the comment:
Here's the patch.
It also removes O_NOFOLLOW, which is basically useless (if the file is created
with O_CREAT|O_EXCL, then by definition it's not a symlink).
--
keywords: +needs review, patch
type: - behavior
Added file:
STINNER Victor added the comment:
Here is a work-in-progress patch to test my idea: add e flag to open().
Limitations/TODO:
* The unit test doesn't work on Windows (it requires fcntl)
* e mode and the opener argument are exclusive: if O_CLOEXEC and
O_NOINHERINT are missing, I don't see how
Tshepang Lekhonkhobe added the comment:
thanks
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16857
___
___
Python-bugs-list mailing list
STINNER Victor added the comment:
Here's the patch.
_set_cloexec() is still called whereas it is useless if the OS supports
O_CLOEXEC... But the call must be kept because Linux 2.6.23 just ignores
O_CLOEXEC: we would have to check _fcntl.fcntl(fd, _fcntl.F_GETFD, 0)
_fcntl.FD_CLOEXEC to
Charles-François Natali added the comment:
Brian, could you add tests to Lib/test/test_socket.py (look for CANTest, you
should be able to complete them).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15359
Nick Coghlan added the comment:
Updated issue title to better describe the symptoms of the issue (and hopefully
make it so I don't spend 5 minutes remembering the issue title every time I
want to look at it...)
--
title: Bug in code dispatching based on internal slots - Incorrect
Eli Bendersky added the comment:
On Jan 4, 2013 2:09 AM, Stefan Krah rep...@bugs.python.org wrote:
Stefan Krah added the comment:
Daniel Shahaf rep...@bugs.python.org wrote:
Is there a requirement that it loads a particular module? Would etree
users notice the difference if
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14807
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
components: +Interpreter Core
type: resource usage - performance
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9685
Todd Rovito added the comment:
A ping on this bug since it has not had any forward movement. Can somebody
please review and or commit? Thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5066
Changes by Serhiy Storchaka storch...@gmail.com:
--
components: +Tests -Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12018
___
___
New submission from Ramchandra Apte:
In
http://docs.python.org/2/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields
, a portion of the code example is not highlighted.
---
Happy, new, melodious, joyful, etc, boring new year.
--
assignee: - docs@python
Changes by Ramchandra Apte maniandra...@gmail.com:
--
nosy: ramchandra.apte
priority: normal
severity: normal
status: open
title: Portion of code example not highlighted in collections doc
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
See also issue16550.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9267
___
___
Ronald Oussoren added the comment:
There are tests for samefile and sameopenfile in test_genericpath.GenericTest
which is included by test_ntpath (NtCommonTest subclasses
test_genericpath.CommonTest which again subclasses GenericTest).
I cannot easily test on Windows (the only windows systems
Brian Curtin added the comment:
That's true of the default branch due to some changes I recently made in the
implementation of the functions, but we should probably put tests into 3.2/3.3.
--
___
Python tracker rep...@bugs.python.org
New submission from Ramchandra Apte:
The FAQ says It’s [Stackless] still experimental but looks very promising.
AFAIK, Stackless is mature.
--
assignee: docs@python
components: Documentation
messages: 179038
nosy: docs@python, ramchandra.apte
priority: normal
severity: normal
status:
Ramchandra Apte added the comment:
Sorry, link here,
http://docs.python.org/3/faq/design.html#can-t-you-emulate-threads-in-the-interpreter-instead-of-relying-on-an-os-specific-thread-implementation
.
--
___
Python tracker rep...@bugs.python.org
Giampaolo Rodola' added the comment:
Previous issue should have been fixed by now.
Closing.
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14807
___
New submission from Charlie Dimino:
http://docs.python.org/2/howto/argparse.html
Error message in the first example is outdated, may indicate further out of
date information on page.
Example:
The tutorial says:
prog.py: error: the following arguments are required: echo
When the actual error
Guido van Rossum added the comment:
Would it make sense to explore this in the Tulip project first? It could be a
new module, tulip/selector.py. (Heck, I'll even give you commit privileges in
Tulip.)
Also, I've heard (but don't know from personal experience) that Jython supports
select but
R. David Murray added the comment:
Ah, the whole tutorial is newish. So this is a bug just in the 2.7 version of
the tutorial (it doesn't match the 2.7 code), and yes, there may be other
issues as well.
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
Actually it looks like it is future-dated. The documented error message is the
one you get from 3.3. I guess someone backported a doc change for a feature
change.
--
nosy: +r.david.murray
___
Python tracker
R. David Murray added the comment:
See issue 14034. Ezio apparently left the error messages unchanged on
purpose...I'm not sure why.
--
assignee: docs@python -
nosy: +ezio.melotti, tshepang
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
I've posted a review on Rietveld. Not sure the notification e-mail was sent
since I got a weird response from the server.
should EINTR be handled (i.e. retry, with an updated timeout). I'm tempted to
say
yes, because EINTR is just a pain the user should
Serhiy Storchaka added the comment:
Can this issue be closed?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10557
___
1 - 100 of 187 matches
Mail list logo