I wrote something like this a little while ago, may be this is what you are
looking for:
http://rationalpie.wordpress.com/2011/02/12/posting-photo-to-wall-using-facebook-graph-api/
On Mon, Apr 9, 2012 at 8:46 PM, CM cmpyt...@gmail.com wrote:
I've tried using fbconsole[1] and facepy[2], both of
On Mon, Apr 9, 2012 at 10:49 PM, Nikhil Verma varma.nikhi...@gmail.comwrote:
for_patient_type = {37: u'Test', 79: u'Real', 80: u'Real', 81: u'Real',
83: u'Real', 84: u'Real', 91: u'Real', 93: u'Real'}
I want if the values are 'Real' give me the keys that have values 'Real'
like this.
Thanks Shashank . It worked.
On Tue, Apr 10, 2012 at 11:34 AM, Shashank Singh
shashank.sunny.si...@gmail.com wrote:
On Mon, Apr 9, 2012 at 10:49 PM, Nikhil Verma varma.nikhi...@gmail.comwrote:
for_patient_type = {37: u'Test', 79: u'Real', 80: u'Real', 81: u'Real',
83: u'Real', 84:
On 04/10/2012 02:04 AM, Shashank Singh wrote:
On Mon, Apr 9, 2012 at 10:49 PM, Nikhil Verma varma.nikhi...@gmail.comwrote:
SNIP
I am trying this but its giving me a generator object.
In [9]: (k for k,v in for_patient_type.iteritems() if v == 'Real')
Iterating over a dict gives you all the
On Tue, Apr 10, 2012 at 12:16 AM, Dave Angel d...@davea.name wrote:
On 04/10/2012 02:04 AM, Shashank Singh wrote:
On Mon, Apr 9, 2012 at 10:49 PM, Nikhil Verma varma.nikhi...@gmail.com
wrote:
SNIP
I am trying this but its giving me a generator object.
In [9]: (k for k,v in
Thanks Dave and Shashank . I cleared the concept also.
I got it guys. In my piece of code where i was doing this
In [25]: [k for k,v in for_patient_type.iteritems() if v == Real]
Out[25]: [80, 81, 83, 84, 91, 93, 79]
thats what shashank suggest later. Thanks to you Dave.I cleared my concept
I have confirmed that the signal involved is SIGKILL and, yes,
apparently OS is simply running out of memory.
Thank you all, again!
Best Regards,
Janis
--
http://mail.python.org/mailman/listinfo/python-list
Janis janis.vik...@gmail.com writes:
I have confirmed that the signal involved is SIGKILL and, yes,
apparently OS is simply running out of memory.
This is the notorious OOM killer, sigh. There are some links from
http://en.wikipedia.org/wiki/OOM_Killer
--
In 20120409111329@kylheku.com, on 04/09/2012
at 06:55 PM, Kaz Kylheku k...@kylheku.com said:
Null-terminated C strings do the same thing.
C arrays are not LISP strings; there is no C analog to car and cdr.
Code that needs to deal with null characters is manipulating
binary data, not
Op maandag 9 april 2012 22:51:48 UTC+2 schreef Roy Smith het volgende:
In article
1a558398-3984-4b20-8d67-a0807871b...@v1g2000yqm.googlegroups.com,
aapeetnootjes ilyacool...@gmail.com wrote:
I'm trying out the pygame tutorial at
http://www.pygame.org/docs/tut/intro/intro.html
If I
In 87vcl81wtw@sapphire.mobileactivedefense.com, on 04/09/2012
at 09:20 PM, Rainer Weikusat rweiku...@mssgmbh.com said:
This is logically very similar to the LISP list
FSVO similar.
This is, I think, a case where the opinions of people who have used
C strings and the opinions of people
Am 09.04.2012 20:57, schrieb Kiuhnm:
Do you have some real or realistic (but easy and self-contained)
examples when you had to define a (multi-statement) function and pass it
to another function?
Take a look at decorators, they not only take non-trivial functions but
also return them. That
On 4/10/2012 14:29, Ulrich Eckhardt wrote:
Am 09.04.2012 20:57, schrieb Kiuhnm:
Do you have some real or realistic (but easy and self-contained)
examples when you had to define a (multi-statement) function and pass it
to another function?
Take a look at decorators, they not only take
On Tue, Apr 10, 2012 at 6:52 AM, Shmuel Metz
spamt...@library.lspace.org.invalid wrote:
In 20120409111329@kylheku.com, on 04/09/2012
at 06:55 PM, Kaz Kylheku k...@kylheku.com said:
Null-terminated C strings do the same thing.
C arrays are not LISP strings; there is no C analog to car
In article
19745339.1683.1333981625966.JavaMail.geo-discussion-forums@yncc41,
Miki Tebeka miki.teb...@gmail.com wrote:
How may I get a fresh Python shell with Idle 3.2 ?
Open the configuration panel (Options - Configure IDLE).
Look in the Keys tab for the shortcut to restart-shell
Fine,
On Tue, Apr 10, 2012 at 2:36 PM, Franck Ditter fra...@ditter.org wrote:
In article
19745339.1683.1333981625966.JavaMail.geo-discussion-forums@yncc41,
Miki Tebeka miki.teb...@gmail.com wrote:
How may I get a fresh Python shell with Idle 3.2 ?
Open the configuration panel (Options -
Shmuel (Seymour J.)Metz spamt...@library.lspace.org.invalid wrote in
message news:4f8410ff$2$fuzhry+tra$mr2...@news.patriot.net...
In 20120409111329@kylheku.com, on 04/09/2012
at 06:55 PM, Kaz Kylheku k...@kylheku.com said:
If we scan for a null terminator which is not there, we have a
Shmuel (Seymour J.) Metz spamt...@library.lspace.org.invalid writes:
In 20120409111329@kylheku.com, on 04/09/2012
at 06:55 PM, Kaz Kylheku k...@kylheku.com said:
Null-terminated C strings do the same thing.
C arrays are not LISP strings; there is no C analog to car and cdr.
'car' and
On Apr 10, 3:36 am, Kiuhnm kiuhnm03.4t.yahoo.it wrote:
On 4/10/2012 14:29, Ulrich Eckhardt wrote:
Am 09.04.2012 20:57, schrieb Kiuhnm:
Do you have some real or realistic (but easy and self-contained)
examples when you had to define a (multi-statement) function and pass it
to another
On Tue, Apr 10, 2012 at 11:36 PM, Kiuhnm
kiuhnm03.4t.yahoo...@mail.python.org wrote:
On 4/10/2012 14:29, Ulrich Eckhardt wrote:
Am 09.04.2012 20:57, schrieb Kiuhnm:
Do you have some real or realistic (but easy and self-contained)
examples when you had to define a (multi-statement) function
On 4/10/2012 3:28 PM, Benjamin Kaplan wrote:
On Tue, Apr 10, 2012 at 2:36 PM, Franck Ditterfra...@ditter.org wrote:
In article
Hum, but when I press, Ctl-F6, nothing happens !!??!! F6 gives me char.
(MacOS-X Lion, France, Idle 3.3.0a2)
This is what Ctrl-F6 does on Windows.
On 4/10/2012 4:10 PM, Rainer Weikusat wrote:
'car' and 'cdr' refer to cons cells in Lisp, not to strings. How the
first/rest terminology can be sensibly applied to 'C strings' (which
are similar to linked-lists in the sense that there's a 'special
termination value' instead of an explicit
In article
CAMuTYXgji6rnKD96vut6DvtsRGNbwdbnZcN=mr37vwntn-e...@mail.gmail.com,
Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Tue, Apr 10, 2012 at 2:36 PM, Franck Ditter fra...@ditter.org wrote:
In article
19745339.1683.1333981625966.JavaMail.geo-discussion-forums@yncc41,
Miki
Terry J. Reedy tjre...@udel.edu added the comment:
C:\Programs\Python32\Tools\Scripts..\..\pythonw pydocgui.pyw -b
has the same behavior I described. So does -g.
The shortcut has been part of the Windows installation for many versions. It
obviously uses pydocgui.py.
Mark Dickinson dicki...@gmail.com added the comment:
The pickle issue occurs in the numpy module, on windows
I'm still not clear what the issue is. Is there something wrong in the output
of the pickle example you show?
--
___
Python tracker
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
You haven't configured any handlers for the logger, so by default it wouldn't
actually log anything. However, when no handlers are configured, logging uses
an internal last resort handler to print the message to sys.stderr, and this
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: -haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14423
___
___
Python-bugs-list
mattip matti.pi...@gmail.com added the comment:
The pickle output has the sign-bit set. Ignoring the sign-bit, it is unpickled
correctly. However math.copysign using this value will now return minus on
platforms where copysign(3., float('nan')) is known to work.
Perhaps the whole can of worms
Mark Dickinson dicki...@gmail.com added the comment:
The pickle output has the sign-bit set. Ignoring the sign-bit, it is
unpickled correctly.
Okay, thanks for the clarification. I just wanted to be clear whether there's
a real problem with pickle that should be fixed in 2.7 or not.
Esben Agerbæk Black esbe...@gmail.com added the comment:
I believe that it is a good solution to have, for lack of a better term;
bi-directional features so
in my opinion .isocalendar() merits having a constructor that takes an ISO
format.
Sadly no :-(
I looked it over once more and it seems
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
We shouldn't be testing implementation details. The Condition variables are
canonically prone to spurious wakeups and stolen wakeups. The fact that
the current implementation doesn't have them shouldn't place that burden on
Stefan Krah stefan-use...@bytereef.org added the comment:
I think it would be a good idea to fix this in the Python version
for the other implementations.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14478
Antoine Pitrou pit...@free.fr added the comment:
The Condition variables are canonically prone to spurious wakeups
and stolen wakeups.
No, they aren't. Just because POSIX says they are doesn't mean *our*
condition variables are the same. Spurious wakeups are an annoyance, and
our
Antoine Pitrou pit...@free.fr added the comment:
No, but it is still a one-line function that those who need it can
easily implement.
It's so easy that the patch isn't a one-liner and it seems to still have
bugs wrt. intended behaviour.
I am on the fence here because we already have
R. David Murray rdmur...@bitdance.com added the comment:
delete_after what? I know it is somewhat implicit in the fact that it is a
context manager call, but that is not the only context the method name will be
seen in. (eg: 'dir' list of methods, doc index, etc). Even as a context
manager
R. David Murray rdmur...@bitdance.com added the comment:
By the way, I still think it would be nicer just to have the context manager
work as expected with delete=True (ie: doesn't delete until the end of the
context manager, whether the file is closed or not). I'm OK with being voted
down
Antoine Pitrou pit...@free.fr added the comment:
By the way, I still think it would be nicer just to have the context
manager work as expected with delete=True (ie: doesn't delete until
the end of the context manager, whether the file is closed or not).
I'm OK with being voted down on that,
Jason R. Coombs jar...@jaraco.com added the comment:
I agree. If the primary usage of the class does not work well on Windows,
developers will continue to write code using the primary usage because it works
on their unix system, and it will continue to cause failures when run on
windows.
sbt shibt...@gmail.com added the comment:
Updated patch which uses ForkingPickler in Connection.send().
Note that connection sharing still has to be enabled using
allow_connection_pickling().
Support could be enabled automatically, but that would introduce more circular
imports which confuse
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Tue, Apr 10, 2012 at 6:44 AM, Antoine Pitrou rep...@bugs.python.org wrote:
It's so easy that the patch isn't a one-liner and it seems to still have
bugs wrt. intended behaviour.
Unless I miss something, the inverse to
R. David Murray rdmur...@bitdance.com added the comment:
Well, fixing NamedTemporaryFile in either of the ways we've discussed isn't
going to fix people writing non-portable code. A unix coder isn't necessarily
going to close the file before reading it. However, it would at least
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk:
test_sndhdr fails when run from an installed Python, due to a missing directory
in the installation.
The attached patch should rectify this.
--
components: Library (Lib)
files: Makefile.pre.in.diff
keywords: easy, patch
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Whoops, I think I added Georg when I meant Victor ...
--
nosy: +haypo -georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14541
Jim Jewett jimjjew...@gmail.com added the comment:
Stefan Krah has a good point.
Since the only cost is an extra slot, and this is for users who have already
chosen to use Decimal instead of a more efficient (but possibly less accurate)
representation, even without the native speedups to
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a012d5df2c73 by Stefan Krah in branch 'default':
Issue #14478: Cache the hash of a Decimal in the C version.
http://hg.python.org/cpython/rev/a012d5df2c73
--
nosy: +python-dev
Stefan Krah stefan-use...@bytereef.org added the comment:
I changed the C version to cache the hash as well: For the submitted
test case the speedup is only 5x, but hashing times vary greatly
depending of the size of the coefficient and the exponent.
BTW, the tests already call both hash() and
STINNER Victor victor.stin...@gmail.com added the comment:
Data files were added by the issue #9243 for new tests.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14541
___
Stefan Krah stefan-use...@bytereef.org added the comment:
The patch for the Python version looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14478
___
Antoine Pitrou pit...@free.fr added the comment:
Support could be enabled automatically, but that would introduce more
circular imports which confuse me.
Are you sure? AFAICT:
- connection depends on forking
- reduction depends on forking and connection
But connection doesn't depend on
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Data files were added by the issue #9243 for new tests.
That's fine, it's just that the Makefile needs to include the new directory
test/sndhdrdata (which my patch does). I could have committed the change, but
thought you should be in
Serhiy Storchaka storch...@gmail.com added the comment:
The patch for the Python version looks good to me
Oh, but used by James Hutchison approach is faster. When I disable the
_decimal:
Unpatched:
int: 2.24056077003479
CachingDecimal: 8.49468207359314
Decimal: 187.68132972717285
With
sbt shibt...@gmail.com added the comment:
But connection doesn't depend on reduction, neither does forking.
If registration of (Pipe)Connection is done in reduction then you can't make
(Pipe)Connection picklable *automatically* unless you make connection depend on
reduction (possibly
STINNER Victor victor.stin...@gmail.com added the comment:
Python 3.2 should also be fixed. You may need to patch Tools/msi/msi.py in
Python 3.2, not in Python 3.3 (see changeset fb7bb61c8847).
--
___
Python tracker rep...@bugs.python.org
James Hutchison jamesghutchi...@gmail.com added the comment:
In the patch:
This:
+except AttributeError:
+pass
should be:
+except:
everything inside except statement
Checking for the AttributeError is very slightly slower. Not by a lot, but I
think if we're going
Serhiy Storchaka storch...@gmail.com added the comment:
I can't imagine any other exception coming from that try statement.
KeyboardInterrupt
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14478
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Checking for the AttributeError is very slightly slower
Why are you trying to micro-optimize the Python version, when the C
implementation does it better and faster?
--
nosy: +amaury.forgeotdarc
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Stolen wakeups are a fact of life though, even in cpython's implementation of
condition variables. And for the user of a condition variable the difference
is so subtle as to not warrant special mention.
This is, btw, not just a
Serhiy Storchaka storch...@gmail.com added the comment:
Using except: pass as opposed to sticking everything inside the except
statement is also very slightly slower as well
I ran the test several times and didn't see the difference between pass
and sticking variants more than between
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b2242224fb7f by Vinay Sajip in branch '3.2':
Issue #14541: Added test/sndhdrdata to Makefile.pre.in for installation.
http://hg.python.org/cpython/rev/b2242224fb7f
New changeset 54bc19fc5b46 by Vinay Sajip in branch
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Closing, as msi.py for 3.2 appears to already include sndhdrdata.
--
assignee: - vinay.sajip
resolution: - fixed
status: open - closed
versions: +Python 3.2
___
Python tracker
Charles-François Natali neolo...@free.fr added the comment:
The Condition variables are canonically prone to spurious wakeups
and stolen wakeups.
No, they aren't. Just because POSIX says they are doesn't mean *our*
condition variables are the same. Spurious wakeups are an annoyance, and
Antoine Pitrou pit...@free.fr added the comment:
Stolen wakeups are a fact of life though, even in cpython's
implementation of condition variables. And for the user of a
condition variable the difference is so subtle as to not warrant
special mention.
I don't think it's a subtle
Stefan Behnel sco...@users.sourceforge.net added the comment:
Done.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14098
___
___
Serhiy Storchaka storch...@gmail.com added the comment:
Please open a new issue for such improvement.
Well, I'll do it as soon as slightly improve the script.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13165
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: +hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12978
___
___
Python-bugs-list mailing list
Antoine Pitrou pit...@free.fr added the comment:
I'm proposing the following changes to the threading docs. Most of them are
cleanups and small improvements, but I also rewrote the offending paragraph,
and made the wait_for example more proeminent.
--
Added file:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 89eeaa18700f by Senthil Kumaran in branch '2.7':
fix the incorrect changes made for PATH_INFO value - Issue10484
http://hg.python.org/cpython/rev/89eeaa18700f
New changeset 827a4062b1d6 by Senthil Kumaran in branch
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 4d49a2415ced by Senthil Kumaran in branch '2.7':
Fix closes Issue14258 - Clarify the re.LOCALE and re.UNICODE flags for \S class
http://hg.python.org/cpython/rev/4d49a2415ced
--
resolution: - fixed
status:
Senthil Kumaran sent...@uthcode.com added the comment:
I had to carefully review a lot of changes for this. In addition, I did setup a
apache and tested the behaviors too.
Few notes -
- The test for _url_collapse_path_split is not directly helpful, especially
for PATH_INFO. I removed my
Charles-François Natali neolo...@free.fr added the comment:
I'm proposing the following changes to the threading docs. Most of them are
cleanups and small improvements, but I also rewrote the offending paragraph,
and made the wait_for example more proeminent.
Looks good to me.
--
Charles-François Natali neolo...@free.fr added the comment:
Therefore the expected digest changes each time.
Exactly.
Timing attacks (which aren't really new :-) depend on a constant digest to
successively determine the characters composing the digest. Here, that won't
work, because the
Charles-François Natali neolo...@free.fr added the comment:
This stack trace is strange.
Is it really the python binary?
Anyway, if it's segfaulting inside dlmalloc, there's probably not much we can
do.
Actually, I wonder why we still ship it...
--
nosy: +neologix, pitrou
Esben Agerbæk Black esbe...@gmail.com added the comment:
1) Yes I agree, your solution is somewhat more concise, I have corrected
the code accordingly.
2) I get errors for all my test when I build my python and run
./python.exe -m test.datetimetester -j3
I asume this is because I have yet to
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2f51dca92883 by Antoine Pitrou in branch '3.2':
Issue #8799: Fix and improve the threading.Condition documentation.
http://hg.python.org/cpython/rev/2f51dca92883
--
nosy: +python-dev
Antoine Pitrou pit...@free.fr added the comment:
1) Yes I agree, your solution is somewhat more concise, I have corrected
the code accordingly.
2) I get errors for all my test when I build my python and run
./python.exe -m test.datetimetester -j3
I asume this is because I have yet to
Antoine Pitrou pit...@free.fr added the comment:
Ok, I've fixed the docs in 3.2 and 3.3.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8799
___
Antoine Pitrou pit...@free.fr added the comment:
Anyway, if it's segfaulting inside dlmalloc, there's probably not much we can
do.
Actually, I wonder why we still ship it...
I think it's bundled with our copy of libffi.
I agree the stacktrace is strange. At the very least it looks
New submission from Bill Jefferson shagge...@yahoo.com:
reverse() doesn't reverse sort correctly in Python 25 and 27. sort() works
correctly, but reverse doesn't. The following uses reverse(). Incorrect. Even
though the date comes first, reverse() sorts on the file name,
B57IBMCD_T.zip
STINNER Victor victor.stin...@gmail.com added the comment:
+if (has_getickcount64) {
+ULONGLONG ticks;
+ticks = Py_GetTickCount64();
+result = (double)ticks * 1e-3
+}
; is missing after 1e-3, it does not compile on Windows because of this.
--
Eric V. Smith e...@trueblade.com added the comment:
list.reverse() does not reverse a list, it reverses its current values.
help([].reverse)
Help on built-in function reverse:
reverse(...)
L.reverse() -- reverse *IN PLACE*
--
nosy: +eric.smith
resolution: - invalid
stage: -
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I don't see a need to cache the hash value in the pure Python version.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14478
zodalahtathi m8r-a70...@mailinator.com added the comment:
Thank you for the explanation
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14539
___
Stefan Krah stefan-use...@bytereef.org added the comment:
How about silencing the AssertionError until a better solution
is found? The patch works here.
--
keywords: +patch
Added file: http://bugs.python.org/file25173/issue14341.diff
___
Python
Antoine Pitrou pit...@free.fr added the comment:
Well, the point of the test is to check that the warnings are issued, so
silencing them kind of defeats it.
Senthil, why did you use check_warning instead of assertWarns?
--
___
Python tracker
New submission from Dino Viehland di...@microsoft.com:
OpenSSL has had many fixes since the 0.9.8l version, and in particular there is
one issue which prevents it from connecting with SSL with a client certificate:
the end result is the SSL connection hangs or times out.
Updating the OpenSSL
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14543
___
___
Python-bugs-list
STINNER Victor victor.stin...@gmail.com added the comment:
Why not upgrading to OpenSSL 1.0, at least for Python 3.3?
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14543
___
Antoine Pitrou pit...@free.fr added the comment:
Well, 3.3 already links with openssl-1.0.0a. However, updating to the latest
1.0.x would probably be good.
--
nosy: +georg.brandl
versions: +Python 3.2, Python 3.3
___
Python tracker
Dino Viehland di...@microsoft.com added the comment:
A 1.0 version would be fine w/ me (I tested it with one of those and it worked
as well) - I was just thinking a bug fix release might want to stick w/ a bug
fix release of OpenSSL too.
--
___
Antoine Pitrou pit...@free.fr added the comment:
A 1.0 version would be fine w/ me (I tested it with one of those and
it worked as well) - I was just thinking a bug fix release might want
to stick w/ a bug fix release of OpenSSL too.
Agreed, I was replying to Victor about 3.3.
--
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Senthil, thanks for your work on this. Regarding:
I also looked at changes in the patches contained in issue 13893, but I found
that those broke behavior or exhibited the security issue again.
I'd be curious to know what problems you
Brett Cannon br...@python.org added the comment:
OK, I have fixed test_trace by tweaking the trace module in default. I have
decided to follow Antoine's suggestion-by-question and get test_pydoc working
before I merge by getting ImportError spruced up in default but pydoc changed
in
Changes by Brett Cannon br...@python.org:
--
dependencies: +ImportError needs attributes for module and file name
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2377
___
Brett Cannon br...@python.org added the comment:
This is now officially blocking my importlib bootstrap work (issue #2377), so I
have assigned this to myself to get done and I hope to get this committed
within a week *without* updating Python/import.c and the requisite tests or
pydoc (which I
Paul A. p...@freeshell.org added the comment:
I'd be more than happy to use my own installation of libffi instead, but it
seems the --with-system-ffi configure flag doesn't work. I've also opened a
different bug for that.
--
___
Python tracker
Paul A. p...@freeshell.org added the comment:
While this is no solution by any means, I think it'd be better for the scenario
to be a fatal configure error. After all, if I say --with-system-ffi, it means
I really, really want want to use my own libffi.
--
New submission from Nick Coghlan ncogh...@gmail.com:
The language spec currently includes the following paragraph [1]:
Names listed in a global statement must not be defined as
formal parameters or in a for loop control target, class
definition, function definition, or import
Alex Gaynor alex.gay...@gmail.com added the comment:
This shouldn't be a problem for PyPy, in fact I'm almost positive that we
implement this already (since Django has a test that uses this feature).
If/when the spec is changed please make sure there are tests for all these
cases so we
Nick Coghlan ncogh...@gmail.com added the comment:
Thread link:
http://mail.python.org/pipermail/python-ideas/2012-April/014783.html
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14544
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14544
___
___
Python-bugs-list
1 - 100 of 102 matches
Mail list logo