Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7666

Re: Prevent synchronizing a certain symbol between main and parallel

From "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Prevent synchronizing a certain symbol between main and parallel
Date 2012-01-08 09:31 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jebnph$1hm$1@smc.vnet.net> (permalink)
References <je96n4$j6k$1@smc.vnet.net> <op.v7qicskrqcgwdu@core2.lan>

Show all headers | View raw


On Sat, 07 Jan 2012 22:06:18 -0000, Oleksandr Rasputinov  
<oleksandr_rasputinov@hmamail.com> wrote:

> This behaviour is new in 8 and controlled using the DistributedContexts  
> option (which has default value of $DefaultContexts).

Sorry, this should (obviously?) be $DistributedContexts, not  
$DefaultContexts.

If you're looking for a context whose symbols can never be distributed  
regardless of the value of $DistributedContexts or the DistributedContexts  
option, I would suggest Private`.

(Actually, a full list of such contexts is given in the Options for the  
undocumented new-in-8 function Language`ExtendedFullDefinition, but all of  
the other possibilities are system contexts. If anyone is curious,  
Language`ExtendedDefinition and Language`ExtendedFullDefinition are  
analogous to Definition and FullDefinition but capture the definition of a  
symbol in such a way as it can be reproduced in another kernel. For  
example, defs = Language`ExtendedFullDefinition[sym] returns a  
Language`DefinitionList object. The syntax used to restore the definition  
is highly irregular: Language`ExtendedFullDefinition[] = defs, where defs  
is a Language`DefinitionList. Note that Language`ExtendedFullDefinition  
takes the ExcludedContexts option whereas Language`ExtendedDefinition does  
not.)

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Prevent synchronizing a certain symbol between main and parallel Szabolcs Horvát <szhorvat@gmail.com> - 2012-01-07 10:27 +0000
  Re: Prevent synchronizing a certain symbol between main and parallel "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2012-01-08 09:28 +0000
  Re: Prevent synchronizing a certain symbol between main and parallel "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2012-01-08 09:31 +0000

csiph-web