ANNOUNCING
eGenix PyRun - One file Python Runtime
Version 1.0.0
An easy-to-use single file relocatable Python run-time -
available for Windows, Mac OS X
On Sun, 01 Jul 2012 21:50:29 -0400, Devin Jeanpierre wrote:
On Sun, Jul 1, 2012 at 9:28 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Technically, in Python is left-associative: a b c first evaluates
a, not b or c. But it is left-associative under the rules of comparison
i love python very much.it's powerful,easy and useful.
i got it from Openstack.And i'm a new guy on python.
Can i ask some stupid questions in days? haha...
--
http://mail.python.org/mailman/listinfo/python-list
levi nie wrote:
i love python very much.it's powerful,easy and useful.
i got it from Openstack.And i'm a new guy on python.
Welcome!
Can i ask some stupid questions in days? haha...
Sure, but we cannot guarantee that the answer will be stupid, too ;)
--
On Mon, Jul 2, 2012 at 12:48 AM, levi nie levinie...@gmail.com wrote:
i love python very much.it's powerful,easy and useful.
i got it from Openstack.And i'm a new guy on python.
Can i ask some stupid questions in days? haha...
Of course you can. Everyone else does! :) Just remember to give it
On Mon, 02 Jul 2012 12:04:29 +1000, Chris Angelico wrote:
Chained comparisons in the Python sense may be rare in computer
languages, but it is the standard in mathematics and hardly needs to be
explained to anyone over the age of twelve. That is a terrible
indictment on the state of
On Mon, Jul 2, 2012 at 6:11 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
c first_word second_word == third_word x
I'm sure I don't have to explain what that means -- that standard chained
notation for comparisons is obvious and simple.
In Python, you write it the normal
Is Django v1.3 documentation the newest version?
i use the Django book 2.0.
--
http://mail.python.org/mailman/listinfo/python-list
Hello
It isn't
Having been frustrated with out of date books, specifically the Apress
published 'Definitive Guide To Django', I've downloaded the Kindle edition
of Django 1.4 documentation
It's a good tutorial
J
On Mon, Jul 2, 2012 at 11:00 AM, levi nie levinie...@gmail.com wrote:
Is Django
apt-get install tk-dev
cd ./python3.2.3
./cpnfigure
make
make install
ok
root@ocean:/home/tiger/Python-3.2.3# python3.2
Python 3.2.3 (default, Jul 2 2012, 21:23:34)
[GCC 4.4.5] on linux2
Type help, copyright, credits or license for more information.
import tkinter
haha,think Serhiy
ANNOUNCING
eGenix PyRun - One file Python Runtime
Version 1.0.0
An easy-to-use single file relocatable Python run-time -
available for Windows, Mac OS X
i want to install a software,
please see the manul page 2
http://www.openfiling.info/wp-content/upLoads/data/ArelleUsersManual.pdf
when i input the command to install Arelle :
tiger@ocean:~$ cd /home/tiger/Arelle
tiger@ocean:~/Arelle$ python3.2 arelleGUI.pyw
Traceback (most recent call
i solve it myself
1.download tile-0.8.4.0.tar.gz
2. ./configure
3. make
4 make install
tiger@ocean:~$ cd /home/tiger/Arelle
tiger@ocean:~/Arelle$ python3.2 arelleGUI.pyw
i get what i want ,haha.
2012/7/2 contro opinion contropin...@gmail.com
i want to install a software,
On 07/02/2012 02:43 AM, Steven D'Aprano wrote:
On Sun, 01 Jul 2012 09:35:40 +0200, Thomas Jollans wrote:
This is simply wrong. The comparisons are not acting as binary
operators.
Of course they are. Take this chained comparison:
Technically, yes - two-input operations are happening.
On 07/02/2012 03:28 AM, Steven D'Aprano wrote:
We *really did have* somebody arguing that chained comparisons are Bad
because you can't stick parentheses around bits of it without changing
the semantics. That was an actual argument, not a straw-man.
Ahem. It may have been sub-optimally
On Jul 2, 12:50 am, Peter Otten __pete...@web.de wrote:
levi nie wrote:
i love python very much.it's powerful,easy and useful.
i got it from Openstack.And i'm a new guy on python.
Welcome!
Can i ask some stupid questions in days? haha...
Sure, but we cannot guarantee that the answer
Am 27.06.2012 20:06, schrieb Terry Reedy:
On 6/27/2012 10:36 AM, Thomas Heller wrote:
Is there a tool, similar to 2to3, which converts python2 code
to code using six.py, so that it runs unchanged with python2
*and* python 3?
Others have expressed a similar wish, but I do not know that anyone
On 7/2/2012 1:20 AM, Dennis Lee Bieber wrote:
Obviously, someone coming over from VB or R
or any other single language x
who hasn't read the Python reference is going to
be surprised as something or other. So what. The manuals, including the
tutorial, are there for a reason. The main
Is there a way to set the mouse wheel resolution for the wxPython
wx.Slider? I would like to use the graphic slider for coarse control
and the mouse wheel for fine control. Right now the mouse wheel makes
the slider jump ten counts and I would like it to be a single count.
Thanks
--
On 7/2/2012 10:14 AM, contro opinion wrote:
i solve it myself
1.download tile-0.8.4.0.tar.gz
Or install the latest tcl/tk 8.5(.11), which includes tile/tkk and bug
fixes, instead of the rather old 8.4.?.
--
Terry Jan Reedy
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 2, 3:20 am, Chris Angelico ros...@gmail.com wrote:
On Mon, Jul 2, 2012 at 6:11 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
c first_word second_word == third_word x
I'm sure I don't have to explain what that means -- that standard chained
notation for
On Tue, Jul 3, 2012 at 1:57 AM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
Poor Chris. That's because you've been brainwashed into believing you
must spoon feed your interpreter to get your code working correctly.
Stop applying these naive assumptions to Python code. Python knows
when
On Jun 30, 9:06 pm, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
On Sun, 01 Jul 2012 00:05:26 +0200, Thomas Jollans wrote:
Yes. My sole point, really, is that normally, one would expect these
two expressions to be equivalent:
a b c
(a b) c
Good grief. Why would you
On Tue, Jul 3, 2012 at 1:16 AM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
py 1 + 3 * 4
should ALWAYS equal 16!
With parenthesis only used for grouping:
py a + (b*c) + d
Which seems like the most consistent approach to me.
Oh yes, absolutely consistent. Consistency. It's a CR 1/2
On 7/1/2012 10:51 AM, dmitrey wrote:
hi all,
are there any information about upcoming availability of parallel
computations in CPython without modules like multiprocessing? I mean
something like parallel for loops, or, at least, something without
forking with copying huge amounts of RAM each
On Jul 2, 11:42 am, Chris Angelico ros...@gmail.com wrote:
Rick, do you realize that you have
to spoon-feed the interpreter with spaces/tabs when other interpreters
just KNOW to drop back an indentation level when you close a brace?
Yes. And significant white space is my favorite attribute of
Dan Stromberg, 01.07.2012 21:28:
On Sun, Jul 1, 2012 at 11:58 AM, Thomas Jollans wrote:
On 07/01/2012 08:44 PM, Dan Stromberg wrote:
IronPython, sadly, lacks a python standard library.
Beg pardon?
On 07/02/2012 08:22 PM, Rick Johnson wrote:
Agreed. I wish we had one language. One which had syntactical
directives for scoping, blocks, assignments, etc, etc...
BLOCK_INDENT_MARKER - \t
BLOCK_DEDENT_MARKER - \n
STATEMENT_TERMINATOR - \n
ASSIGNMENT_OPERATOR - :=
CONDITIONAL_IF_SPELLING -
On Sat, Jun 30, 2012 at 2:50 PM, Thomas Jollans t...@jollybox.de wrote:
Which of the two comparisons is done first anyway?
In the face of ambiguity, refuse the temptation to guess.
I would consider that a pro, not a con, because the C-like way is much
worse in this regard. Using operator
On 7/2/2012 11:02 AM, Thomas Heller wrote:
Am 27.06.2012 20:06, schrieb Terry Reedy:
On 6/27/2012 10:36 AM, Thomas Heller wrote:
Is there a tool, similar to 2to3, which converts python2 code
to code using six.py, so that it runs unchanged with python2
*and* python 3?
Others have expressed a
On Jul 2, 2:06 pm, Thomas Jollans t...@jollybox.de wrote:
On 07/02/2012 08:22 PM, Rick Johnson wrote:
Agreed. I wish we had one language. One which had syntactical
directives for scoping, blocks, assignments, etc, etc...
BLOCK_INDENT_MARKER - \t
BLOCK_DEDENT_MARKER - \n
On Jul 2, 10:45 am, Wanderer wande...@dialup4less.com wrote:
Is there a way to set the mouse wheel resolution for the wxPython
wx.Slider? I would like to use the graphic slider for coarse control
and the mouse wheel for fine control. Right now the mouse wheel makes
the slider jump ten counts
On Jul 2, 3:45 pm, Rick Johnson rantingrickjohn...@gmail.com wrote:
[...]
MouseWheel - cb(MEDIUM)
MouseWheel+ControlKey - cb(FINE)
MouseWheel+ShiftKey - cb(COURSE)
Of course some could even argue that three levels of control are not
good enough; for which i wholeheartedly agree!
A REAL
On Tue, Jul 3, 2012 at 5:06 AM, Thomas Jollans t...@jollybox.de wrote:
On 07/02/2012 08:22 PM, Rick Johnson wrote:
Agreed. I wish we had one language. One which had syntactical
directives for scoping, blocks, assignments, etc, etc...
BLOCK_INDENT_MARKER - \t
BLOCK_DEDENT_MARKER - \n
it's a simple source view program.
the codec of the target website is utf-8
so I read it and print the decoded
--
#-*-coding:utf8-*-
import urllib2
rf=urllib2.urlopen(rhttp://gall.dcinside.com/list.php?id=programming;)
print
On Tue, 03 Jul 2012 02:55:48 +1000, Chris Angelico wrote:
On Tue, Jul 3, 2012 at 1:16 AM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
py 1 + 3 * 4
should ALWAYS equal 16!
With parenthesis only used for grouping: py a + (b*c) + d
Which seems like the most consistent approach to me.
On 02/07/12 23:52, eGenix Team: M.-A. Lemburg wrote:
ANNOUNCING
eGenix PyRun - One file Python Runtime
Version 1.0.0
An easy-to-use single file relocatable
On 7/2/2012 7:49 PM, self.python wrote:
Traceback (most recent call last):
File C:wrong.py, line 8, in module
print rf.read().decode('utf-8')
UnicodeEncodeError: 'cp949' codec can't encode character u'u1368' in position
On 03/07/2012 01:49, self.python wrote:
it's a simple source view program.
the codec of the target website is utf-8
so I read it and print the decoded
--
#-*-coding:utf8-*-
import urllib2
On Tue, Jul 3, 2012 at 10:57 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Tue, 03 Jul 2012 02:55:48 +1000, Chris Angelico wrote:
Oh yes, absolutely consistent. Consistency. It's a CR 1/2 monster found
on page 153 of the 3.5th Edition Monster Manual.
GvR is fond of
On 7/2/2012 8:49 PM, self.python wrote:
it's a simple source view program.
the codec of the target website is utf-8
so I read it and print the decoded
which re-encodes before printing
--
#-*-coding:utf8-*-
import urllib2
On 7/2/2012 8:49 PM, self.python wrote:
it's a simple source view program.
the codec of the target website is utf-8
so I read it and print the decoded
which re-encodes before printing
--
#-*-coding:utf8-*-
import urllib2
On Tue, 3 Jul 2012 11:22:55 +1000
Chris Angelico ros...@gmail.com wrote:
On Tue, Jul 3, 2012 at 10:57 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Perhaps the world would be better off if mathematicians threw out the
existing precedence rules and replaced them with a
Hello Everyone,
Warm greetings to all of you...
I have to learn Python.So i recently join the python mailing list .Can you
please send me some sample programs from where i can start.
Thanks,
Anuj
--
http://mail.python.org/mailman/listinfo/python-list
Dear All
Recently I have been playing with Tkinter. I wrote two scripts to solve
well known chess problems: eight queens and knight's tour. Both are
available here: https://github.com/LalithaPrasad/PythonScripts
All are welcome to download and improve them if required. Hope to rewrite
them using
Hi,
I would like to announce asyncoro (http://asyncoro.sourceforge.net),
a Python framework for developing concurrent, distributed programs with
asynchronous completions and coroutines. asyncoro features include
* Asynchronous (non-blocking) sockets
* Efficient polling mechanisms epoll,
On Tue, Jul 3, 2012 at 1:36 PM, anuj kumar anujkumar...@gmail.com wrote:
Hello Everyone,
Warm greetings to all of you...
I have to learn Python.So i recently join the python mailing list .Can you
please send me some sample programs from where i can start.
Welcome! Start here...
On Tue, 03 Jul 2012 12:25:59 +1000, John O'Hagan wrote:
On Tue, 3 Jul 2012 11:22:55 +1000
Chris Angelico ros...@gmail.com wrote:
On Tue, Jul 3, 2012 at 10:57 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Perhaps the world would be better off if mathematicians threw out
You can create instances without a __dict__ by setting __slots__:
py class Dictless:
... __slots__ = ['a', 'b', 'c']
...
py Dictless().__dict__
Traceback (most recent call last):
File stdin, line 1, in module
AttributeError: 'Dictless' object has no attribute '__dict__'
But the class
form.html:
form action=p.py method=post
input type=text id=id_text name=name_text /
input type=submit id=id_submit name=name_submit /
/form
p.py:
#!/usr/bin/python
#what to write here...
Both files are put in /var/www/ , now from http://localhost/form.html, if i
click the submit button
On Jul 3, 7:25 am, John O'Hagan resea...@johnohagan.com wrote:
I agree to some extent, but as a counter-example, when I was a child there
a subject called Weights and Measures which is now redundant because of the
Metric system. I don't miss hogsheads and fathoms at all.
Music is another
rusi rustompm...@gmail.com writes:
Similar for standardized languages: Python's indentation is nice --
except when you have to embed it into say, html
If you can't write a ‘pre’ element for pre-formatted text, you don't
have HTML URL:http://www.w3.org/TR/html401/struct/text.html#h-9.3.4.
--
On Jul 3, 3:03 pm, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
I don't have a use-case for this. But I have some code which assumes that
every class will have a __dict__, and I wonder whether that is a safe
assumption.
Remember the recent thread on using a different
Larry Hastings la...@hastings.org added the comment:
Serihy: for the followlinks patch, how about we plan ahead: I give you
feedback for just the code (if there is any), and then I take over the patch
and do the doc rewrite that I will find irresistable.
--
R. David Murray rdmur...@bitdance.com added the comment:
I think that sounds reasonable. The message should say files in all three
cases', since the individual test file summary method will be similar but
talking about numbers of tests.
--
___
Tim Golden m...@timgolden.me.uk added the comment:
On 30/06/2012 06:45, Daniel Lenski wrote:
My preferred solution would be to replace the binary delete argument of the
current NamedTemporaryFile implementation with finer-grained options:
delete=False # don't delete
Serhiy Storchaka storch...@gmail.com added the comment:
If it produces different output today, we should investigate why.
Lib/stringprep.py differs from updated Tools/unicode/mkstringprep.py output
only by additional entity 0x130:'i\u0307' in b3_exceptions.
In 3.2 and lower '\u0130'.lower()
Borja Ruiz Castro br...@alienvault.com added the comment:
Hi Murray!
I use a lot od parametrized tests. I usually use the ENV to pass these
parameters and/or a custon configuration file.
What is your approach to parametrize all the test stuff?
Regards,
Borja.
On 31 May 2012 03:57, R. David
Borja Ruiz Castro br...@alienvault.com added the comment:
Sorry, I failed to mention that I use Testify to launch all my tests!
On 2 July 2012 13:23, Borja Ruiz Castro rep...@bugs.python.org wrote:
Borja Ruiz Castro br...@alienvault.com added the comment:
Hi Murray!
I use a lot od
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
In PyPy, datetime.py is a pure Python module (similar to the one in 3.x, but
without the _datetime acceleration module). So comparison with CPython is not
relevant here.
In CPython, __module__ is not an attribute of the type, but a
Richard Oudkerk shibt...@gmail.com added the comment:
I wrote in an earlier message that a file opened with O_TEMPORARY must be
reopened with O_TEMPORARY. This is not quite accurate.
Using O_TEMPORARY causes the FILE_SHARE_DELETE sharing mode to be used, and a
file currently opened with
Larry Hastings la...@hastings.org added the comment:
Storchaka: change of plan. Since doc changes are much lower risk than code
changes, how about we go with your existing patch and I'll fix up the docs
separately.
So, please make the relevant code changes I proposed on Rietveld (adding *,
Larry Hastings la...@hastings.org added the comment:
Here's a patch. I read the implementation to find out what it does, then
documented it. Happily it does the sane thing.
--
keywords: +patch
Added file: http://bugs.python.org/file26230/larry.atexit.1.diff
Antoine Pitrou pit...@free.fr added the comment:
Here's a patch. I read the implementation to find out what it does,
then documented it. Happily it does the sane thing.
Is it tested for?
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka storch...@gmail.com added the comment:
So, please make the relevant code changes I proposed on Rietveld (adding *,
everywhere was it iirc) and resubmit and we can get that in. I'll give you a
code-only review of the other patch too--I'll start on that now.
Here is a
Antoine Pitrou pit...@free.fr added the comment:
What's the urge to make parameters keyword-only?
Also, copyfile() shouldn't change signature.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15202
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file:
http://bugs.python.org/file26232/symlinks-to-follow_symlinks-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15202
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file26233/symlinks-to-follow_symlinks-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15202
___
Serhiy Storchaka storch...@gmail.com added the comment:
What's the urge to make parameters keyword-only?
If anyone uses these functions with a new symlinks parameter in 3.3b1,
he will get loud error (follow_symlinks == not symlinks).
Also, copyfile() shouldn't change signature.
Why not?
Antoine Pitrou pit...@free.fr added the comment:
Also, copyfile() shouldn't change signature.
Why not?
Seems like I have misread the docs. Apparently the symlinks parameter was added
in 3.3.
--
___
Python tracker rep...@bugs.python.org
Petri Lehtinen pe...@digip.org added the comment:
This might be the only way to fix #1599254, see
http://bugs.python.org/issue1599254#msg30590. If another program is waiting on
the fcntl lock (and doesn't use dotlocking), as soon as mailbox.py closes the
original file (to replace it with a
Brett Cannon br...@python.org added the comment:
Changeset b7463ec1980c has the fix and test update (went with a simple solution
for the tests which uses the mock to verify). Thanks to Ronan and Marc for
helping out!
--
dependencies: -Split .pyc parsing from module loading
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 818db871d29a by Brett Cannon in branch 'default':
Issue #15210: If _frozen_importlib is not found in sys.modules by
http://hg.python.org/cpython/rev/818db871d29a
--
nosy: +python-dev
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
resolution: - fixed
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15210
Changes by Brett Cannon br...@python.org:
--
dependencies: +Implement imp.get_tag() using sys.implementation
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15056
___
Éric Araujo mer...@netwok.org added the comment:
See #9788 for previous discussion.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15233
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b36bed82c9d0 by Brett Cannon in branch 'default':
Issue #15166: Re-implement imp.get_tag() using sys.implementation.
http://hg.python.org/cpython/rev/b36bed82c9d0
--
nosy: +python-dev
Brett Cannon br...@python.org added the comment:
I ended up applying Eric's patch from #14797 and then comparing against Jeff's
patch here since Eric's cleaned up the C code. Thanks to both for the work!
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open -
Brett Cannon br...@python.org added the comment:
I meant issue #13959 for Eric's patch; wrong tab. =)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15166
___
Changes by Brett Cannon br...@python.org:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2345
___
Changes by Brett Cannon br...@python.org:
--
resolution: out of date - wont fix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2345
___
___
Brett Cannon br...@python.org added the comment:
Is this still worth doing, Georg? Or should we make Larry do it? =)
--
nosy: +larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4011
___
Changes by Brett Cannon br...@python.org:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11207
___
___
Python-bugs-list
Brett Cannon br...@python.org added the comment:
Closing since 2.7 is already out the door.
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2876
Brett Cannon br...@python.org added the comment:
Never heard back from OP.
--
resolution: - works for me
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14070
___
New submission from Vincent Pelletier plr.vinc...@gmail.com:
When storing a ctype function pointer in a ctype structure field, a reference
remains even when that field is overwritten with some values:
- None
- None cast into a function pointer
But the reference is somehow removed when
Éric Araujo mer...@netwok.org added the comment:
Maybe there is a section in the documentation that could be enhanced to make
readers expect this behavior? (reference for list or tutorial)
--
nosy: +eric.araujo
title: list.startswith() and list.remove() fails to catch consecutive
Vincent Pelletier plr.vinc...@gmail.com added the comment:
Trying to generate a graph on several python and several uncommented lines, I
see that my test case is incomplete. Time to review my copy.
--
resolution: - invalid
status: open - closed
___
Éric Araujo mer...@netwok.org added the comment:
Attached patch does the trick. (Also removes extra whitespace in three lines
and groups the ignored names by topic for ease of reading.)
No test fails before or after the patch; there are some pydoc tests that check
full text or HTML output,
Éric Araujo mer...@netwok.org added the comment:
This strikes me as a bugfix that does not get backported because code might
depend on
the bug. If the policy for exception messages, such as it is, documented
somewhere?
I don’t know if it’s written anywhere, but the rule I follow is that
Antoine Pitrou pit...@free.fr added the comment:
Looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15163
___
___
Python-bugs-list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15240
___
___
Python-bugs-list mailing list
Antoine Pitrou pit...@free.fr added the comment:
If the policy for exception messages, such as it is, documented
somewhere?
I think we are quite free to change exception messages, as long as the change
is motivated. They are not part of the API definitions, and people shouldn't
rely on them
Éric Araujo mer...@netwok.org added the comment:
Patch looks good. Left some comments on Rietveld and +1 to Antoine’s note
about quotes :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15180
Éric Araujo mer...@netwok.org added the comment:
As I said in the other bug, symlinks handling in not fully specified: some
functions (like copy_file and copy_tree) have arguments to control
copy/link/symlink, but the higher-level commands don’t expose that choice to
the user. At present I
Éric Araujo mer...@netwok.org added the comment:
AFAICT using hard links only serves to save up a little time and disk space; it
seems to me that always copying would solve one or two bugs at a small cost
(not so small for large projects, I don’t know). Could this impact setup
scripts?
Éric Araujo mer...@netwok.org added the comment:
(Hm OK “del os.link” is definitely a hack :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15205
___
Éric Araujo mer...@netwok.org added the comment:
Of course the conservative fix would be to try linking as of now and do a copy
when an exception is caught, as was proposed.
FTR python.org link to the thread mentioned:
http://mail.python.org/pipermail/distutils-sig/2005-August/004954.html
Éric Araujo mer...@netwok.org added the comment:
samtygier’s patch to implement the fallback-to-copy idea looks good. Not sure
if an automated test would be written, but samtygier says it was manually
tested.
--
components: -Distutils2
keywords: +needs review
stage: needs patch -
Éric Araujo mer...@netwok.org added the comment:
Suggest closing or marking “remind” and see if people use / request /
reimplement SimpleNamespace.
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
1 - 100 of 140 matches
Mail list logo