context variable

03:33 Mar 15, 2021
English to Chinese translations [PRO]
Tech/Engineering - Computers (general)
English term or phrase: context variable
技术文档中出现
Nan Li
Canada


Summary of answers provided
5上下文变量
Randy Wong
5上下文变量
3178118 (X)
3 +1上下文变量
Patrick Cheng
4境况变数, a variable that has different values in different contexts
Kiet Bach


  

Answers


51 mins   confidence: Answerer confidence 3/5Answerer confidence 3/5 peer agreement (net): +1
上下文变量


Explanation:
without more context, it usually means 上下文变量.

Patrick Cheng
United States
Local time: 01:16
Specializes in field
Native speaker of: Native in ChineseChinese

Peer comments on this answer (and responses from the answerer)
agree  clearwater
1 day 17 hrs
Login to enter a peer comment (or grade)

5 hrs   confidence: Answerer confidence 4/5Answerer confidence 4/5
境况变数, a variable that has different values in different contexts


Explanation:
这些似乎都是 Python 电脑语言的用词,在以下可以找到:
https://docs.python.org/zh-cn/3/glossary.html

这个变数在不同的境况有不同的值。我提出的翻译与以上链接提供的不同。

Kiet Bach
United States
Local time: 00:16
Specializes in field
Native speaker of: Native in ChineseChinese
PRO pts in category: 4
Login to enter a peer comment (or grade)

6 hrs   confidence: Answerer confidence 5/5
上下文变量


Explanation:
官网译法:

https://docs.python.org/zh-cn/3/c-api/contextvars.html



Randy Wong
China
Local time: 15:16
Works in field
Native speaker of: Native in ChineseChinese
PRO pts in category: 4
Login to enter a peer comment (or grade)

14 hrs   confidence: Answerer confidence 5/5
上下文变量


Explanation:
在官方技术文档中,有如下解释:
“context variable -- 上下文变量
一种根据其所属的上下文可以具有不同的值的变量。 这类似于在线程局部存储中每个执行线程可以具有不同的变量值。 不过,对于上下文变量来说,一个执行线程中可能会有多个上下文,而上下文变量的主要用途是对并发异步任务中变量进行追踪。 参见 contextvars。”

上下文变量可以根据其上下文而具有不同的值。与每个线程在一个线程中可能具有不同的值的线程本地存储不同,上下文变量可能在一个执行线程中是多个上下文。这对于跟踪并发异步任务中的变量很有用。

Example sentence(s):
  • 对话和客户机应用程序都可以读取和写入上下文变量。

    Reference: http://cloud.ibm.com/docs/assistant?topic=assistant-api-clie...
3178118 (X)
Ireland
Local time: 07:16
Specializes in field
Native speaker of: Native in ChineseChinese
PRO pts in category: 8
Login to enter a peer comment (or grade)



Login or register (free and only takes a few minutes) to participate in this question.

You will also have access to many other tools and opportunities designed for those who have language-related jobs (or are passionate about them). Participation is free and the site has a strict confidentiality policy.

KudoZ™ translation help

The KudoZ network provides a framework for translators and others to assist each other with translations or explanations of terms and short phrases.


See also:
Term search
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search