One sentence can contain one or more strings next to each-other, which
can be joined to make another word.
e.g.:
to get her == together
an other == another
where about == whereabouts
etc
Solve this problem using as few lines of code as possible[1].
Good luck!
[1] Don't use external
PIL, PyCrypto and many other modules require a C compiler and linker.
Unfortunately neither install on my computer, with a PATH with the following:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC
C:\libraries\MinGW\msys\1.0\bin
C:\libraries\MinGW
C:\Python27\Scripts
Output from
Hi there,
I`m again confused and its the dictionary. As dictionary does not support
append I create a variable list with dictionary key values and want to add
new values to it and then copy it again to the dictionary as I dont know
other methods.
mydict =
On Mon, Feb 6, 2012 at 2:13 AM, Anatoli Hristov toli...@gmail.com wrote:
Hi there,
I`m again confused and its the dictionary. As dictionary does not support
append I create a variable list with dictionary key values and want to add
new values to it and then copy it again to the dictionary as
On 5 February 2012 15:13, Anatoli Hristov toli...@gmail.com wrote:
Hi there,
I`m again confused and its the dictionary. As dictionary does not support
append I create a variable list with dictionary key values and want to add
new values to it and then copy it again to the dictionary as I dont
Am 05.02.2012 15:40, schrieb Alec Taylor:
PIL, PyCrypto and many other modules require a C compiler and linker.
Unfortunately neither install on my computer, with a PATH with the following:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC
C:\libraries\MinGW\msys\1.0\bin
On 2/5/2012 9:13 AM, Anatoli Hristov wrote:
and I get and error that TUPLE object has no attribute Append !!!
You defined mydict['name'] as a tuple, and tuples are immutable. Using a
tuple means that you don't ever want the values to change.
But how to add new Values to a dictionary then ?
This
On 02/05/2012 05:19 AM, Antti J Ylikoski wrote:
Yes, I do know that, but then it would not be a closure :-)
Forgive me if this is terribly naive, but what is the advantage of using
a closure as opposed to, say, some other function that returns the same
value in the same context, but
A 4 year old compiler?
I also have MSVC11 installed. Can the python project add support for
that so that we aren't waiting 5 years between compiler support?
On Mon, Feb 6, 2012 at 2:23 AM, Christian Heimes li...@cheimes.de wrote:
Am 05.02.2012 15:40, schrieb Alec Taylor:
PIL, PyCrypto and many
On Mon, 06 Feb 2012 03:42:08 +1100, Alec Taylor wrote:
A 4 year old compiler?
Compilers aren't like milk. They don't go off after a few weeks. A good
compiler/operating system combination should still be usable after 4 or
14 years. The compiler I'm using is six years old, and I expect that it
Am 05.02.2012 12:49, schrieb Alec Taylor:
Solve this problem using as few lines of code as possible[1].
Pardon me, but where's the problem? If your intention is to propose a
challenge, say so, and state the associated problem clearly.
--
--- Heiko.
--
Thanks Chris,
It works fine, I see it will take time till I understand all the syntax :(
A.H
On Sun, Feb 5, 2012 at 4:20 PM, Chris Angelico ros...@gmail.com wrote:
On Mon, Feb 6, 2012 at 2:13 AM, Anatoli Hristov toli...@gmail.com wrote:
Hi there,
I`m again confused and its the
On Sat, Feb 4, 2012 at 9:19 PM, Antti J Ylikoski antti.yliko...@tkk.fi wrote:
I'm not sure how naughty this is, but the same thing can be done without
using
nonlocal by storing the local state as an attribute of the enclosed
function
object:
...
Yes, I do know that, but then it would not
Alec Taylor alec.tayl...@gmail.com writes:
One sentence can contain one or more strings next to each-other, which
can be joined to make another word.
e.g.:
to get her == together
an other == another
where about == whereabouts
etc
Yes, that's true.
Solve this problem using as few
Heiko Wundram wrote:
Am 05.02.2012 12:49, schrieb Alec Taylor:
Solve this problem using as few lines of code as possible[1].
Pardon me, but where's the problem? If your intention is to propose a
challenge, say so, and state the associated problem clearly.
But this really misses the
Hello All,
I noticed that MySQLdb not allowing hyphen may be way to prevent injection
attack.
I have something like below:
insert into reviews(message, title)values('%s', '%s') %( We don't know
where to go,We can't wait till morrow )
ProgrammingError(1064, You have an error in your SQL syntax;
On Sun, Feb 5, 2012 at 2:41 PM, Emeka emekami...@gmail.com wrote:
Hello All,
I noticed that MySQLdb not allowing hyphen may be way to prevent injection
attack.
I have something like below:
insert into reviews(message, title)values('%s', '%s') %( We don't know
where to go,We can't wait
Am 05.02.2012 23:15, schrieb Neal Becker:
Heiko Wundram wrote:
Am 05.02.2012 12:49, schrieb Alec Taylor:
Solve this problem using as few lines of code as possible[1].
Pardon me, but where's the problem? If your intention is to propose a
challenge, say so, and state the associated problem
Dennis , Chris
Thanks so much!
On Mon, Feb 6, 2012 at 1:23 AM, Dennis Lee Bieber wlfr...@ix.netcom.comwrote:
On Mon, 6 Feb 2012 00:41:24 +0200, Emeka emekami...@gmail.com wrote:
Hello All,
I noticed that MySQLdb not allowing hyphen may be way to prevent injection
attack.
What
I have just finished listening to the FLOSS Weekly podcast #200
(http://twit.tv/show/floss-weekly/200) on autotest, where I've learned
about the existence of TAP (http://testanything.org/). A standardization
of testing seems to be so obviously The Right Thing™, that it is strange
that I don't
On 2/5/2012 6:23 PM, Dennis Lee Bieber wrote:
On Mon, 6 Feb 2012 03:42:08 +1100, Alec Tayloralec.tayl...@gmail.com
wrote:
A 4 year old compiler?
I also have MSVC11 installed. Can the python project add support for
that so that we aren't waiting 5 years between compiler support?
3.3 will
Hi,
I have this working function:
def as_xml(self):
out = etree.Element(or)
for k in sorted(self.keys()):
out.append(etree.Element(hostname,
attrib={'op': '=', 'value': random.choice(self[k])}))
# ... return somehow string representing XML
On Mon, 06 Feb 2012 02:27:38 +0100, Matej Cepl wrote:
Strange thing is that this unit tests correctly with python3, but fails
with python2. The problem is that apparently python3 random.choice picks
different element of self[k] than the one python2 (at least, both of
them are constant in
On 2/5/2012 11:01 PM, Steven D'Aprano wrote:
Reading the docs, I would expect that when using an int as seed, you
should get identical results.
That is similar to expecting hash to be consistent from version to version.
There is no mention that the PRNG has changed between 2.6 and 3.2;
Dear all,
You know python has many functions for operators overloading such as
__add__, __radd__, __invert__, __eq__ and so on.
How i see the complete list of them with help function?
Yours,
Mohsen
signature.asc
Description: This is a digitally signed message part
--
On 5.2.2012 22:58, Ian Kelly wrote:
On Sat, Feb 4, 2012 at 9:19 PM, Antti J Ylikoskiantti.yliko...@tkk.fi wrote:
I'm not sure how naughty this is, but the same thing can be done without
using
nonlocal by storing the local state as an attribute of the enclosed
function
object:
...
Yes, I do
On Mon, 06 Feb 2012 00:07:04 -0500, Terry Reedy wrote:
On 2/5/2012 11:01 PM, Steven D'Aprano wrote:
Reading the docs, I would expect that when using an int as seed, you
should get identical results.
That is similar to expecting hash to be consistent from version to
version.
No. hash is
On Sun, Feb 5, 2012 at 9:48 PM, Mohsen Pahlevanzadeh
moh...@pahlevanzadeh.org wrote:
Dear all,
You know python has many functions for operators overloading such as
__add__, __radd__, __invert__, __eq__ and so on.
How i see the complete list of them with help function?
I don't know if there's
On Mon, Feb 6, 2012 at 10:03 AM, Heiko Wundram modeln...@modelnine.org wrote:
You're only allowed to bash him for one-liners as soon as he formulates
something that in some way or another resembles a programming challenge, and
not some incoherent listing of words without actual intent... ;-)
On Mon, Feb 6, 2012 at 12:26 PM, Terry Reedy tjre...@udel.edu wrote:
On 2/5/2012 6:23 PM, Dennis Lee Bieber wrote:
On Mon, 6 Feb 2012 03:42:08 +1100, Alec Tayloralec.tayl...@gmail.com
wrote:
A 4 year old compiler?
I also have MSVC11 installed. Can the python project add support for
that
On 2/6/2012 12:56 AM, Steven D'Aprano wrote:
On Mon, 06 Feb 2012 00:07:04 -0500, Terry Reedy wrote:
On 2/5/2012 11:01 PM, Steven D'Aprano wrote:
Reading the docs, I would expect that when using an int as seed, you
should get identical results.
That is similar to expecting hash to be
On 2/6/2012 12:48 AM, Mohsen Pahlevanzadeh wrote:
Dear all,
You know python has many functions for operators overloading such as
__add__, __radd__, __invert__, __eq__ and so on.
How i see the complete list of them with help function?
import operator
help(operator)
Help on built-in module
On 2/6/2012 1:53 AM, Chris Angelico wrote:
On Mon, Feb 6, 2012 at 12:26 PM, Terry Reedytjre...@udel.edu wrote:
On 2/5/2012 6:23 PM, Dennis Lee Bieber wrote:
On Mon, 6 Feb 2012 03:42:08 +1100, Alec Tayloralec.tayl...@gmail.com
wrote:
A 4 year old compiler?
I also have MSVC11 installed. Can
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7c263bfc92f5 by Georg Brandl in branch '2.7':
Closes #13944: fix capitalization of class name.
http://hg.python.org/cpython/rev/7c263bfc92f5
New changeset cd748bab3cdd by Georg Brandl in branch '3.2':
Closes #13944:
Georg Brandl ge...@python.org added the comment:
Done in 5748c9cf7628.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13945
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2c08bf9aca22 by Éric Araujo in branch 'default':
Allow multiple values for package_data in setup.cfg (#11805).
http://hg.python.org/cpython/rev/2c08bf9aca22
--
nosy: +python-dev
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset edb6f9fb54ac by Éric Araujo in branch 'default':
Stop converting package_data to extra_files in pysetup create (#13712).
http://hg.python.org/cpython/rev/edb6f9fb54ac
--
nosy: +python-dev
Éric Araujo mer...@netwok.org added the comment:
super without arguments literally relies on a compiler hack.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13771
___
Stefan Krah stefan-use...@bytereef.org added the comment:
I'm tagging this as a duplicate of #13843, since I expect more activity
on the newer issue.
--
nosy: +skrah
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Python doesn't compile anymore
Stefan Krah stefan-use...@bytereef.org added the comment:
See also #6617 (which I marked as a duplicate).
--
nosy: +amaury.forgeotdarc, skrah, thoratsandip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13843
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report and patch. I think distutils was not written with
Unicode in mind, or maybe even before Python had a unicode type. Technically,
http://docs.python.org/distutils/setupscript#additional-meta-data says that
unicode is not
Éric Araujo mer...@netwok.org added the comment:
I've added an updated patch which adds a link. I've also changed the
exception when URIs
are not supported to sqlite3.NotSupportedError.
Sounds good. Note to the person who will commit: :const:`True` should be
marked up as ``True.``
I
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 3.3 -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7559
___
Éric Araujo mer...@netwok.org added the comment:
BTW I wonder if setting __all__ to something but a list is valid. I think I
ran into a similar bug once and fixing __all__ fixed it. The IDLE robustness
fix is probably a good thing, but maybe we should also check the stdlib’s
__all__s and
Éric Araujo mer...@netwok.org added the comment:
Just a thought: maybe the doc note should mention that bz2file is a backport of
3.3’s improved class, so that people know that 1) it’s well-supported code 2) a
future Python version will remove the need for the external dependency.
--
Éric Araujo mer...@netwok.org added the comment:
Note that my proposed syntax does not allow something equivalent to {'':
[etc.]} in
distutils, i.e. package data for top-level modules. I think this is okay:
modules should
not install data in their installation dir. I don’t think it was
Changes by Éric Araujo mer...@netwok.org:
--
stage: test needed - committed/rejected
status: open - closed
superseder: - http.server doesn't process Status header from CGI scripts
versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python
3.4
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 730c2e4aaf9c by Éric Araujo in branch 'default':
Stop converting package_data to extra_files in pysetup create (#13712).
http://hg.python.org/distutils2/rev/730c2e4aaf9c
New changeset ea717d8e71d0 by Éric Araujo in
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e6a28ae0dfd6 by Éric Araujo in branch 'default':
Port OS X --enable-shared fix from packaging (#13901; untested)
http://hg.python.org/distutils2/rev/e6a28ae0dfd6
New changeset ea717d8e71d0 by Éric Araujo in branch
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 83a0985c7aad by Éric Araujo in branch 'default':
Allow multiple values for package_data in setup.cfg (#11805).
http://hg.python.org/distutils2/rev/83a0985c7aad
New changeset ea717d8e71d0 by Éric Araujo in branch
Éric Araujo mer...@netwok.org added the comment:
Thanks for the help Erik.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11805
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13712
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also #6617 (which I marked as a duplicate).
This issue contains an interesting message (msg91758):
I dont know Solaris, but googling for libintl_textdomain solaris shows
that many other projects have the same issue.
The
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ad20324229f4 by Nadeem Vawda in branch '2.7':
Clarify note in BZ2File docs about lack of multi-stream support (issue #1625).
http://hg.python.org/cpython/rev/ad20324229f4
New changeset e4c4595033ad by Nadeem Vawda
Éric Araujo mer...@netwok.org added the comment:
This sounds like a reasonable request. The patch needs tests, probably using
test.script_helper.assert_python_ok.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 33d6da1b1c71 by Éric Araujo in branch '3.2':
Document json.dump ensure_ascii parameter (#13770)
http://hg.python.org/cpython/rev/33d6da1b1c71
New changeset 1cb9b8126534 by Éric Araujo in branch 'default':
Merge
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 11bd2d32b4e8 by Éric Araujo in branch '3.2':
Improve interlinking of archiving/compression modules docs.
http://hg.python.org/cpython/rev/11bd2d32b4e8
New changeset 1cb9b8126534 by Éric Araujo in branch 'default':
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 26aea1825418 by Éric Araujo in branch '3.2':
Stop ignoring RPMs in distutils' upload command (#2945).
http://hg.python.org/cpython/rev/26aea1825418
New changeset 1cb9b8126534 by Éric Araujo in branch 'default':
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3d25869fce0c by Éric Araujo in branch '3.2':
Hide or remove user-visible XXX notes from distutils doc (#13716).
http://hg.python.org/cpython/rev/3d25869fce0c
New changeset 1cb9b8126534 by Éric Araujo in branch
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 79e8de78abd0 by Éric Araujo in branch '3.2':
Markup improvements for the embedding CPython doc patch from #1040439
http://hg.python.org/cpython/rev/79e8de78abd0
New changeset 1cb9b8126534 by Éric Araujo in branch
Petri Lehtinen pe...@digip.org added the comment:
Éric Araujo wrote:
I’m not sure the doc note is useful, but didn’t code search to
confirm it.
Yeah. Perhaps it would be better as a comment in the code.
Also, 3.2 may be out of bounds for this cleanup (I don’t know the
rules for what can be
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 773a97b3927d by Charles-François Natali in branch 'default':
Issue #13734: Add os.fwalk(), a directory walking function yielding file
http://hg.python.org/cpython/rev/773a97b3927d
--
nosy: +python-dev
Changes by Ross Lagerwall rosslagerw...@gmail.com:
--
nosy: +rosslagerwall
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10482
___
___
Changes by Ross Lagerwall rosslagerw...@gmail.com:
--
nosy: +rosslagerwall
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10487
___
___
Ned Deily n...@acm.org added the comment:
It looks like the test failures do not show up with debug enabled
(--with-pydebug). I'm able to reproduce them with:
./configure MACOSX_DEPLOYMENT_TARGET=10.7 CC=clang
--
nosy: +ned.deily
___
Python
Charles-François Natali neolo...@free.fr added the comment:
Committed, thanks for the comments.
Note to myself (and others that might be interested in the O(1)) version):
we can't simply call openat(dirfd, .., O_RDONLY) to re-open the current
directory's file descriptor after having walked a
Charles-François Natali neolo...@free.fr added the comment:
Closing, since it's hard to write correctly, and apparently not that useful.
--
resolution: - rejected
stage: - committed/rejected
status: open - closed
___
Python tracker
Charles-François Natali neolo...@free.fr added the comment:
Closing (see http://bugs.python.org/msg149904 and
http://bugs.python.org/msg149909).
--
assignee: docs@python -
resolution: - rejected
stage: patch review - committed/rejected
status: open - closed
versions: -Python 2.7,
John Pye j...@curioussymbols.com added the comment:
Hi Martin
I have documented a build process for a Python package on MinGW-w64, including
a requirement that this patch be applied. You might want to revisit it, given
that your attempt to reproduce this bug earlier was unsuccessful.
Roger Serwy roger.se...@gmail.com added the comment:
Those four lines are present just in case self.root is not initialized.
Even if you short-circuit the behavior and set parent=self.top, the patch still
works, only that closing the calling EditorWindow instance also closes the help
dialog.
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: +hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10284
___
___
Python-bugs-list mailing list
Charles-François Natali neolo...@free.fr added the comment:
However, let me point out the following sentence:
“Ports without SO_EXCLUSIVEADDRUSE set may be reused as soon as the socket on
which bind was previously called is closed.”
...which seems to suggest we shouldn't use SO_REUSEADDR
Antoine Pitrou pit...@free.fr added the comment:
Actually, it seems that even though the documentation doesn't mention
sockets in TIME_WAIT state, SO_REUSEADDR is actually required on
Windows:
http://twistedmatrix.com/trac/ticket/1151#comment:18
According to that message, we would only need
Charles-François Natali neolo...@free.fr added the comment:
I think you read it wrong.
Duh, I managed to misread both the comment and the code :-)
What my subconscious refused to admit is the fact that on Windows, SO_REUSEADDR
allows you to bind to any port - even though the other
Meador Inge mead...@gmail.com added the comment:
I can reproduce it without --with-pydebug. Thanks. I will investigate.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13370
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2b93ee675ec4 by Terry Jan Reedy in branch '2.7':
#13933 refine patch using 'new' builtin
http://hg.python.org/cpython/rev/2b93ee675ec4
New changeset d8f988b0c959 by Terry Jan Reedy in branch '3.2':
#13933 refine
Terry J. Reedy tjre...@udel.edu added the comment:
6.11 Import statement says __all__; if defined, it must be a sequence of
strings which are names defined or imported by that module.
I am tempted to open an issue to change 'sequence' to 'list', or even 'sorted
sequence', but that is
Martin v. Löwis mar...@v.loewis.de added the comment:
John: in the current versions of the toolchain, Python's configure fails for
me. I follow steps 1..3 of Steps to date. Then running ./configure fails
saying that it does not work. I then tried alternatively these three approaches:
1. set
New submission from Nicolas nicolas-gau...@laposte.net:
The function set by readline.set_completer must return one completion per call.
This should be great if we can return an iterable, because with current
implementation I have to write a wrapper:
cache = None
def completer(text, state):
Changes by Jon Brandvein jon.brandv...@gmail.com:
--
nosy: +brandj
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10482
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 5452c881bd2d by Terry Jan Reedy in branch '2.7':
Issue 964437 Make IDLE help window non-modal.
http://hg.python.org/cpython/rev/5452c881bd2d
New changeset a949956a80cc by Terry Jan Reedy in branch '3.2':
Issue
Terry J. Reedy tjre...@udel.edu added the comment:
I was sure I had reverted, but did again, redownloaded, applied, and tested,
and all well, so committed and pushed. 2.7 required hand-patching of ', modal'
for chunk 5 due to 3rd argument being 'textFile.read()' instead of 'contents'.
I
Helder Magalhães helder.magalh...@gmail.com added the comment:
See tightly related ActivePython issue [1] regarding the way directories are
added to the PATH environment variable.
Also, here's qooxdoo (a well-known JavaScript framework) giving out
instructions [2] on how to use the official
Brian Curtin br...@python.org added the comment:
FWIW I have an installer built which optionally adds to the path. It's not
complete - still needs some GUI work to hook it all up, but I'll be proposing
it shortly.
--
___
Python tracker
Roger Serwy roger.se...@gmail.com added the comment:
I pulled the latest repo with the patch for 2.7. It works.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue964437
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Helder: please don't change tracker settings unless you know what they are for.
Python 2.6 and 3.1 can't possibly see any change here since they are in
security fix mode, and can't see any fixes affecting this issue. Likewise, 2.7
and 3.2
Marko Kohtala marko.koht...@gmail.com added the comment:
Here is finally an update to my patch modified according to comments received.
It should apply on 2.7 and 3.3 branches.
--
Added file: http://bugs.python.org/file24429/sqlite3dump.patch
___
Changes by Marko Kohtala marko.koht...@gmail.com:
Removed file: http://bugs.python.org/file18726/sqlite3dump.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9750
___
Changes by Marko Kohtala marko.koht...@gmail.com:
Removed file: http://bugs.python.org/file18725/sqlite3bug2.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9750
___
Changes by Marko Kohtala marko.koht...@gmail.com:
Removed file: http://bugs.python.org/file18720/sqlite3bug.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9750
___
Helder Magalhães helder.magalh...@gmail.com added the comment:
@Brian: glad to know about it. It will surely help, as many Windows users
aren't much comfortable with the console already, and even less comfortable for
tweaking the system at this level (apart from permission issues, etc.). ;-)
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 82c4f094f811 by Ned Deily in branch '2.7':
Issue #10881: Fix test_site failures with OS X framework builds.
http://hg.python.org/cpython/rev/82c4f094f811
New changeset 013cba2eb008 by Ned Deily in branch '3.2':
Ned Deily n...@acm.org added the comment:
Thanks, Vinay, for your analysis. I adapted it for the applied fix. For 2.7,
there were two additional test_site failures that are fixed by back porting
minor fixes to site.py and sysconfig.py from 3.x. Applied in 2.7 (for 2.7.3),
3.2 (for 3.2.3),
Changes by Ned Deily n...@acm.org:
--
nosy: +benjamin.peterson, georg.brandl
priority: normal - release blocker
title: Prebuilt python-2.7.2 binaries for macosx can not compile c extensions
- exension module builds fail with python.org OS X installers on OS X 10.7 and
10.6 with Xcode
Ezra Berch ezrabe...@mac.com added the comment:
The reason for this issue appears to be a bug in the clang optimizer. This is
why it only shows up with debug disabled. When I compile with -O0 instead of
-O3, the test passes.
This issue from the clang tracker may be the same issue:
Patrick Andrew pand...@isilon.com added the comment:
From py-logilab-common 0.57.1 port for FreeBSD. No patches applied:
package init file './test/__init__.py' not found (or not a regular file)
Traceback (most recent call last):
File setup.py, line 170, in module
install()
File
Ned Deily n...@acm.org added the comment:
P.S. I forgot to mention that one of the 2.7 test_site failures was due to the
PYTHONUSERBASE env variable having no effect with OS X framework builds. That
had been fixed in 3.x; it's now back ported.
--
Meador Inge mead...@gmail.com added the comment:
So I have debugged the first failure and it has to do with the sign extending
of 'signed char' parameters. The first test case basically does this:
_dll = CDLL(_ctypes_test.__file__)
_dll.tf_b.restype = c_byte
_dll.tf_b.argtypes =
Meador Inge mead...@gmail.com added the comment:
Since the first argument is a 'signed char', that should be 'movsbq'.
Hmmm, on second thought I am not 100% sure about that exact statement, but I
still think this is most likely a clang bug having something to do with sign
extension.
New submission from Jack Miller j...@codezen.org:
I've discovered that using either 2.7.2 or 3.2.2 (from Arch) reorganizing gdbm
databases leave hanging file descriptors that will cause EAGAIN errors trying
to reopen it until the process is killed. For example:
Python 2.7.2 (default, Jan 31
1 - 100 of 105 matches
Mail list logo