-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm happy to announce the release of Pygments 1.6, release candidate 1.
Pygments is a generic syntax highlighter written in Python.
Pygments 1.6 is again a large release, with over 30 new languages or markups
supported, and a few interesting new
On Thu, Jan 10, 2013 at 7:01 AM, Karim kliat...@gmail.com wrote:
Hello all,
I want to run multiline shell command within python without using a
command file but directly execute several lines of shell.
I already use *subprocess.checkoutput(csh -f my_file.csh.split())* but I
want to know
Tim Golden m...@timgolden.me.uk writes:
On 09/01/2013 14:45, Jose Trevino wrote:
I am trying to load the PIL module to manage exif metadata with
Python but have had no success.
Try pyexiv2:
http://tilloy.net/dev/pyexiv2/
TJG
Or Hachoir
http://pypi.python.org/pypi/hachoir-metadata
Dave Cinege d...@cinege.com wrote:
You will notice that the code is disgusting simple. However I have
found that this has completely changed the way I program in python.
I've re-written some exiting programs using Thesaurus, and often
relized 15-30% code reduction. Additionally I find the new
在 2013年1月10日星期四UTC+8下午7时34分23秒,Duncan Booth写道:
Dave Cinege d...@cinege.com wrote:
You will notice that the code is disgusting simple. However I have
found that this has completely changed the way I program in python.
I've re-written some exiting programs using Thesaurus, and often
On 10/01/2013 09:31, Hugo Arts wrote:
On Thu, Jan 10, 2013 at 7:01 AM, Karim kliat...@gmail.com
mailto:kliat...@gmail.com wrote:
Hello all,
I want to run multiline shell command within python without using
a command file but directly execute several lines of shell.
I already
-- Weitergeleitete Nachricht --
From: Dave Angel d...@davea.name
To: python-list@python.org
Cc:
Date: Thu, 10 Jan 2013 00:56:20 -0500
Subject: Re: subprocess.Popen and multiprocessing fails to execute
external program
On 01/09/2013 11:08 PM, Niklas Berliner wrote:
I
Have you looked a the pexpect class? It works like gangbusters, especially
if you're trying to run something with an interactive shell.
http://www.noah.org/wiki/pexpect
On Thu, Jan 10, 2013 at 9:25 AM, Karim kliat...@gmail.com wrote:
On 10/01/2013 09:31, Hugo Arts wrote:
On Thu, Jan 10,
In article roy-10b053.20174309012...@news.panix.com,
Roy Smith r...@panix.com wrote:
In article mailman.344.1357772847.2939.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
On Thu, Jan 10, 2013 at 9:54 AM, Roy Smith r...@panix.com wrote:
What's weird is that two of the servers,
On Fri, Jan 11, 2013 at 3:06 AM, Roy Smith r...@panix.com wrote:
Well, this is fascinating. It turns out that while all of our
machines report that they're running 2.7.3, they have two different
versions of /usr/lib/python2.7/logging/handlers.py!
-rw-r--r-- 1 root root 45076 Aug 1 05:39
Dear all,
I recently upgraded my system from ubuntu 11.4 to 12.4 and since run into an
issue when trying to import several packages in python2.7, e.g.
harold@ubuntu:~$ python -c 'import gtk'
Traceback (most recent call last):
File string, line 1, in module
File
On Fri, Jan 11, 2013 at 3:06 AM, Roy Smith r...@panix.com wrote:
-rw-r--r-- 1 root root 45076 Aug 1 05:39
/usr/lib/python2.7/logging/handlers.py
-rw-r--r-- 1 root root 45143 Apr 20 2012
/usr/lib/python2.7/logging/handlers.py
Chris Angelico ros...@gmail.com wrote:
$ dpkg -S
On Fri, Jan 11, 2013 at 3:40 AM, Roy Smith r...@panix.com wrote:
On Fri, Jan 11, 2013 at 3:06 AM, Roy Smith r...@panix.com wrote:
-rw-r--r-- 1 root root 45076 Aug 1 05:39
/usr/lib/python2.7/logging/handlers.py
-rw-r--r-- 1 root root 45143 Apr 20 2012
/usr/lib/python2.7/logging/handlers.py
Hi there guys i've got a script that's suppose to find the average of two times
as strings. The times are in minutes:seconds:milliseconds
i'm doing ok in printing the right minutes and seconds my problem is with the
milliseconds.
Example if i have 00:02:20 and 00:04:40 the average will be
On 10 January 2013 17:50, pmec pcura...@gmail.com wrote:
Hi there guys i've got a script that's suppose to find the average of two
times as strings. The times are in minutes:seconds:milliseconds
i'm doing ok in printing the right minutes and seconds my problem is with the
milliseconds.
You
Two quick corrections to what I wrote...
On 10 January 2013 18:13, Oscar Benjamin oscar.j.benja...@gmail.com wrote:
On 10 January 2013 17:50, pmec pcura...@gmail.com wrote:
Hi there guys i've got a script that's suppose to find the average of two
times as strings. The times are in
On 2013-01-10 17:50, pmec wrote:
Hi there guys i've got a script that's suppose to find the average of two times
as strings. The times are in minutes:seconds:milliseconds
i'm doing ok in printing the right minutes and seconds my problem is with the
milliseconds.
Example if i have 00:02:20 and
Hello,
I´m trying to make a script, which will change the background and foreground
color of widgets after hovering.
-
from Tkinter import *
root=Tk()
Hover1=Button(root,text=Red color, bg=white)
Hover1.pack()
Hover2=Button(root,text=Yellow color, bg=white)
On 10/01/2013 16:21, Matty Sarro wrote:
Have you looked a the pexpect class? It works like gangbusters,
especially if you're trying to run something with an interactive shell.
http://www.noah.org/wiki/pexpect
On Thu, Jan 10, 2013 at 9:25 AM, Karim kliat...@gmail.com
mountdoo...@gmail.com wrote:
I´m trying to make a script, which will change the background and
foreground color of widgets after hovering.
but when I hover on any button, nothing happens, they stay white. I know I
could use a function, but there would be two functions for every widget (1
On 01/10/2013 12:23 AM, Steven D'Aprano wrote:
In general-purpose scripting languages, Python continues to grow slowly,
JavaScript and Ruby are treading water, and Perl continues its long
decline. According to Google trends, the number of searches for Perl is
19% of what it was in 2004. Its
Hi Oscar,
Thank you for your reply, and you are absolutely right, I meant hundredths of a
second to be outputed
--
http://mail.python.org/mailman/listinfo/python-list
Hi Oscar, again I do apologize for my beginner mistakes, I've changed the code
taking in consideration some of your and MRAB suggestions.
Could you give me an example on how could I use the datetime.timedelta function
in this particular case.
This is my code:
def lap_average(lap1, lap2):
I have solutions manuals to all problems and exercises in these textbooks. To
get one in an electronic format contact me at: kalvinmanual(at)gmail(dot)com
and let me know its title, author and edition. Please this service is NOT free.
instructor's solutions manual to OpenScape Voice V3.1R3 Test
On Thu, Jan 10, 2013 at 1:31 PM, pmec pcura...@gmail.com wrote:
Hi Oscar, again I do apologize for my beginner mistakes, I've changed the
code taking in consideration some of your and MRAB suggestions.
Could you give me an example on how could I use the datetime.timedelta
function in this
On Wednesday, January 9, 2013 11:23:51 PM UTC-8, Steven D'Aprano wrote:
One should always be careful pronouncing a language dead or dying,
No kidding!
https://www.google.com/#q=is+fortran+still+used
I usually use the query phrase Why isn't Fortran dead yet?, but you get a
better list of
On Thu, 10 Jan 2013 12:42:49 -0700, Michael Torrie wrote:
And from the TIOBE Index, Python is steady at number 8:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
The TIOBE index is meaningless. Since it's based on google searches,
one could probably guess that any
On 1/10/2013 11:06 AM, Roy Smith wrote:
Well, this is fascinating. It turns out that while all of our
machines report that they're running 2.7.3, they have two different
versions of /usr/lib/python2.7/logging/handlers.py!
-rw-r--r-- 1 root root 45076 Aug 1 05:39
On Thu, 10 Jan 2013 07:23:51 +, Steven D'Aprano wrote:
In general-purpose scripting languages, Python continues to grow
slowly, JavaScript and Ruby are treading water, and Perl continues its
long decline. According to Google trends, the number of searches for
Perl is 19% of what it was in
Hi,
I've got a unit test that will usually succeed but sometimes fails. An
occasional failure is expected and fine. It's failing all the time I want to
test for.
What I want to test is on average, there are the same number of males and
females in a sample, give or take 2%.
Here's the unit
In article b312f3e7-5c73-486e-925e-da8343963...@googlegroups.com,
Nick Mellor thebalance...@gmail.com wrote:
Hi,
I've got a unit test that will usually succeed but sometimes fails. An
occasional failure is expected and fine. It's failing all the time I want to
test for.
What I want to
On Thu, 10 Jan 2013 17:59:05 -0800, Nick Mellor wrote:
Hi,
I've got a unit test that will usually succeed but sometimes fails. An
occasional failure is expected and fine. It's failing all the time I
want to test for.
Well, that's not really a task for unit testing. Unit tests, like most
Kurt wrote:
Spooky behavior. Yes, the green-apple-example also works for me with
your new script, BUT ...!
Try to copy the table content on this page:
http://www.danacord.dk/frmsets/records/732-r.html
which is a realistic scenario. That's whar I am doing these days.
Pasting it into Gedit
At one point or another I'm pretty sure I've googled _ sucks for every
language I've ever used- even the ones I like. ie: Python easily more than
once.
Craig reporting from the road
10550 N Torrey Pines Rd
La Jolla CA 92037
work: 858 784 9208
cell: 619 623 2233
On Jan 10, 2013, at 3:32
On 1-7-2013 2:53:26 AM UTC-6, chaouche yacine wrote:
Thanks for all your comments. It appears to me that there
is a slight confusion between types and classes then, plus
other entities (protocols ?)
The only confusion stems from improper terminology. Class is the worst
possible word to
On Thursday, January 10, 2013 1:13:38 PM UTC-6, Peter Otten wrote:
mountdoom wrote:
I´m trying to make a script, which will change the background and
foreground color of widgets after hovering.
Peter's advice is spot on except you may want ALL widgets to change colors on
ENTER and LEAVE
Python's module/package access uses dot notation.
mod1.mod2.mod3.modN
Like many warts of the language, this wart is not so apparent when first
learning the language. The dot seems innocently sufficient, however, in truth
it is woefully inadequate! Observe:
name1.name2.name3.name4.name5
Python's import resolution order is terrible.[1]
The fact that Python looks in the stdlib _first_ is not a good idea. It would
seem more intuitive for a custom math module (living in the current
directory) to /override/ the stlib math module. The proper order is as
follows:
1. Current
On Fri, Jan 11, 2013 at 5:13 PM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
The fact that Python looks in the stdlib _first_ is not a good idea. It would
seem more intuitive for a custom math module (living in the current
directory) to /override/ the stlib math module. The proper order
Serhiy Storchaka added the comment:
Can you please provide an example of data for which the tostring method fails?
I can't reproduce this on simple data.
import xml.etree.ElementTree as ET
ET.tostring(ET.XML('rootbq/bwerty/root'), method='text',
encoding='unicode')
'qwerty'
--
Changes by Hynek Schlawack h...@ox.cx:
--
title: symlinks incorrectly resolved on Linux - symlinks incorrectly resolved
on POSIX platforms
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6975
Serhiy Storchaka added the comment:
I found such example. It happens when the data contains XML entity.
ET.tostring(ET.XML('rootaamp;/root'), method='text',
encoding='unicode')
Traceback (most recent call last):
File stdin, line 1, in module
File
Olof Johansson added the comment:
Thank you for you feedback. I agree, the reason I wanted this was because of a
corner case, but otoh, the username:password syntax is the real corner case
imho. Of course, I understand that this must be supported for backwards
compatability.
(For fully RFC
Frank added the comment:
It happens whenever the method is called, regardless of input. I'm using HTML
that has been tidied first with HTML entities (if any) converted to unicode
values.
--
___
Python tracker rep...@bugs.python.org
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16912
___
___
Frank added the comment:
Scratch that, it happens whenever there are XML entities (lt;, quot; and
friends) that are appearing the text as you pointed out.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16913
Serhiy Storchaka added the comment:
Here is a patch for 3.3+. 2.7 and 3.2 are not affected.
--
keywords: +patch
stage: needs patch - patch review
versions: +Python 3.4
Added file: http://bugs.python.org/file28666/etree_itertext.patch
___
Python
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15948
___
___
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +daniel.urban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16894
___
___
Amaury Forgeot d'Arc added the comment:
In _ctypes.c there are (only!) two occurrences of the long type... both are
related to ctypes arrays and look suspect.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16865
New submission from gac:
I had cause to use smtplib to help me pinpoint why some outgoing mail was
failing, but found that while it offered verbose logging (via debuglevel 1)
this was without timestamps, making it difficult to make my case to the server
operator that it was a server-side
Marek Šuppa added the comment:
So what do you think should be done here?
Just removing the or --repository= part?
--
nosy: +mrshu
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16874
___
Berker Peksag added the comment:
I think the problem is the usage of `:option:`.
|:option:`--repository=url` or :option:`--repository=section`| should be
written like |:option:`--repository=*url*` or :option:`--repository=*section*`|
See:
-
Andrew Svetlov added the comment:
It's not a typo.
1. LoadError is inherited from OSError so LoadError exception is also caught.
2. Pointed code just resets cookie state and reraises exception, exception type
is saved.
The code is correct from my perspective.
--
Andrew Svetlov added the comment:
Eric, if you want to keep distutils2 issues on the tracker for a while — I'm ok
with that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13198
___
New submission from Antoon Pardon:
The documentation of socket.makefile states that its arguments are interpreted
the same way as by the built-in open() function. However the mode argument of
socket.makefile only allows 'r', 'w' and 'b'.
That some options are not allowed seems perfectly
Roundup Robot added the comment:
New changeset 8d6dadfecf22 by Eli Bendersky in branch '3.3':
Issue #16076: make _elementtree.Element pickle-able in a way that is compatible
http://hg.python.org/cpython/rev/8d6dadfecf22
New changeset 4c268b7c86e6 by Eli Bendersky in branch 'default':
Issue
New submission from Dražen Lučanin:
When running this script:
things = ['a', 'b']
things.append('c'
for a in things:
print a
I get the following output:
$ python script.py
File script.py, line 3
for a in things:
^
SyntaxError: invalid syntax
the SyntaxError is
New submission from Marco Buttu:
The PEP 3132 said:
... if seq is a slicable sequence, all the following assignments are equivalent
if seq has at least three elements:
a, b, c = seq[0], seq[1:-1], seq[-1]
a, *b, c = seq
[a, *b, c] = seq
But this doesn't happen for byte strings:
seq =
Eli Bendersky added the comment:
Fixed in 3.3 and default. Thanks for the good work, Daniel. A separate issue
can be opened for TreeBuilder.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker
Changes by Dražen Lučanin kermit...@gmail.com:
--
type: compile error - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16917
___
___
Ezio Melotti added the comment:
The colon is the first invalid char, for example this is valid python and works:
things = ['a', 'b']
things.append('c'
... for a in things)
things
['a', 'b', generator object genexpr at 0xb76dacfc]
In your case Python expects a genexp like things.append('c'
Mark Dickinson added the comment:
The error is in a missing parenthesis after the append call
Well, that's one *possible* cause of the error. But fixing that missing
parenthesis isn't the only way to make the code correct, and Python doesn't
have any reasonable way to guess which of the
Roundup Robot added the comment:
New changeset d965ff47cf94 by Eli Bendersky in branch '3.3':
Issue #16913: Fix Element.itertext()'s handling of text with XML entities.
http://hg.python.org/cpython/rev/d965ff47cf94
New changeset 9ab8632e7213 by Eli Bendersky in branch 'default':
Issue #16913:
Eli Bendersky added the comment:
Fixed. Thanks.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16913
___
Roundup Robot added the comment:
New changeset c46054b49b6c by Eli Bendersky in branch '3.3':
Update Misc/NEWS for issue #16076
http://hg.python.org/cpython/rev/c46054b49b6c
--
___
Python tracker rep...@bugs.python.org
Walter Dörwald added the comment:
I'd like to have this feature too. However the code should use
d if d is not None else {}
instead of
d or {}
For example I might want to use a subclass of dict (lowerdict) that converts
all keys to lowercase. When I use an empty lowerdict in
Eli Bendersky added the comment:
Attaching an alternative patch, that goes one (little) step further. Instead of
repeating the ignored list all over the place (code, docstrings, ReST docs),
the module exposes DEFAULT_IGNORES so everything can refer to it.
Also added some tests for this
Eli Bendersky added the comment:
Ariel, are you interested in pursuing this issue?
Serhiy, I see you assigned this to yourself - would you like to submit a patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14377
Serhiy Storchaka added the comment:
For better syntax error messages see issue1634034.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16917
___
Dražen Lučanin added the comment:
Yes, sure, I agree with both comments. Fors are a bit disambiguous in
this context in comparison to while loops. But something in the style
of Ezio's explanation might come in handy in the error output.
e.g.
SyntaxError: invalid syntax. , or ) expected in the
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16509
___
___
Ezio Melotti added the comment:
This would all be a bit simpler if an indent was obligatory after
inserting a newline in the middle of a command.
This is not such a bad idea, but it is not backward-compatible and it would be
inconsistent with how parentheses works in other situations.
R. David Murray added the comment:
For the record, this is a regression introduced by the fix for issue 9750. I
plan to commit the fix shortly, thanks for the report and patch.
--
nosy: +r.david.murray
stage: - commit review
type: crash - behavior
versions: +Python 2.7, Python 3.3,
R. David Murray added the comment:
For the record, this patch also introduced another regression (issue 15545).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9750
___
Barry A. Warsaw added the comment:
Note that this change is causing problems with genshi due to API backward
incompatibility. This is reported here:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1097783
The reason the user found it in Ubuntu first is that we track hg tip, but I've
Barry A. Warsaw added the comment:
Nosied Benjamin since this is a release issue. Re-opened, assigned to him, and
release blocked for 2.7.4.
--
assignee: - benjamin.peterson
nosy: +georg.brandl, larry
priority: normal - release blocker
status: closed - open
Roundup Robot added the comment:
New changeset 2cdb599172ab by R David Murray in branch '3.2':
#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
http://hg.python.org/cpython/rev/2cdb599172ab
New changeset 6a85894c428f by R David Murray in branch '3.3':
merge #15545: fix
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10182
___
___
Vinay Sajip added the comment:
d if d is not None else {}
Your intention makes sense, though I would prefer to write it as:
if d is None:
d = {}
return self.__class__(d, *self.maps)
--
___
Python tracker rep...@bugs.python.org
Andrew Svetlov added the comment:
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16218
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 2cdb599172ab by R David Murray in branch '3.2':
#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
http://hg.python.org/cpython/rev/2cdb599172ab
New changeset 6a85894c428f by R David Murray in branch '3.3':
merge #15545: fix
Benjamin Peterson added the comment:
Actually, 2.7 should just use PyInt_FromSsize_t, which only promotes when
needed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10182
___
R. David Murray added the comment:
Peter, I see you've made contributions before, but you don't show as having a
contributor agreement on file according to the tracker. Have you sent one in?
If not, would you, please?
Thanks again for the fix.
--
components: +Library (Lib) -None
Roundup Robot added the comment:
New changeset 0f5067d9e1d8 by Benjamin Peterson in branch '2.7':
use PyInt_FromSsize_t instead of PyLong_FromSsize_t (#10182)
http://hg.python.org/cpython/rev/0f5067d9e1d8
--
___
Python tracker rep...@bugs.python.org
Benjamin Peterson added the comment:
It's good you were able to report this before we released anything.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10182
___
New submission from Zachary Ware:
Here's the fix for test_codecs.py, I believe. I had a few headaches trying to
get this patch created without changing some of the characters or adding a BOM
to the file, and at one point the test was failing for no apparent reason.
This version of the patch
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email
nosy: +barry, r.david.murray
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16914
___
New submission from Zachary Ware:
Here's a fix for test_crypt.py, inspired by Ezio's mention of using setUpModule
in issue 16905.
I can't test this on a platform that actually has _crypt at the moment, but I
should be able to later today if nobody else has before then. Some tinkering
has
Serhiy Storchaka added the comment:
Patch rewritten using recursion. Non-recursive version is not stack limited
(and a little faster), but recursive version is perhaps more understandable.
Some comments added.
--
Added file: http://bugs.python.org/file28672/posix_realpath_2.patch
Serhiy Storchaka added the comment:
dict(a = i for i in range(10))
+SyntaxError: invalid syntax - ')' expected
The () are ok, the message is misleading.
dict(a = i) is valid syntax, the compiler expects ) instead of invalid
for.
'name' here is a bit vague.
The compiler
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16919
___
Serhiy Storchaka added the comment:
Serhiy, I see you assigned this to yourself - would you like to submit a
patch?
Not right now. This is low priority for me too. But I want to see this feature
in 3.4.
--
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16918
___
Ezio Melotti added the comment:
I'm not saying that these errors are wrong -- just that they are misleading
(i.e. they might lead the user on the wrong path, and make finding the actual
problem more difficult).
It should be noted that the examples I pasted don't include a full traceback
New submission from John Brearley:
Using a multiprocessing.connection listener, I can accept an incoming socket
OK, but when I do conn.recv(), I get memory error. The attached script
mpl_bug.py will readily reproduce the issues on WinXP WinVista, see sample
output below:
pre
c:\python
Changes by John Brearley brear...@magma.ca:
--
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16920
___
___
Python-bugs-list
New submission from Torsten Landschoff:
The documentation of CREATE_NEW_CONSOLE at
http://docs.python.org/3/library/subprocess.html#subprocess.CREATE_NEW_CONSOLE
states:
This flag is always set when Popen is created with shell=True.
This does not fit the code which does
if
John Brearley added the comment:
In V3.2.2.3, the conn.accept() was failing to resolve the socket address.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16920
___
New submission from Serhiy Storchaka:
import xml.etree.cElementTree as ET
ET.XML('rootempty //root').findtext('empty')
b''
--
components: XML
files: etree_finditer_empty.patch
keywords: patch
messages: 179580
nosy: eli.bendersky, serhiy.storchaka
priority: normal
severity: normal
1 - 100 of 172 matches
Mail list logo