On 06/03/2011 08:05 PM, Steven D'Aprano wrote:
On Fri, 03 Jun 2011 12:29:52 -0700, ru...@yahoo.com wrote:
I often find myself changing, for example, a startwith() to a RE when
I realize that the input can contain mixed case
Why wouldn't you just normalise the case?
Because some of the text
On Mon, Jun 6, 2011 at 3:50 PM, okay zed okay@gmail.com wrote:
the link: http://okayzed.github.com/dmangame/introduction.html
dmangame is a game about writing AI for a simple strategy game.
an example game:
http://okayzed.github.com/dmangame/circleblaster_vs_expand.html
This is really
In article ef48ad50-da06-47a8-978a-47d6f4271...@d28g2000yqf.googlegroups.com
ru...@yahoo.com ru...@yahoo.com wrote (in part):
[mass snippage]
What I mean is that I see regexes as being an extremely small,
highly restricted, domain specific language targeted specifically
at describing text
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 06/06/2011 01:50 AM, okay zed wrote:
the link: http://okayzed.github.com/dmangame/introduction.html
dmangame is a game about writing AI for a simple strategy game.
Looks fun! I play a bit of Core War, so this should pose a similar but
new
It is not so hard to decide whether using RE is a good thing or not.
When the speed is important and every millisecond counts, RE should be used
only when there is no other faster way, because usually RE is less faster
than using other core Perl/Python functions that can do matching and
On Mon, Jun 6, 2011 at 6:51 PM, Octavian Rasnita orasn...@gmail.com wrote:
It is not so hard to decide whether using RE is a good thing or not.
When the speed is important and every millisecond counts, RE should be used
only when there is no other faster way, because usually RE is less faster
Am 04.06.2011 20:27 schrieb TommyVee:
I'm using the SimPy package to run simulations. Anyone who's used this
package knows that the way it simulates process concurrency is through
the clever use of yield statements. Some of the code in my programs is
very complex and contains several repeating
On 6/06/2011 2:54 AM, Massi wrote:
Hi everyone, I'm writing a script which implement a windows service
with the win32serviceutil module. The service works perfectly, but now
I would need to install several instances of the same service on my
machine for testing purpose.
This is hard since the
f = lambda x, n, acc=[]: f(x[n:], n, acc+[(x[:n])]) if x else acc
Packing tail recursion into one line is bad for both understanding and
refactoring. Use better names and a docstring gives
def group(seq, n):
'Yield from seq successive disjoint slices of length n plus the
remainder'
On 2011-06-03, Chris Torek nos...@torek.net wrote:
The definition is entirely arbitrary.
I don't agree, but even if was entirely arbitrary, that doesn't make
the decision meaningless. IEEE-754 says it's True, and standards
compliance is valuable. Each country's decision to drive on the
On 2011-06-03, Nobody nob...@nowhere.com wrote:
This would produce the same end result as raising an exception
immediately, but would reduce the number of isnan() tests.
I've never found the number of isnan() checks in my code to be an
issue -- there just arent that many of them, and when
For any significant language feature (take recursion for example)
there are these issues:
1. Ease of reading/skimming (other's) code
2. Ease of writing/designing one's own
3. Learning curve
4. Costs/payoffs (eg efficiency, succinctness) of use
5. Debug-ability
I'll start with 3.
When someone of
On Sun, 05 Jun 2011 23:03:39 -0700, ru...@yahoo.com wrote:
Thus what starts as
if line.startswith ('CUSTOMER '):
try:
kw, first_initial, last_name, code, rest = line.split(None, 4)
...
often turns into (sometimes before it is written) something like
m = re.match
could be the ACM queue challenge and google's ai challenge, they've
had games in the past with somewhat similar mechanics
On Jun 5, 11:10 pm, James Mills prolo...@shortcircuit.net.au wrote:
On Mon, Jun 6, 2011 at 3:50 PM, okay zed okay@gmail.com wrote:
the
On Mon, Jun 6, 2011 at 9:29 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
[...]
I would expect
any regex processor to compile the regex into an FSM.
Flying Spaghetti Monster?
I have been Touched by His Noodly Appendage!!!
Finite State Machine.
--
On 2011-06-06, ru...@yahoo.com ru...@yahoo.com wrote:
On 06/03/2011 02:49 PM, Neil Cerutti wrote:
Can you find an example or invent one? I simply don't remember
such problems coming up, but I admit it's possible.
Sure, the response to the OP of this thread.
Here's a recap, along with two
Hi,
I'd like to simplify the following string formatting:
solo = 'Han Solo'
jabba = 'Jabba the Hutt'
print {solo} was captured by {jabba}.format(solo=solo, jabba=jabba)
# Han Solo was captured by Jabba the Hutt
What I don't like here is this: solo=solo, jabba=jabba, i.e. the
same thing is
On Mon, Jun 6, 2011 at 9:15 AM, Jabba Laci jabba.l...@gmail.com wrote:
Hi,
I'd like to simplify the following string formatting:
solo = 'Han Solo'
jabba = 'Jabba the Hutt'
print {solo} was captured by {jabba}.format(solo=solo, jabba=jabba)
# Han Solo was captured by Jabba the Hutt
What I
On Mon, Jun 6, 2011 at 10:08 AM, Neil Cerutti ne...@norwich.edu wrote:
import re
print(re solution)
with open(data.txt) as f:
for line in f:
fixed = re.sub(r(TABLE='\S+)\s+', r\1', line)
print(fixed, end='')
print(non-re solution)
with open(data.txt) as f:
for line
Currently i am importing the Database into CSV file using csv module,
in csv file i need to change the column width according the size of
the data. i need to set different column width for different columns
pleas let me know how to achieve this
If you are using xlwt:
sheet.col(9).width = 3200
I
On 6/6/2011 9:42 AM, jyoun...@kc.rr.com wrote:
f = lambda x, n, acc=[]: f(x[n:], n, acc+[(x[:n])]) if x else acc
Packing tail recursion into one line is bad for both understanding and
refactoring. Use better names and a docstring gives
def group(seq, n):
'Yield from seq successive
On 2011-06-06, Ian Kelly ian.g.ke...@gmail.com wrote:
On Mon, Jun 6, 2011 at 10:08 AM, Neil Cerutti ne...@norwich.edu wrote:
import re
print(re solution)
with open(data.txt) as f:
? ?for line in f:
? ? ? ?fixed = re.sub(r(TABLE='\S+)\s+', r\1', line)
? ? ? ?print(fixed, end='')
On Jun 5, 11:33 pm, Terry Reedy tjre...@udel.edu wrote:
On 6/5/2011 5:31 AM, Alain Ketterlin wrote:
jyoun...@kc.rr.com writes:
f = lambda x, n, acc=[]: f(x[n:], n, acc+[(x[:n])]) if x else acc
f=lambda ... statements are inferior for practical purposes to the
equivalent def f statements
Ian Kelly wrote:
On Mon, Jun 6, 2011 at 10:08 AM, Neil Cerutti ne...@norwich.edu wrote:
import re
print(re solution)
with open(data.txt) as f:
for line in f:
fixed = re.sub(r(TABLE='\S+)\s+', r\1', line)
print(fixed, end='')
print(non-re solution)
with open(data.txt) as f:
On Mon, Jun 6, 2011 at 11:17 AM, Neil Cerutti ne...@norwich.edu wrote:
I wrestled with using addition like that, and decided against it.
The 7 is a magic number and repeats/hides information. I wanted
something like:
prefix = TABLE='
start = line.index(prefix) + len(prefix)
But decided
On Sun, Jun 5, 2011 at 3:34 AM, Peter Irbizon peterirbi...@gmail.com wrote:
Hello, thanks, Unfortunatelly I don't understand how xml should resolve my
issue. My problem is:
I am trying to use aes256 cbc on python and php to decrypt textstring. But
results are not the same in php and python.
On Mon, Jun 6, 2011 at 11:48 AM, Ethan Furman et...@stoneleaf.us wrote:
I like the readability of this version, but isn't generating an exception on
every other line going to kill performance?
I timed it on the example data before I posted and found that it was
still 10 times as fast as the
On Fri, Jun 3, 2011 at 1:17 PM, Raymond Hettinger pyt...@rcn.com wrote:
Thanks for all the feedback on the earlier post.
I've updated the recipe to use a cleaner API, simpler code,
more easily subclassable, and with optional optimizations
for better cache utilization and speed:
Seems to work using 2.7 but not 3.2. On 3.2 it just closes all my python
sessions. Is this a bug? Can someone point me to a How To on using a local
printer in windows?
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
On 2011-06-06, Ian Kelly ian.g.ke...@gmail.com wrote:
Fair enough, although if you ask me the + 1 is just as magical
as the + 7 (it's still the length of the string that you're
searching for). Also, re-finding the opening ' still repeats
information.
Heh, true. I doesn't really repeat
On Mon, 6 Jun 2011 12:15:35 -0400, Jabba Laci wrote in
Message-Id: mailman.2490.1307376958.9059.python-l...@python.org:
solo = 'Han Solo'
jabba = 'Jabba the Hutt'
print {solo} was captured by {jabba}.format(solo=solo, jabba=jabba)
# Han Solo was captured by Jabba the Hutt
How about:-
print
On Mon, Jun 6, 2011 at 9:35 AM, Prasad, Ramit ramit.pra...@jpmchase.com wrote:
Currently i am importing the Database into CSV file using csv module,
in csv file i need to change the column width according the size of
the data. i need to set different column width for different columns
pleas let
Steve Crook wrote:
On Mon, 6 Jun 2011 12:15:35 -0400, Jabba Laci wrote in
Message-Id: mailman.2490.1307376958.9059.python-l...@python.org:
solo = 'Han Solo'
jabba = 'Jabba the Hutt'
print {solo} was captured by {jabba}.format(solo=solo, jabba=jabba)
# Han Solo was captured by Jabba the Hutt
-
Dense and complex REs are quite powerful, but may also contain
and hide programming mistakes. The ability to describe what is
intended -- which may differ from what is written -- is useful.
On Mon, Jun 6, 2011 at 10:15 AM, Jabba Laci jabba.l...@gmail.com wrote:
Hi,
I'd like to simplify the following string formatting:
solo = 'Han Solo'
jabba = 'Jabba the Hutt'
print {solo} was captured by {jabba}.format(solo=solo, jabba=jabba)
# Han Solo was captured by Jabba the Hutt
What
print {} was captured by {}.format(solo, jabba)
Is this Python2.7 specific?
Python 2.6.x :
print {} was captured by {}.format('t1', 't2')
ValueError: zero length field name in format
Ramit
This communication is for informational purposes only. It is not
intended as an offer or
Prasad, Ramit wrote:
print {} was captured by {}.format(solo, jabba)
Is this Python2.7 specific?
Python 2.6.x :
print {} was captured by {}.format('t1', 't2')
ValueError: zero length field name in format
Apparently it is 2.7 and greater -- my apologies for not specifying that.
~Ethan~
--
Currently i am importing the Database into CSV file using csv module,
in csv file i need to change the column width according the size of
the data. i need to set different column width for different columns
pleas let me know how to achieve this
xlwt is a package for editing Excel files. CSV,
On 03/06/2011 03:58, Chris Torek wrote:
-
This is a bit surprising, since both s1 in s2 and re.search()
could use a Boyer-Moore-based algorithm for a sufficiently-long
fixed string, and the time required should be proportional to that
needed to
On Mon, 06 Jun 2011 00:55:18 +, Steven D'Aprano wrote:
And thus we come back full circle. Hundreds of words, and I'm still no
closer to understanding why you think that NAN == NAN should be an
error.
Well, you could try improving your reading comprehension. Counselling
might help.
On Jun 6, 7:41 pm, geremy condra debat...@gmail.com wrote:
On Sun, Jun 5, 2011 at 3:34 AM, Peter Irbizon peterirbi...@gmail.com wrote:
Hello, thanks, Unfortunatelly I don't understand how xml should resolve my
issue. My problem is:
I am trying to use aes256 cbc on python and php to decrypt
Hello, I am trying to make nice icons for my program. I compiled it with
py2exe but problem is that exe icon in Win 7/vista is not very nice (it
looks like win7 takes 32x32 instead of 248x248icon)
I used png2ico to pack icon file: png2ico icon.ico png248x248.png
png32x32.png png16x16.png
Any
Hello, I am trying to make nice icons for my program. I compiled it
with py2exe but problem is that exe icon in Win 7/vista is not very
nice (it looks like win7 takes 32x32 instead of 248x248icon)
I used png2ico to pack icon file: png2ico icon.ico png248x248.png
png32x32.png png16x16.png
Any
On Mon, 06 Jun 2011 12:52:31 -0400, Terry Reedy wrote:
Let me add something not said much here about designing functions: start
with both a clear and succinct definition *and* test cases. (I only
started writing tests first a year ago or so.)
For any non-trivial function, I usually start by
On Mon, 06 Jun 2011 23:14:15 +0100, Nobody wrote:
On Mon, 06 Jun 2011 00:55:18 +, Steven D'Aprano wrote:
And thus we come back full circle. Hundreds of words, and I'm still no
closer to understanding why you think that NAN == NAN should be an
error.
Well, you could try improving your
On Mon, Jun 6, 2011 at 4:19 PM, miamia peterirbi...@gmail.com wrote:
php I am trying to use is here:
http://code.google.com/p/antares4pymes/source/browse/trunk/library/System/Crypt/AES.php?r=20
That library does not appear to be doing CBC as far as I can tell.
Maybe they will agree if you use
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
On Mon, 06 Jun 2011 12:52:31 -0400, Terry Reedy wrote:
Let me add something not said much here about designing functions: start
with both a clear and succinct definition *and* test cases. (I only
started writing tests first a
Steven D'Aprano wrote:
For any non-trivial function, I usually start by writing the
documentation (a docstring and doctests) first. How else do you know what
the function is supposed to do if you don't have it documented?
Yes. In my early years I was no different than any other hacker in terms
Chris Rebert c...@rebertia.com writes:
print {solo} was captured by {jabba}.format(**locals()) # RIGHT
I tend to use ‘ufoo {bar} baz.format(**vars())’, since ‘vars’ can also
take the namespace of an object. I only need to remember one “give me
the namespace” function for formatting.
You must
On Mon, Jun 6, 2011 at 6:11 PM, Ben Finney ben+pyt...@benfinney.id.au wrote:
You must use prefix-** in the call to unpack the mapping as keyword
arguments. Note that using locals() like this isn't best-practice.
Who says so, and do you find their argument convincing? Do you have a
reference
On Mon, Jun 6, 2011 at 6:11 PM, Ben Finney ben+pyt...@benfinney.id.au wrote:
Chris Rebert c...@rebertia.com writes:
print {solo} was captured by {jabba}.format(**locals()) # RIGHT
I tend to use ‘ufoo {bar} baz.format(**vars())’, since ‘vars’ can also
take the namespace of an object. I only
Hello,
Is there a library or regex that can determine if a string is a fqdn
(fully qualified domain name)? I'm writing a script that needs to add
a defined domain to the end of a hostname if it isn't already a fqdn
and doesn't contain the defined domain.
Thanks.
--
On Tue, Jun 7, 2011 at 9:44 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Thank you for your concern about my mental health.
Mental health? You're a programmer. It's far too late to worry about that.
My name is Chris, and I'm a programmer. It started when I was just a
child -
On 6/6/2011 1:29 PM, rusi wrote:
On Jun 5, 11:33 pm, Terry Reedytjre...@udel.edu wrote:
Let me add something not said much here about designing functions: start
with both a clear and succinct definition *and* test cases. (I only
started writing tests first a year ago or so.)
I am still one
Eric wrote:
Is there a library or regex that can determine if a string is a fqdn
(fully qualified domain name)? I'm writing a script that needs to add
a defined domain to the end of a hostname if it isn't already a fqdn
and doesn't contain the defined domain.
You might try the os module and
On 6/6/2011 12:52 PM, Terry Reedy wrote:
def group(seq, n):
'Yield from seq successive disjoint slices of length n the remainder'
if n=0: raise ValueError('group size must be positive')
for i in range(0,len(seq), n):
yield seq[i:i+n]
for inn,out in (
(('',1), []), # no input, no output
Our client, part of one of the largest Telcos in the world is
currently on the hunt for what they describe as a Python Senior
Developer/Team Lead/Systems Archtiect, for their Singapore office.
This particular part of the organisation has offices around the world
servicing world wide brand-name
On Tue, Jun 7, 2011 at 10:40 AM, Eric eric.won...@gmail.com wrote:
Hello,
Is there a library or regex that can determine if a string is a fqdn
(fully qualified domain name)? I'm writing a script that needs to add
a defined domain to the end of a hostname if it isn't already a fqdn
and
En Fri, 03 Jun 2011 21:02:56 -0300, Nobody nob...@nowhere.com escribió:
On Fri, 03 Jun 2011 22:08:16 +0200, Wilbert Berendsen wrote:
I find myself all over the place associating objects with each other
using
dicts as caches:
The general concept is called memoization. There isn't an
Rob robertvstev...@yahoo.com.au writes:
Our client, part of one of the largest Telcos in the world is
currently on the hunt for what they describe as a Python Senior
Developer/Team Lead/Systems Archtiect, for their Singapore office.
Please don't use this forum for job seeking or
On Tue, 07 Jun 2011 10:11:01 +1000, Ben Finney wrote:
Chris Rebert c...@rebertia.com writes:
print {solo} was captured by {jabba}.format(**locals()) # RIGHT
I tend to use ‘ufoo {bar} baz.format(**vars())’, since ‘vars’ can also
take the namespace of an object. I only need to remember one
En Sat, 28 May 2011 14:05:16 -0300, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info escribió:
On Sat, 28 May 2011 09:39:08 -0700, John Nagle wrote:
Python allows patching code while the code is executing.
Can you give an example of what you mean by this?
If I have a function:
def
On Jun 6, 2011, at 8:40 PM, Eric wrote:
Hello,
Is there a library or regex that can determine if a string is a fqdn
(fully qualified domain name)? I'm writing a script that needs to add
a defined domain to the end of a hostname if it isn't already a fqdn
and doesn't contain the defined
Gabriel Genellina gagsl-...@yahoo.com.ar writes:
En Fri, 03 Jun 2011 21:02:56 -0300, Nobody nob...@nowhere.com escribió:
On Fri, 03 Jun 2011 22:08:16 +0200, Wilbert Berendsen wrote:
I find myself all over the place associating objects with each
other using dicts as caches:
The
University of Washington Marketing and the Seattle Plone Gathering host
the inaugural Seattle PyCamp 2011 at The Paul G. Allen Center for
Computer Science Engineering on Monday, August 29 through Friday,
September 2, 2011.
Register today at http://trizpug.org/boot-camp/seapy11/
For
On Mon, 06 Jun 2011 17:40:29 -0700, Eric wrote:
Is there a library or regex that can determine if a string is a fqdn
(fully qualified domain name)? I'm writing a script that needs to add
a defined domain to the end of a hostname if it isn't already a fqdn
and doesn't contain the defined
On Tue, Jun 7, 2011 at 3:23 PM, Nobody nob...@nowhere.com wrote:
[1] If a hostname ends with a dot, it's fully qualified.
Outside of BIND files, when do you ever see a name that actually ends
with a dot?
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
Gregory P. Smith g...@krypto.org added the comment:
I haven't looked beyond the reading methods it is possible that some of the
write implementations have a similar issue. Patch gps02 for 3.2 attached.
I'll use that as the basis for a stand alone test_file_eintr.py targeted at 2.7.
Changes by Gregory P. Smith g...@krypto.org:
Removed file:
http://bugs.python.org/file22261/test_fileio_readers_3.2-gps01.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12268
___
anatoly techtonik techto...@gmail.com added the comment:
On Sat, Jun 4, 2011 at 5:33 PM, Éric Araujo rep...@bugs.python.org wrote:
I think there should be a warning that the connection is
unauthenticated (i.e. not secure). Users tend to be upset if they see
'https' and later find out that no
Changes by Xuanji Li xua...@gmail.com:
--
nosy: +xuanji
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12170
___
___
Python-bugs-list mailing list
Changes by Xuanji Li xua...@gmail.com:
--
nosy: +xuanji
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10376
___
___
Python-bugs-list mailing list
Changes by Aron Griffis agrif...@n01se.net:
--
nosy: +agriffis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3566
___
___
Python-bugs-list mailing
New submission from AJ brandmys...@gmail.com:
We are almost in mid-year. :)
http://bugs.python.org/ has a copyright notice 1990-2010. Please update it to
include 2011.
--
components: None
messages: 137736
nosy: brandmyself
priority: normal
severity: normal
status: open
title: Please
New submission from Vincent v.clau...@free.fr:
Hello everybody,
With the same build/compile command, I'm able to have my runing python
version (2.6.x or 2.7.x) on IA64 server runing SLES 10 SP2/SP3,not on IA64
server runing SLES 11 SP1. I've try with 2.7, 2.7.1 and 2.7.2rc1 version
without
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12270
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Done in r88853, thanks for the report!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12270
Charles-François Natali neolo...@free.fr added the comment:
That's because of the _PyIO_ConvertSsize_t converter, which silently
converts None to -1.
There's probably a good reason for doing this in the _io module
I'm not sure about the original reason, but I find None as the default
Antoine Pitrou pit...@free.fr added the comment:
If being pretty is the only reason for this choice, then I think that
documenting the method as
method:: read([n])
is simpler and cleaner .
But you've got much more experience than me, so I won't argue any further :-)
There are
Niels Heinen ni...@heinen.ws added the comment:
Hi Eric, David,
This means that you cannot type python and press enter in any shared
directory without the risk of a malicious readlinemodule.so being imported and
executed.
I think this is different from a scenario where someone explicitly
Roundup Robot devnull@devnull added the comment:
New changeset cc28bc86d474 by Éric Araujo in branch 'default':
Remove wsgiref.egg-info from msi.py (follow-up to d615eb7bce33, #12218)
http://hg.python.org/cpython/rev/cc28bc86d474
--
___
Python
Éric Araujo mer...@netwok.org added the comment:
Is this minor cleanup, non-bugfix okay for 3.2?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12019
___
Éric Araujo mer...@netwok.org added the comment:
Can you check if this is covered in test_database?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10884
___
Éric Araujo mer...@netwok.org added the comment:
Thanks Stephan, that was on my mind but I forgot it. I’m -1 on
using https if no validation is performed.
It will be more professional if you could also explain why.
If you make an HTTPS connection without checking the certificate, what
Éric Araujo mer...@netwok.org added the comment:
Thanks. What about using sysconfig.is_python_build in your patch?
--
assignee: tarek - eric.araujo
title: create installation path if it's non-existent - Warn when trying to
install third-party module from an uninstalled checkout
Fred L. Drake, Jr. fdr...@acm.org added the comment:
On Mon, Jun 6, 2011 at 11:50 AM, Éric Araujo rep...@bugs.python.org wrote:
If you make an HTTPS connection without checking the certificate, what
security does it add?
I'm in favor of cert checking, myself.
--
Éric Araujo mer...@netwok.org added the comment:
Thorsten Behrens said:
You are right, this is not a bug in Python. The diff provides a
workaround for a limitation in VC++ 2008 Express. This diff is a
piece of user service.
ipatrol added:
Purity shmurity. The point of distutils is largely
Changes by Éric Araujo mer...@netwok.org:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9302
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
dependencies: +pysetup --search should return non-zero when a dist is not
installed and print a message stating the fact.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1
Éric Araujo mer...@netwok.org added the comment:
What would the value be for non-C Python implementations?
If the need for compiler-specific options is very common, we could consider
either improving the compiler system or implement this request; if it’s not
common, letting people use hooks
Changes by Éric Araujo mer...@netwok.org:
--
assignee: tarek - eric.araujo
keywords: +gsoc
title: add a 'develop' command - Packaging: add a 'develop' command
versions: +Python 3.3 -3rd party
___
Python tracker rep...@bugs.python.org
Stefan Krah stefan-use...@bytereef.org added the comment:
Hmm, in http://bugs.python.org/issue7511#msg106420 Tarek appeared to
be supportive of the patch.
Re DISTUTILS_USE_SDK:
I don't think many users are aware of this variable. Also, it is not
needed at all; it is sufficient to execute
Erik Bray erik.m.b...@gmail.com added the comment:
Adds support for multiple setup_hooks and updates the docs.
For now I left the option name as setup_hook, though it might make sense to
rename it to setup_hooks for consistency's sake.
--
keywords: +patch
Added file:
R. David Murray rdmur...@bitdance.com added the comment:
I've done a little poking around, and it looks like you are correct and I'm
wrong. It appears that readline.so is or should be a special case. I've added
some people to nosy to see what they think.
Specifically, it appears that if I
Charles-François Natali neolo...@free.fr added the comment:
Hmm, thinking about it, I don't see any reason to make the flags argument
optional.
Here's a patch changing that (also, pipe2 is now declared as METH_O instead of
METH_VARARGS).
--
Added file:
Stefan Krah stefan-use...@bytereef.org added the comment:
panel.h is not found. You'll need to install the package that
provides libpanel together with the header files:
error: panel.h: No such file or directory
This does not look like a Python bug, so I'll set the issue to
'pending'. You can
Antoine Pitrou pit...@free.fr added the comment:
Hmm, thinking about it, I don't see any reason to make the flags argument
optional.
Here's a patch changing that (also, pipe2 is now declared as METH_O instead
of METH_VARARGS).
Looks good to me.
--
Antoine Pitrou pit...@free.fr added the comment:
Note that I didn't test LMTP. Should I or is it obvious enough that the
change is ok?
Thank you for the patch! I think it's ok. I'll give it a try and commit
if everything is alright.
--
___
Python
Roundup Robot devnull@devnull added the comment:
New changeset b68390b6dbfd by Antoine Pitrou in branch 'default':
Issue #11893: Remove obsolete internal wrapper class `SSLFakeFile` in the
smtplib module.
http://hg.python.org/cpython/rev/b68390b6dbfd
--
nosy: +python-dev
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11893
___
1 - 100 of 135 matches
Mail list logo