ドミトリ ステパヌシキン angelja...@gmail.com added the comment:
actually I changed all, that was needed to build Python static library for iOS
device(BTW it doesn't work for simulator, I got configure errors, I can't(or
have no time if u want) to resolve), but not much changes.
Want to see working
New submission from anatoly techtonik techto...@gmail.com:
http://docs.python.org/library/subprocess.html#exceptions documentation is
wrong at least for the case when shell=True on Linux. An attempt to execute a
non-existent file with:
process = subprocess.Popen(sdfsdf, shell=True,
ドミトリ ステパヌシキン angelja...@gmail.com added the comment:
I embedded 2.7.2 static in iOS test app, and, at least print something is
worked.
Now I *sigh* need to make it compile and work on iPhone Simulator.
I'll try hard, and upload working script, if I'll can fix this mess.
--
Merlijn van Deen valhall...@gmail.com added the comment:
Thanks for your responses!
@Ezio:
1) I can see your point. On the other hand, I also think it is helpful to have
a prominent note on this - the first thing people see after following the
instructions is a huge list of build errors (see
New submission from Hynek Schlawack h...@ox.cx:
It says
csv.reader(csvfile[, dialect='excel'][, fmtparam])
csv.writer(csvfile[, dialect='excel'][, fmtparam])
in 2.7. I presume it should be like in 3.x:
csv.reader(csvfile, dialect='excel', **fmtparams)
csv.writer(csvfile, dialect='excel',
Petri Lehtinen pe...@digip.org added the comment:
I verified from the source that it should be **fmtparams also in 2.7. Make sure
you change the description texts, too, to s/fmtparam/fmtparams/.
--
nosy: +petri.lehtinen
___
Python tracker
ドミトリ ステパヌシキン angelja...@gmail.com added the comment:
fixed it for build BIG FAT binary. attached.
--
Added file: http://bugs.python.org/file25672/iOS-build272.sh
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14866
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a3c52115 by Hynek Schlawack in branch '2.7':
#14804: Remove [] around optional arguments with default values
http://hg.python.org/cpython/rev/a3c52115
--
___
Hynek Schlawack h...@ox.cx added the comment:
The problematic cases have been outsourced to Issue14880 Issue14870. Closing
this one.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Ross Lagerwall rosslagerw...@gmail.com added the comment:
See also issue1260171.
Closing as a duplicate of that.
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - subprocess: more general (non-buffering) communication
type: - enhancement
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Closed issue14872 as a duplicate of this.
--
assignee: astrand -
nosy: +rosslagerwall
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1260171
New submission from Itay Brandes akari...@gmail.com:
multiprocessing.dummy crashes when attempting to create a ThreadPool from a
Thread.
The following code will crush on 2.7.3:
import multiprocessing.dummy
import threading
class Worker(threading.Thread):
def
stw sil...@googlemail.com added the comment:
I'd come to the same conclusion - as the new dict is built up (using batch
build) it keeps appearing in generation 0, and the gc has to walk over it to
determine that it should be untracked.
However, this only seems to be true if the pickle file
Changes by Itay Brandes akari...@gmail.com:
--
components: +Library (Lib) -None
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14881
___
___
Phil Daintree phildaint...@gmail.com added the comment:
Another example - the following xml returned and displayed from verbose mode:
?xml version=1.0?
methodResponse
params
param
valuearray
data
valuestring0001/string/value
valuestring001/string/value
valuestring002/string/value
Phil Daintree phildaint...@gmail.com added the comment:
The xml parses happily at http://www.w3schools.com/xml/xml_validator.asp
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11804
___
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1260171
___
___
Raphaël Droz raphael.droz+fl...@gmail.com added the comment:
$ python -c import netrc; print
netrc.netrc('/dev/stdin').authenticators('a')machine a login b password c
('b', None, 'c')
$ python -c import netrc; print
netrc.netrc('/dev/stdin').authenticators('a')machine a login b password
héhé
Changes by Ross Lagerwall rosslagerw...@gmail.com:
--
assignee: astrand -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1191964
___
___
Changes by Ross Lagerwall rosslagerw...@gmail.com:
--
nosy: +rosslagerwall
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1191964
___
___
New submission from Chang Xiaojiang chang...@oki.com:
I download the source package of python2.6.8from
http://www.python.org/getit/releases/2.6.8/, and start a build on my Sun Sparc
Solaris10 with gcc3.4.3 which is preinstalled.But the following error logs are
reported.
gcc -shared
Changes by Richard Oudkerk shibt...@gmail.com:
--
nosy: +sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14881
___
___
Python-bugs-list mailing
Roger Serwy roger.se...@gmail.com added the comment:
That sounds like a reasonable enhancement. Attached is a patch against 3.3.0a3
to change the font of highlighting sample to match the font selected in the
font tab.
The actual highlighting text sample has 11 line of text which is why the
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
In sample above, is \x87 one character, or 4 ascii characters?
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11804
Antoine Pitrou pit...@free.fr added the comment:
However, this only seems to be true if the pickle file is created
using pickle - it doesn't happen with files generated with cPickle.
With cPickle the dict remains tracked, and passes from generation 0 to
1 to 2. The only difference is that
stw sil...@googlemail.com added the comment:
Probably because memoization itself uses a dict.
Right, but as far as I can tell it's not the memo dict that keeps being
tracked/untracked. Rather, it's the dict that is being unpickled.
Anyway, I suppose the point is that the issue of whether an
Ramchandra Apte maniandra...@gmail.com added the comment:
Since most of the Python devs and I don't understand Chinese, can you please
show the errors in English by compiling Python with LANG=C .
Thanks for the bug report.
--
nosy: +ramchandra.apte
R. David Murray rdmur...@bitdance.com added the comment:
This is presumably going to turn out to be a problem with shlex's handling of
non-ascii characters. I believe there are open issues about that, but I'm not
sure of the status.
--
nosy: +r.david.murray
New submission from Alex Garel alex.ga...@gmail.com:
Just under http://docs.python.org/library/doctest.html#doctest.REPORTING_FLAGS
documentation speaks about how Doctest directives maybe expressed as special
Python comments.
There are some example along with the narrative story, however
Richard Oudkerk shibt...@gmail.com added the comment:
Comments on Josiah's patch:
* It uses pywin32 for PeekNamedPipe -- this is now available from _winapi.
* I don't think send(), recv() and recv_exact() will work correctly if
buffering is used -- an error should be raised in this case.
*
Ezio Melotti ezio.melo...@gmail.com added the comment:
This is a duplicate of #12947.
--
nosy: +ezio.melotti
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - doctest directive examples in library/doctest.html lack the
flags
Merlijn van Deen valhall...@gmail.com added the comment:
OK, I did some quick tests. Given a samba share with the following files
A (contents: 'test: A')
a (contents: 'test: a')
B (contents: 'test: B')
1) opening \\share\files\A or \\share\files\a opens the same file - in my
case 'test: A'
2)
Ulrich Seidl ulrich.se...@muneda.com added the comment:
The change set committed for 2.7 introduces another problem. At the beginning
of xmlrpclib.py, there is an explicit test for the availability of unicode:
try:
unicode
except NameError:
unicode = None # unicode support not
Richard Oudkerk shibt...@gmail.com added the comment:
Personally, I would factor out the code for Popen.communicate() in to a
Communicator class which wraps a Popen object and has a method
communicate(input, timeout=None) - (bytes_written, output, error)
On Windows this would use threads,
Hynek Schlawack h...@ox.cx added the comment:
The reasoning is reasonable, the patch trivial LGTM, the test suite passes.
Anything I’m missing, why this is still open?
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Hynek, no obvious reason, it probably slipped through :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4841
___
R. David Murray rdmur...@bitdance.com added the comment:
Thanks for the report and patch.
However, since there is no del_parser method, I'm inclined to think that this
is not a bug. That is, the ability to overwrite a previously defined subparser
could be considered a feature.
If Steven
Brett Cannon br...@python.org added the comment:
The docs for 2.7 are a little more clear:
http://docs.python.org/install/index.html#inst-search-path says it is not
recursive. And looking at the code
(http://hg.python.org/cpython/file/086afe7b61f5/Lib/site.py#l184) backs that up.
--
Ronald Oussoren ronaldousso...@mac.com added the comment:
Thanks for posting a working script. I was mostly interested in this because
I'll likely need this functionality myself in the near future ;-)
--
___
Python tracker rep...@bugs.python.org
Eric Pruitt eric.pru...@gmail.com added the comment:
There's documentation, but you have to switch to the Python 3k branch --
http://code.google.com/p/subprocdev/source/browse/?name=python3k#hg%2Fdoc.
As for the other criticisms, I'm sure there are plenty of things that need to
be improved
Antoine Pitrou pit...@free.fr added the comment:
Also, am I right in thinking that whether a container gets untracked or
not depends not only on its contents, but also on the order of the
objects in the gc list? That is, all of the contents of a container
must get untracked before the
Stephen Lacy sl...@slacy.com added the comment:
okay, found the documentation I was looking for here:
http://docs.python.org/reference/expressions.html#yield-expressions
which appears to be copied and pasted and modified version of the docs here:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset fb5da2a5d9da by Petri Lehtinen in branch 'default':
#14472: Update .gitignore
http://hg.python.org/cpython/rev/fb5da2a5d9da
--
nosy: +python-dev
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8652dd5c2a14 by Petri Lehtinen in branch '3.2':
#14472: Update .gitignore
http://hg.python.org/cpython/rev/8652dd5c2a14
--
___
Python tracker rep...@bugs.python.org
Petri Lehtinen pe...@digip.org added the comment:
Fixed in default and 3.2 branches, which are quite similar. Thanks for the
patch!
Closing now. Feel free to reopen if you want to provide a patch for the 2.7
branch, too.
--
resolution: - fixed
status: open - closed
versions: +Python
Petri Lehtinen pe...@digip.org added the comment:
Ben,
As I've said, I think that we should go for the documented behavior with the
addition of not allowing braces inside the format string (with the exception of
format_spec).
So AFAICS, index_string would become
index_string ::= any
Petri Lehtinen pe...@digip.org added the comment:
Nobody's really sure whether it's safe to remove, so let it be there. Leaving
it can be justified by symmetry with _get_kwargs. Closing.
--
resolution: - wont fix
stage: - committed/rejected
status: open - closed
Petri Lehtinen pe...@digip.org added the comment:
Still waiting for the info about whether this can be done at run-time.
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13445
Petri Lehtinen pe...@digip.org added the comment:
Both patches LGTM.
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13934
___
Éric Araujo mer...@netwok.org added the comment:
One thing just came to my mind: if we change option names and people use the
new names in setup.cfg or ~/.pydistutils.cfg, then the file will stop being
compatible with distutils.
--
___
Python
New submission from Michael Driscoll m...@pythonlibrary.org:
In http://docs.python.org/devguide/setup.html#windows the devguide mentions
that the user must go to the Build menu to run Build Solution. When I tried
doing that with Visual C++ 2010 per the instructions, I discovered that there
is
Lauren Foutz lauren.fo...@gmail.com added the comment:
It is not possible to compile pysqlite to link with both, and even if it
was it would not be a good idea, since databases created by bdbsql cannot
be accessed by sqlite, and visa versa.
Because of the incompatibility I think a runtime flag
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11685
___
___
Python-bugs-list
Sandro Tosi sandro.t...@gmail.com added the comment:
Thank Nick for pointing to Terry's review! I'm attaching here a patch
addressing the points Terry highlighed. probably we should review this patch
before moving forward with the API doc?
--
Added file:
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
$ ./python -m test -v test_shutil
...[snip]...
==
ERROR: test_copy2_xattr (test.test_shutil.TestShutil)
Hynek Schlawack h...@ox.cx added the comment:
Could you give me your precise platform information please? Including full
kernel version and mount output? Also, could you check whether test_os fails
too?
Thanks!
--
assignee: - hynek
___
Python
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
$ uname -a
Linux tshepang 3.2.0-2-amd64 #1 SMP Mon Apr 30 05:20:23 UTC 2012 x86_64
GNU/Linux
$ mount
udev on /dev type devtmpfs (rw,relatime,size=1889948k,nr_inodes=472487,mode=755)
devpts on /dev/pts type devpts
Terry J. Reedy tjre...@udel.edu added the comment:
[Agreed that spacing comments were bogus.]
As for the rest, patch looks good except for 'is is' in
+ValueError: If the integer is is negative or...
I am glad I could help improve things a bit.
I will try to look at the how-to by
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14880
___
___
Python-bugs-list
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14617
___
___
Python-bugs-list
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
looks easy enough for me; I've marked a bunch of minor issues with the code
review tool
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14814
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1191964
___
___
Python-bugs-list
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1260171
___
___
Python-bugs-list
Hynek Schlawack h...@ox.cx added the comment:
I think the problem is that the xattr decorator checks only the file system
with TESTFN for xattrs and the shutil functions use real temp files that live
e.g. under /tmp.
Please try whether this patch helps.
--
keywords: +patch
Added
Ben Wolfson wolf...@gmail.com added the comment:
Are you still willing to rework the patches?
Sure. Now that I've actually looked at unicode_format.h it looks like the
biggest (relevant) difference might just be that the file isn't named
string_format.h, so I suspect it will be pretty
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
patch works
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14885
___
___
Chris Rebert pyb...@rebertia.com added the comment:
Eh, just needs clarification along the lines of:
Exceptions raised in the child ++Python++ process
A ValueError will be raised if Popen is called with invalid arguments
++whose validity is not dependent upon the state of the
R. David Murray rdmur...@bitdance.com added the comment:
I don't think that those additions make anything clearer, I'm afraid.
child python process would seem to imply raised in the new python running in
the child process, which is clearly not true.
Hmm. I seem to remember having this
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14814
___
___
Chang Xiaojiang chang...@oki.com added the comment:
Oh, I ignored that. Sorry. The english version is as following:
--
ld: fatal: relocation error:: R_SPARC_32: ファイル
Chang Xiaojiang chang...@oki.com added the comment:
A word is missed in last change. And the updated logs are as following.
ld: fatal: relocation error:: R_SPARC_32: file
Brian Curtin br...@python.org added the comment:
Would you mind taking a screenshot of where Build Solution appears? You'll
probably need to hold CTRL+print screen to make sure the menu doesn't retract.
As seen in http://i.imgur.com/XvXa5.png I have the menu as described in the
guide and it's
lesha pybug.20.le...@xoxy.net added the comment:
This is a reply to: http://bugs.python.org/issue6721#msg151266
Charles-François raises two problems:
1) LinuxThreads have different PIDs per thread. He then points out that
LinuxThreads have long been deprecated.
2) you cannot release locks on
Michael Driscoll m...@pythonlibrary.org added the comment:
@Brian - Sorry I didn't include a screenshot earlier. I was running it on a
machine without good screen capturing software. I've rectified that and
attached a screenshot for you. I suspect that there's a difference between the
VC++
Brian Curtin br...@python.org added the comment:
Weird that they would do that. Given that there is a difference, we should
probably list both. Something like choose the Build Solution option from
either the Build or Debug menu depending on your Visual Studio version.
Your patch seems to
Michael Driscoll m...@pythonlibrary.org added the comment:
Yeah, my patch didn't turn out the way I expected. I replaced Build with
Debug and then noticed that it also referred to some kind of build
drop-down that didn't seem like the right term. I couldn't figure out what the
right term was
Brian Curtin br...@python.org added the comment:
May as well fix them both.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14884
___
___
Chris Rebert pyb...@rebertia.com added the comment:
The term invalid arguments in A ValueError will be raised if Popen is called
with invalid arguments. is still vague. One could well argue that a
nonexistent executable or bad command is invalid. Anything resulting in an
OSError can be
78 matches
Mail list logo