On Mon, Jun 9, 2014 at 9:03 PM, Steven D'Aprano wrote:
> ...
> There's nothing stopping alternative implementations having their own
> implementation-specific standard library modules.
>
> steve@orac:/home/s$ jython
> Jython 2.5.1+ (Release_2_5_1, Aug 4 2010, 07:18:19)
> [OpenJDK Server VM (Sun M
Hi folks,
As pointed out to me recently in an issue report [1] on my scandir
module, Python's os.stat() simply discards most of the file attribute
information fetched via the Win32 system calls. On Windows, os.stat()
calls CreateFile to open the file and get the dwFileAttributes value,
but it thro
On 6/9/2014 11:03 PM, Steven D'Aprano wrote:
On Tue, Jun 10, 2014 at 05:23:12AM +0300, Paul Sokolovsky wrote:
execfile() builtin function was removed in 3.0.
Because it was hardly ever used. For short bits of code, it is usually
inferior to exec with a string in the file. For substantial bit
On Tue, Jun 10, 2014 at 05:23:12AM +0300, Paul Sokolovsky wrote:
> execfile() builtin function was removed in 3.0. This brings few
> problems:
>
> 1. It hampers interactive mode - instead of short and easy to type
> execfile("file.py") one needs to use exec(open("file.py").read()).
If the amount
Hello,
I was pleasantly surprised with the response to recent post about
MicroPython implementation details
(https://mail.python.org/pipermail/python-dev/2014-June/134718.html). I
hope that discussion means that posts about alternative implementations
are not unwelcome here, so I would like to br
On Mon Jun 09 2014 at 1:48:27 PM, Steven Stewart-Gallus <
sstewartgallu...@mylangara.bc.ca> wrote:
> > Do you mean other than potentially detecting something in the
> > configurescript and using an #ifdef guard?
>
> Yes, that works on a static function inside a file level but I need to
> condition
On 6/9/2014 12:26 PM, Eli Bendersky wrote:
On Mon, Jun 9, 2014 at 7:50 AM, Paul Sokolovsky mailto:pmis...@gmail.com>> wrote:
Hello,
On Mon, 09 Jun 2014 14:01:18 +
Brett Cannon mailto:bcan...@gmail.com>> wrote:
> On Sat Jun 07 2014 at 5:55:29 PM, Le Pa mailto:lpan...@gma
> Do you mean other than potentially detecting something in the
> configurescript and using an #ifdef guard?
Yes, that works on a static function inside a file level but I need to
conditionally include a whole file into the build.
___
Python-Dev mailing
On Jun 9, 2014, at 4:40 AM, Antoine Pitrou wrote:
> Instead of an ABC, why not a simple is_namedtuple() function?
That would work.
Raymond
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubsc
On Mon, Jun 9, 2014 at 7:50 AM, Paul Sokolovsky wrote:
> Hello,
>
> On Mon, 09 Jun 2014 14:01:18 +
> Brett Cannon wrote:
>
> > On Sat Jun 07 2014 at 5:55:29 PM, Le Pa wrote:
> >
> > > Hi,
> > >
> > > I am interested in learning how the cpython interpreter is designed
> > > and implemented,
Hello,
On Mon, 09 Jun 2014 14:01:18 +
Brett Cannon wrote:
> On Sat Jun 07 2014 at 5:55:29 PM, Le Pa wrote:
>
> > Hi,
> >
> > I am interested in learning how the cpython interpreter is designed
> > and implemented,
> > and also how the python debugger works internally. My ultimate
> > purpo
On Mon Jun 09 2014 at 2:07:22 AM, Steven Stewart-Gallus <
sstewartgallu...@mylangara.bc.ca> wrote:
> Hello,
>
> I would like some help understanding the build system. I am currently
> working on an issue (http://bugs.python.org/issue21627) and plan to
> create some common functionality in Python/s
On Sat Jun 07 2014 at 5:55:29 PM, Le Pa wrote:
> Hi,
>
> I am interested in learning how the cpython interpreter is designed and
> implemented,
> and also how the python debugger works internally. My ultimate purpose is
> to
> modify
> them for my distributed computing needs. Are there any docume
Le 09/06/2014 00:05, Raymond Hettinger a écrit :
Another issue is that a straight abc wouldn't be sufficient. What we
would really want is to check for is:
1) the presence of a _fields tuple (an abc can do this)
2) to check that all of the attribute names specified in _fields are
defined (ABCMe
On Mon, Jun 9, 2014 at 11:16 AM, kushal.das wrote:
> http://hg.python.org/cpython/rev/8e05e15901a8
> changeset: 91102:8e05e15901a8
> user:Kushal Das
> date:Mon Jun 09 13:45:56 2014 +0530
> summary:
> Closes #21256: Printout of keyword args in deterministic order in mock
> cal
15 matches
Mail list logo