On 27 October 2013 14:29, Eric Snow wrote:
> On Sat, Oct 26, 2013 at 9:44 PM, Nick Coghlan wrote:
>> Accordingly, I think we should add a "How Reloading Will Work"
>> section, akin to the existing "How Loading Will Work"
>> (http://www.python.org/dev/peps/pep-0451/#how-loading-will-work). We
>> m
On Sat, Oct 26, 2013 at 9:44 PM, Nick Coghlan wrote:
> I've been thinking about this, and I've come to the conclusion that:
>
> 1. The old __name__ based behaviour was broken (since __name__ may not
> be the actual module name, as in "__main__" or when a pseudo-module is
> lying about its identity
On 27 October 2013 03:27, Nick Coghlan wrote:
> On 26 October 2013 08:51, PJ Eby wrote:
>> Mostly, this just seems like an ugly wart -- Python should be dynamic
>> by default, and that includes reloading. While the import machinery
>> has lots of ugly caching under the hood, a user-level functio
On Sat, Oct 26, 2013 at 11:27 AM, Nick Coghlan wrote:
> On 26 October 2013 08:51, PJ Eby wrote:
>> Yeah, it actually was to ensure that you could reload a module using a
>> different loader than the one that originally loaded it, e.g. due to a
>> change in path hooks, etc.
>
> Yeah, the rationale
Ethan Furman writes:
> Nikolaus,
>
> Good write-up. Please submit it to the bug tracker:
> http://bugs.python.org
Submitted as http://bugs.python.org/issue19414.
If someone gives me the go-ahead for one of the proposed solutions, I'd
be happy to create a full patch.
Best,
Nikolaus
--
Encrypt
Nikolaus,
Good write-up. Please submit it to the bug tracker: http://bugs.python.org
--
~Ethan~
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options
On 27 Oct 2013 04:16, "Serhiy Storchaka" wrote:
>
> 26.10.13 20:32, Nick Coghlan написав(ла):
>
>> On 27 October 2013 01:10, Serhiy Storchaka wrote:
>>>
>>> 26.10.13 15:50, Stefan Krah написав(ла):
>>>
nick.coghlan wrote:
>
>
> http://hg.python.org/cpython/rev/a9bbc2d0c1dc
>
On Fri, Oct 25, 2013 at 9:44 AM, Eric Snow wrote:
> On Fri, Oct 25, 2013 at 9:40 AM, Brett Cannon wrote:
>> After reading Eric's doc patch, I realized there is one change I want to
>> make to the current semantics and that's not to backfill __package__ when
>> set to None. Since import is now goi
Am 26.10.2013 20:58, schrieb benjamin.peterson:
> http://hg.python.org/cpython/rev/4913d0e9be30
> changeset: 86665:4913d0e9be30
> branch: 2.7
> tag: v2.7.6rc1
> user:Benjamin Peterson
> date:Sat Oct 26 14:57:21 2013 -0400
> summary:
> 2.7.6rc1
We need to solve htt
26.10.13 20:32, Nick Coghlan написав(ла):
On 27 October 2013 01:10, Serhiy Storchaka wrote:
26.10.13 15:50, Stefan Krah написав(ла):
nick.coghlan wrote:
http://hg.python.org/cpython/rev/a9bbc2d0c1dc
-HAVE_DOCSTRINGS = (check_impl_detail(cpython=False) or
- sys.platform ==
On 27 October 2013 03:32, Nick Coghlan wrote:
> On 27 October 2013 01:10, Serhiy Storchaka wrote:
>> 26.10.13 15:50, Stefan Krah написав(ла):
>>
>>> nick.coghlan wrote:
http://hg.python.org/cpython/rev/a9bbc2d0c1dc
-HAVE_DOCSTRINGS = (check_impl_detail(cpython=False) or
-
On 27 October 2013 01:10, Serhiy Storchaka wrote:
> 26.10.13 15:50, Stefan Krah написав(ла):
>
>> nick.coghlan wrote:
>>>
>>> http://hg.python.org/cpython/rev/a9bbc2d0c1dc
>>> -HAVE_DOCSTRINGS = (check_impl_detail(cpython=False) or
>>> - sys.platform == 'win32' or
>>> -
On 26 October 2013 08:51, PJ Eby wrote:
> Mostly, this just seems like an ugly wart -- Python should be dynamic
> by default, and that includes reloading. While the import machinery
> has lots of ugly caching under the hood, a user-level function like
> reload() should not require you to do the e
On 10/26/2013 8:42 AM, Tim Peters wrote:
Read "then" as an abbreviation of "in that case"?
In that case, then, "then" is a very poor abbreviation of "in that
case", and is unlikely to be interpreted with that expansion by many
readers.
___
Python-Dev
On Sat, Oct 26, 2013 at 6:29 AM, A.M. Kuchling wrote:
> On Sat, Oct 26, 2013 at 05:34:05AM +0200, tim.peters wrote:
>> Fiddled Thread.join() to be a little simpler. Kinda ;-)
>> -# else it's a negative timeout - precise behavior isn't documented
>> -# then, but historically .joi
26.10.13 15:50, Stefan Krah написав(ла):
nick.coghlan wrote:
http://hg.python.org/cpython/rev/a9bbc2d0c1dc
-HAVE_DOCSTRINGS = (check_impl_detail(cpython=False) or
- sys.platform == 'win32' or
- sysconfig.get_config_var('WITH_DOC_STRINGS'))
+# Rather than tryi
This pull request should solve this https://github.com/pypa/pip/pull/1256
On Oct 20, 2013, at 12:32 AM, Nick Coghlan wrote:
> On 20 October 2013 05:46, Ian Cordasco wrote:
>> Also the three of us maintaining requests and the author of urllib3
>> are all very conscious that the packaged pem file
nick.coghlan wrote:
> http://hg.python.org/cpython/rev/a9bbc2d0c1dc
> -HAVE_DOCSTRINGS = (check_impl_detail(cpython=False) or
> - sys.platform == 'win32' or
> - sysconfig.get_config_var('WITH_DOC_STRINGS'))
> +# Rather than trying to enumerate all the cases wher
On Sat, Oct 26, 2013 at 05:34:05AM +0200, tim.peters wrote:
> Fiddled Thread.join() to be a little simpler. Kinda ;-)
> -# else it's a negative timeout - precise behavior isn't documented
> -# then, but historically .join() returned in this case
> +else:
> +#
In that case, how about adding a client/server feature?
If you standardize the format, a minimal tracing client could write a log, or
send it to a socket, in a way that can be turned into a snapshot by a
corresponsing utility reading from a file or listenting to a socket.
Just a though. Could be
20 matches
Mail list logo