://doc.pypy.org/en/latest/getting-started.html#installing-using-virtualenv
.. _`virtualenv`: http://www.virtualenv.org/en/latest/
.. _`installation schemes`:
http://doc.pypy.org/en/latest/getting-started.html#installing-pypy
Cheers,
the PyPy team
--
Philip Jenvey
--
https://mail.python.org
On Wed, Jun 18, 2014 at 1:20 PM, cutey Love cuteywithl...@gmail.com wrote:
I'm trying to read in 10 lines of text, use some functions to edit them
and then return a new list.
The problem is my program always goes not responding when the amount of lines
are a high number.
I don't care
On 2014-06-08, Dave Angel da...@davea.name wrote:
Frank B fbick...@gmail.com Wrote in message:
Ok; this is a bit esoteric.
So finally is executed regardless of whether an exception occurs, so states
the docs.
But, I thought, if I return from my function first, that should take
On 2014-06-06, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 06/06/2014 22:58, Dave Angel wrote:
Chris Angelico ros...@gmail.com Wrote in message:
On Sat, Jun 7, 2014 at 4:15 AM, R Johnson
ps16thypresenceisfullnessof...@gmail.com wrote:
The subject line isn't as important as a header,
Jan-Philip Gehrcke added the comment:
I have updated the patch with a cross-reference to the sorted() built-in, which
explains the arguments.
W.r.t. to Éric's suggestion: the sorted() doc refers to the sorting howto in
the wiki. Now everything is connected.
--
Added file: http
New submission from Jan-Philip Gehrcke:
Currently, the tutorial for the list sort method does not show allowed
arguments:
list.sort()
Sort the items of the list in place.
(see e.g. https://docs.python.org/3.4/tutorial/datastructures.html)
Is there a reason why we do not show
Jan-Philip Gehrcke added the comment:
We should match the unit test with the documentation for signal.NSIG. Either
the code or the docs or both need to change.
Currently the docs say that signal.NSIG is One more than the number of the
highest signal number.
(https://docs.python.org/3.4
Jan-Philip Gehrcke added the comment:
If you are thinking TL;DR:
This fails on FreeBSD:
signal.signal(signal.SIGRTMAX, lambda *a: None)
Traceback (most recent call last):
File stdin, line 1, in module
ValueError: signal number out of range
Although of infrequent use, I doubt
New submission from Philip Sequeira:
Example: https://docs.python.org/3.4/library/asyncio-task.html
TimeoutError is mentioned several times, and links to the OSError subclass.
However, the actual TimeoutError raised by asyncio stuff is the one from
concurrent.futures, which is not compatible
New submission from Philip Jenvey:
len() on WeakKeyDictionarys can fail with ValueErrors when _IterationGuards are
kept alive
Attached is a test showing this:
==
ERROR: test_weak_keys_len_destroy_while_iterating (__main__
Changes by Philip Jenvey pjen...@underboss.org:
--
keywords: +patch
Added file: http://bugs.python.org/file34751/issue21173-test.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21173
New submission from Jan-Philip Gehrcke:
The os.utime() docs for Python 2
(http://docs.python.org/2/library/os.html#os.utime) and 3
(http://docs.python.org/3/library/os.html#os.utime) both contain the sentence
Whether a directory can be given for path depends on whether the operating
system
Jan-Philip Gehrcke added the comment:
The version action currently writes to stderr. The _VersionAction(Action)'s
__call__() method finishes off with
parser.exit(message=formatter.format_help())
and parser.exit() by default writes to stderr.
Here, Steven says Help is definitely intended
New submission from Jan-Philip Gehrcke:
On FreeBSD, signal.NSIG is smaller than what the documentation promises: One
more than the number of the highest signal number.
On Linux, the highest numerical signal value is smaller/equal signal.NSIG
(expected behavior):
import signal
signals = [s
Jan-Philip Gehrcke added the comment:
As a follow-up, relevant output from FreeBSD 9:
$ python
Python 2.7.5 (default, Dec 20 2013, 21:12:37)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type help, copyright, credits or license for more information.
import signal
signals = [s for s
Hi everyone. First of all sorry if my english is not good.
I have a question about something in Python I can not explain:
in every programming language I know (e.g. C#) if you exceed the max-value of a
certain type (e.g. a long-integer) you get an overflow. Here is a simple
example in C#:
Thank you for your answers!
--
https://mail.python.org/mailman/listinfo/python-list
Thank you ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
up.
It is buggy to say the least. Any other program on linux you may suggest?
Regards,
Philip
--
https://mail.python.org/mailman/listinfo/python-list
. I've, hopefully, solved the issue by switching
to Pan instead of using google groups. :)
Regards,
Philip
--
https://mail.python.org/mailman/listinfo/python-list
New submission from Philip Jenvey:
With discussion of the new Pathlib API there's been suggestion (and maybe even
already consensus) that some of the convenience APIs provided by it should
exist on stat result objects.
It's maybe too late for 3.4, but let's track exactly what additions
Changes by Philip Jenvey pjen...@underboss.org:
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19516
___
___
Python-bugs-list
On Wednesday, 23 October 2013 07:48:41 UTC+1, John Nagle wrote:
On 10/20/2013 3:10 PM, victorgarcia...@gmail.com wrote:
On Sunday, October 20, 2013 3:56:46 PM UTC-2, Philip Herron wrote:
I've been working on GCCPY since roughly november 2009 at least in its
concept. It was announced
On Tuesday, 22 October 2013 09:55:15 UTC+1, Antoine Pitrou wrote:
Philip Herron herron.philip at googlemail.com writes:
Its interesting a few things come up what about:
exec and eval. I didn't really have a good answer for this at my talk at
PYCon IE 2013 but i am going
On Tuesday, 22 October 2013 10:14:16 UTC+1, Oscar Benjamin wrote:
On 22 October 2013 00:41, Steven D'Aprano
On the contrary, you have that backwards. An optimizing JIT compiler
can often produce much more efficient, heavily optimized code than a
static AOT compiler, and at the very
Hey all,
Thanks, i've been working on this basically on my own 95% of the compiler is
all my code, in my spare time. Its been fairly scary all of this for me. I
personally find this as a real source of interest to really demystify compilers
and really what Jit compilation really is under the
On Monday, 21 October 2013 21:26:06 UTC+1, zipher wrote:
On Mon, Oct 21, 2013 at 4:08 AM, Philip Herron
herron.phi...@googlemail.com wrote:
Thanks, i've been working on this basically on my own 95% of the compiler
is all my code, in my spare time. Its been fairly scary all
Hey,
I've been working on GCCPY since roughly november 2009 at least in its
concept. It was announced as a Gsoc 2010 project and also a Gsoc 2011
project. I was mentored by Ian Taylor who has been an extremely big
influence on my software development carrer.
Gccpy is an Ahead of time
Hi Martyn,
Thanks for the good advice to download VS 2008 before M$ delete it from
their download servers.
Unfortunately they have already done this so many Python modules now
can't be compiled correctly on Windows!
Best regards,
Philip
--
http://mail.python.org/mailman/listinfo/python
PyPy3 2.1 beta 1
We're pleased to announce the first beta of the upcoming 2.1 release of
PyPy3. This is the first release of PyPy which targets Python 3 (3.2.3)
compatibility.
We would like to thank all of the people who donated_ to the `py3k proposal`_
for
PyPy3 2.1 beta 1
We're pleased to announce the first beta of the upcoming 2.1 release of
PyPy3. This is the first release of PyPy which targets Python 3 (3.2.3)
compatibility.
We would like to thank all of the people who donated_ to the `py3k proposal`_
for
this instead of just using the Windows
Installer provided by Python:
I needed to modify a _ssl.c file in the Python source code to deal a Mercurial
that I'm trying to resolve.
Any help on why I'm hitting these errors would be appreciated.
Thank you.
Philip McAdams
Systems Administrator - NVM Solutions
\Python-2.7.4\Modules to my environment
variables in Windows.
Wasn't exactly following your comment.
Thank you.
Philip McAdams
Systems Administrator - NVM Solutions Group Systems Engineering Apps
Infrastructure
Desk: (916) 377-6156 Cell: (916) 534-0092 Pole: FM3-1-D7
-Original Message
the Python change is
no longer needed. But out curiosity, and in case I ran into a situation where
did indeed need to make a fix to Python I've wondered what's the best way to do
that. Hopefully this gives you a little insight on what I'm trying to do.
Thanks for your replies.
Thank you.
Philip
New submission from Jan-Philip Gehrcke:
When updating an existing project on PyPI via distutils using the upload
command, I observe erroneous behavior regarding the credentials when I do not
want to store my password in clear text in the pypirc file:
(1) When running
python setup.py
Philip Jenvey added the comment:
and the code module (after #17442 is resolved)
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14805
Philip Jenvey added the comment:
PyPy's fixed this here:
https://bitbucket.org/pypy/pypy/commits/1341a432e134
The tests just need to be adapted to the stdlib test suite
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17442
New submission from Philip Jenvey:
The code module claims to emulate Python's interactive interpreter but it fails
to emulate displaying of the exception cause.
It can utilize traceback._iter_chain to do this (see traceback.print_exception)
--
components: Library (Lib)
messages
Changes by Philip Jenvey pjen...@underboss.org:
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17032
___
___
Python-bugs-list
New submission from Philip Jenvey:
There are a couple references to an 'ndbm' variable/module in this function on
Python 3.2 and above (and just one reference on default). It appears to be
leftover from the 3.x reworking of this module
--
components: Library (Lib)
messages: 181990
Philip Thiem added the comment:
As an alternative, see http://bugs.python.org/issue10845
It contains a patch for the 3.X series which fixes the infinity loop.
Applying it to the 2.X series will fix the issue and make a change the
documentation unnecessary.
--
nosy: +pthiem
Philip Thiem added the comment:
Actually sorry, now that I reread the details a second time, I'm not sure that
is this the same deal. I'll just file a separate bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8094
New submission from Philip Thiem:
http://bugs.python.org/issue10845 also applies to the 2.X series.
this is multiprocessing on windows has issues with __main__.py
--
components: Windows
messages: 181090
nosy: pthiem
priority: normal
severity: normal
status: open
title: Multiprocessing
Changes by Philip Thiem ptth...@gmail.com:
--
title: Multiprocessing on Windows - __main__.py Multiprocessing on Windows
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17101
Philip Jenvey added the comment:
Targeting this for 2.7.4. If Alexander doesn't get to it, ping me and I'll do it
--
nosy: +benjamin.peterson, georg.brandl, larry, pjenvey
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
Philip Jenvey added the comment:
Hey Ezio, you forgot to attach the patch
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16835
I am writing a command-line application for Windows. I would like to review the
Python source code to find out how to install my application so that it doesn't
have to be called using the path and file name (i.e. being able to type
`python` into the Command prompt, instead of
Philip Jenvey added the comment:
The guidelines for this are in PEP 399. Basically, adding 'accelerated'
implementations when necessary isn't a bad thing as long as there are pure
Python equivalents (unless it's a special case) and both are tested.
issue14373's latest patch seems
Philip Jenvey added the comment:
PyPy had a pure python itertools until recently (it's been deleted):
https://bitbucket.org/pypy/pypy/src/c1aa74c06e86/lib_pypy/itertools.py?at=py3k
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Philip Jenvey added the comment:
zipimport
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16651
___
___
Python-bugs-list mailing
Philip Jenvey added the comment:
From the perspective of Jython we'd want the easiest way to hook into this as
possible of course, but I think that overriding marshal to handle a $py.class
or whatever format would be a misappropriation of the marshal module
Jython actually has a slow
New submission from Philip Jenvey:
surrogateescape claims to be implemented by all standard Python codecs
http://docs.python.org/3/library/codecs.html#codec-base-classes
However it fails w/ multibytecodecs on encode:
Python 3.2.3+ (3.2:eb999002916c, Oct 26 2012, 16:11:03)
[GCC 4.2.1 (Apple
New submission from Philip Jenvey:
#9396 replaced a few caches in the stdlib w/ lru_cache, this made the mako_v2
benchmark on Python 3 almost 3x slower than 2.7
The benchmark results are good now that Mako was changed to cache the re
itself, but the problem still stands that lru_cache seems
Philip Jenvey added the comment:
Sorry Brett, beat you to it w/ #16389 =P
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16390
Philip Jenvey added the comment:
Thanks for picking this and the warning/slowdown up, Serhiy. The patch LGTM,
for whatever that's worth =]
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16336
Philip Zerull added the comment:
Hello,
Being of a similar mindset to draghuram on the do_KeyboardInterrupt idea and
thought I'd implement it as a subclass. While this probably wasn't fully
implemented correctly, I think it provides an interesting solution to
stephbul's frustrations
Changes by Philip Mountifield phi...@mountifield.org:
--
nosy: +Philip.Mountifield
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16178
New submission from Philip Jenvey pjen...@underboss.org:
The __length_hint__ optimization was broken a while ago for many iterators due
to a bug introduced in 44c090c74202. It only accepts longs as valid hints, not
ints
This affects 2.6 too (but that's in security-only fix mode), but not 3.x
Philip Jenvey pjen...@underboss.org added the comment:
attached a fix for review
--
keywords: +patch
Added file: http://bugs.python.org/file26383/lengthhint-fix.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15354
Philip Olson phi...@roshambo.org added the comment:
I think you should make the commit.
Also, the aforementioned [old] Subversion reference for Sphinx is a real issue
here. And I think the Without make section should link to
http://sphinx.pocoo.org
Philip Jenvey pjen...@underboss.org added the comment:
Jython's sys.warnoptions should probably just contain strs instead of unicode.
Otherwise I suspect unicode values could break the warnings module's usage of it
--
nosy: +pjenvey
___
Python
Philip Jenvey pjen...@underboss.org added the comment:
__import__ needs the actual module on hand so it can e.g. attach it to its
parent module
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14609
Philip Jenvey pjen...@underboss.org added the comment:
iter(range(1)) should also see a speedup because range's iter supports
__length_hint__
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14126
Philip Jenvey pjen...@underboss.org added the comment:
I think you want to decref the result of PyObject_Repr after the fact, too
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14161
Changes by Philip Jenvey pjen...@underboss.org:
--
nosy: -pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
___
Python-bugs-list
Philip Jenvey pjen...@underboss.org added the comment:
Actually 10.5 was the last PowerPC release
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
Philip Jenvey pjen...@underboss.org added the comment:
DeprecationWarnings aren't that annoying anymore now that they're silent by
default. It should at least have a PendingDeprecationWarning
--
nosy: +pjenvey
___
Python tracker rep
Changes by Philip Jenvey pjen...@underboss.org:
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13903
___
___
Python-bugs-list
Philip Jenvey pjen...@underboss.org added the comment:
Is mro_internal's second call to type_mro_modified still needed? Its comment
makes me suspect that it's not:
type_mro_modified(type, type-tp_mro);
/* corner case: the old-style super class might have been hidden
from
Philip Jenvey pjen...@underboss.org added the comment:
sys.executable can be None on Jython (and I believe IronPython) when ran in an
'embedded' mode
--
nosy: +dino.viehland, pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Philip Jenvey pjen...@underboss.org added the comment:
I'm surprised to hear that stderr is line buffered by default. Historically
stderr is never buffered (at least on POSIX) and for good reason: errors should
be seen immediately
Was this an oversight in migrating stdin/out/err to the new io
Philip Jenvey pjen...@underboss.org added the comment:
2.5 is done
http://mail.python.org/pipermail/python-committers/2011-October/001844.html
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13512
Philip Jenvey pjen...@underboss.org added the comment:
Something along these lines (untested) should do it. 2.6 and 3.x need the fix
as well
--
keywords: +patch
nosy: +pjenvey
Added file: http://bugs.python.org/file23824/pypirc-secure.diff
Philip Jenvey pjen...@underboss.org added the comment:
It probably still needs to catch OSErrors which my patch doesn't do
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13512
site, and when you encounter a decode error, check the raw bytes. Are they
really in the encoding specified? Webmasters make all kinds of mistakes.
Hope this helps
Philip
this - content.decode(encoding)
5) open a file in binary mod open(file_path,wb)
6) I write as I read without modifing
seeing what you're seeing, but if you don't get answer
here you could try asking on the numpy list.
Good luck
Philip
--
http://mail.python.org/mailman/listinfo/python-list
for those who haven't heard of it before:
http://pytools.codeplex.com/
Thanks
Philip
--
http://mail.python.org/mailman/listinfo/python-list
that difficult to convert
it to proper XML? Then you have nice libraries like ElementTree to use for
parsing.
Cheers
Philip
--
http://mail.python.org/mailman/listinfo/python-list
suggestions how do I achieve this?
Suggestion #1: After you set the label to Installing..., try adding
self.run_button.Refresh() and/or self.run_button.Update().
Suggestion #2: Ask wxPython questions on the wxPython mailing list.
Good luck
Philip
--
http://mail.python.org/mailman/listinfo
statements without messing with the
system path or the PYTHONPATH variable?
Personally I have never used PYTHONPATH.
Hope this helps
Philip
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 27, 2011, at 1:57 PM, Josh English wrote:
Philip,
Yes, the proper path should be c:\dev\XmlDB, which has the setup.py, xmldb
subfolder, the docs subfolder, and example subfolder, and the other text
files proscribed by the package development folder.
I could only get it to work
On Aug 27, 2011, at 4:14 PM, Terry Reedy wrote:
On 8/27/2011 2:07 PM, Philip Semanchuk wrote:
On Aug 27, 2011, at 1:57 PM, Josh English wrote:
Philip,
Yes, the proper path should be c:\dev\XmlDB, which has the
setup.py, xmldb subfolder, the docs subfolder, and example
subfolder
Philip
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 25, 2011, at 9:24 AM, Sirisha wrote:
Position Profile – Senior Data Warehouse Developer
As was mentioned on the list less than 24 hours ago, please don't post job
listings to this mailing list. Use the Python jobs board instead:
http://www.python.org/community/jobs/
--
On Aug 19, 2011, at 4:17 PM, Matty Sarro wrote:
That's great - but do they program in python?
Please don't repost URLs sent by a spammer. Only Google truly knows how its
algorithm works, but the general consensus is that the more times Google sees a
link repeated, the more credibility the
much spam anymore. In my experience,
you'll also miss a number of legitimate postings.
HTH
Philip
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 18, 2011, at 1:10 PM, Peter Pearson wrote:
On Thu, 18 Aug 2011 12:15:59 -0400, gene heskett ghesk...@wdtv.com wrote:
[snip]
What is wrong with the mailing list only approach?
In the mailing-list approach, how do I search for prior discussions
on a subject? (I'm not particularly
On Aug 16, 2011, at 1:15 AM, Steven D'Aprano wrote:
On Tue, 16 Aug 2011 01:23 pm Philip Semanchuk wrote:
On Aug 15, 2011, at 9:32 PM, Steven D'Aprano wrote:
On Tue, 16 Aug 2011 08:15 am Chris Angelico wrote:
If you want a future directive that deals with it, I'd do it the other
way
On Aug 16, 2011, at 11:12 AM, Chris Angelico wrote:
On Tue, Aug 16, 2011 at 3:13 PM, Philip Semanchuk phi...@semanchuk.com
wrote:
One need look no further than the standard library to see a strong
counterexample. grep through the Python source for file =. I see dozens
of examples
On Aug 16, 2011, at 11:41 AM, Ethan Furman wrote:
Philip Semanchuk wrote:
On Aug 16, 2011, at 1:15 AM, Steven D'Aprano wrote:
Protecting n00bs from their own errors is an admirable aim, but have you
considered that warnings for something which may be harmless could do more
harm than good
On Aug 16, 2011, at 12:19 PM, Ethan Furman wrote:
Philip Semanchuk wrote:
On Aug 16, 2011, at 11:41 AM, Ethan Furman wrote:
Philip Semanchuk wrote:
If we are to eschew warnings in
cases where they might be highlighting something harmless, then we would
have no warnings at all.
Sounds
'\1', text)
text = _re.sub(r'%s *%s' % (open, close), r'', text)
text = _re.sub(r'\(([^|]*)\)', r'\1', text)
text = text.strip()
Thanks
Philip
--
http://mail.python.org/mailman/listinfo/python-list
of scope.
bye,
Philip
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 16, 2011, at 10:15 PM, Terry Reedy wrote:
On 8/16/2011 8:18 PM, Philip Semanchuk wrote:
Hi Terry,
To generalize from your example, are you saying that there's a mild
admonition
against shadowing builtins with unrelated variable names in standard lib
code?
I would expect
On Aug 15, 2011, at 4:08 AM, Vipul Raheja wrote:
Hi,
I have wrapped a library from C++ to Python using SWIG. But I am facing
problems while importing and using it in Python.
Hi Vipul,
Did you try asking about this on the SWIG mailing list?
bye
Philip
--
http://mail.python.org/mailman
behavior has to remain as it is.
JMO,
Philip
--
http://mail.python.org/mailman/listinfo/python-list
is most often invoked accidentally without knowledge of
or regard for its potential negative consequences, then it might be worth
making it easier to avoid those accidents.
bye,
Philip
--
http://mail.python.org/mailman/listinfo/python-list
Philip Douglass phi...@philipdouglass.com added the comment:
Workaround for this issue: Add -D_TERMIOS_INCLUDED to your CFLAGS/CPPFLAGS
environment variables to successfully compile termios.
--
nosy: +philipsd6
___
Python tracker rep
than your timeout. So either increase your timeout or learn to live with the
fact that the queue is sometimes empty. I don't mean to be rude, I just don't
understand the problem.
Cheers
Philip
--
http://mail.python.org/mailman/listinfo/python-list
. If the subject really interests you, I recommend
that you read the archives and see some of the arguments for and against
various GUI toolkits.
Cheers
Philip
--
http://mail.python.org/mailman/listinfo/python-list
101 - 200 of 683 matches
Mail list logo