[issue29011] No entry Deque in typing.py

2016-12-18 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- title: No entry for deques in typing -> No entry Deque in typing.py ___ Python tracker ___

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-18 Thread Henning von Bargen
Henning von Bargen added the comment: I think Eric's To-Do list sums it up pretty well. I just wanted to say how much I appreciate the Python community. It seems that every little detail is very well-thought-out. -- ___ Python tracker

[issue25677] Syntax error caret confused by indentation

2016-12-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 35b50c26f780 by Martin Panter in branch '3.5': Issue #25677: Correct syntax error caret for indented blocks. https://hg.python.org/cpython/rev/35b50c26f780 New changeset d4effdd699de by Martin Panter in branch '3.6': Issue #25677: Merge SyntaxError

[issue29011] No entry for deques in typing

2016-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I tried "d = deque() # type: typing.MutableSequence" but this gave: error: MutableSequence[Post] has no attribute "appendleft" -- ___ Python tracker

read a table and make a basic plot

2016-12-18 Thread metal . suomi
Hi, I'm learning python and full of extensive tutorials around. Getting a bit lost and overflowed in my head with tuples, dictionaries, lists, etc ... etc... Everything great, but I'd like to perform some basic task while learning the rest. For example, I'm having a hard time to find some

[issue29011] No entry for deques in typing

2016-12-18 Thread Raymond Hettinger
New submission from Raymond Hettinger: We have: # Concrete collection types. 'Dict', 'DefaultDict', 'List', 'Set', 'FrozenSet', 'NamedTuple', # Not really a type. 'Generator', But no mention of Deque. What this an intended omission? I would like to be able to

[issue29009] Outdated part in the doc of PyUnicode_RichCompare

2016-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- assignee: docs@python -> xiang.zhang stage: patch review -> commit review ___ Python tracker ___

[issue20191] resource.prlimit(int, int, str) crashs

2016-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Although maybe you don’t need the IndexError check in the test. Good point. Thank you for your review Martin! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29009] Outdated part in the doc of PyUnicode_RichCompare

2016-12-18 Thread Xiang Zhang
Xiang Zhang added the comment: > This sentence also is in the header. Ohh, yes. Thanks Serhiy! -- Added file: http://bugs.python.org/file45961/doc-of-PyUnicode_RichCompare_v2.patch ___ Python tracker

[issue20191] resource.prlimit(int, int, str) crashs

2016-12-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset dac72bc14c00 by Serhiy Storchaka in branch '3.5': Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence that https://hg.python.org/cpython/rev/dac72bc14c00 New changeset 7bc2923a41b6 by Serhiy Storchaka in branch '3.6': Issue

[issue29009] Outdated part in the doc of PyUnicode_RichCompare

2016-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This sentence also is in the header. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue20191] resource.prlimit(int, int, str) crashs

2016-12-18 Thread Martin Panter
Martin Panter added the comment: Patch looks good to me. Although maybe you don’t need the IndexError check in the test. Won’t limit[key] already handle that for you (as long as key isn’t -1 etc). -- ___ Python tracker

[issue29007] Virus detected when attempting to download numpy-1.11.3-cp35-none-win32.whl

2016-12-18 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: christian.heimes -> resolution: -> third party stage: -> resolved status: open -> closed type: security -> ___ Python tracker

[issue29007] Virus detected when attempting to download numpy-1.11.3-cp35-none-win32.whl

2016-12-18 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Sorry Crys, I misclicked on SSL and I don't have the permission to revert it :/ -- ___ Python tracker ___

[issue29007] Virus detected when attempting to download numpy-1.11.3-cp35-none-win32.whl

2016-12-18 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: numpy is not part of Python. Please report this to http://www.numpy.org/ -- assignee: -> christian.heimes components: +SSL nosy: +Chi Hsuan Yen, christian.heimes ___ Python tracker

[issue29010] Incorrect description about scope related with inheritance

2016-12-18 Thread woo yoo
woo yoo added the comment: The associated link is https://docs.python.org/3.6/tutorial/classes.html#inheritance -- assignee: -> docs@python components: +Documentation nosy: +docs@python versions: +Python 3.5, Python 3.6 ___ Python tracker

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2016-12-18 Thread Martin Panter
Martin Panter added the comment: I finished reviewing the most recent patches and left some comments. Perhaps it is worth splitting the conglomerate patch up. I don’t see any point holding back some modules while things are tweaked in unrelated files. My biggest concern is casting function

[issue29010] Incorrect description about scope related with inheritance

2016-12-18 Thread woo yoo
New submission from woo yoo: The current description is "The name BaseClassName must be defined in a scope containing the derived class definition", which did not conform to the actual situation ,e.g. the base class object is not in the same scope as the derived class. -- messages:

[issue29009] Outdated part in the doc of PyUnicode_RichCompare

2016-12-18 Thread Xiang Zhang
New submission from Xiang Zhang: The sentence: "Note that Py_EQ and Py_NE comparisons can cause a UnicodeWarning in case the conversion of the arguments to Unicode fails with a UnicodeDecodeError." in the doc of PyUnicode_RichCompare is not true in 3.x. Proposed patch simply deletes it.

[issue29008] Can't do dict comp from previously defined dict in the outermost scope of class defintion

2016-12-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: terry.reedy -> nosy: -terry.reedy ___ Python tracker ___

[issue29008] Can't do dict comp from previously defined dict in the outermost scope of class defintion

2016-12-18 Thread Xiang Zhang
Xiang Zhang added the comment: Also http://stackoverflow.com/a/4199355/2189957. -- ___ Python tracker ___ ___

[issue29008] Can't do dict comp from previously defined dict in the outermost scope of class defintion

2016-12-18 Thread Xiang Zhang
Xiang Zhang added the comment: This is by design in 3.x. You can refer #11796 for explanation. -- nosy: +xiang.zhang resolution: -> not a bug stage: -> resolved status: open -> closed superseder: -> Comprehensions in a class definition mostly cannot access class variable

[issue29008] Can't do dict comp from previously defined dict in the outermost scope of class defintion

2016-12-18 Thread Dan Snider
New submission from Dan Snider: class MyClass: a_dict = {'key':'value'} r_dict = {a_dict[k]:k for k in a_dict} throws the error: Traceback (most recent call last): File "C:/Users/D/AppData/Local/Programs/Python/Python35-32/deleteme.py", line 1, in class MyClass: File

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-18 Thread Eric Lafontaine
Eric Lafontaine added the comment: forgot to re-post the to-do, and to correct the documentation : List of things to do : - Implement a patch for the code to add a missing "Date" field if it doesn't exist . (in review) - Modify the documentation at the SMTPLib for the send_message to mention

[issue29007] Virus detected when attempting to download numpy-1.11.3-cp35-none-win32.whl

2016-12-18 Thread Brian Davis
New submission from Brian Davis: When attempting to download the latest numpy windows binary, it is quarantined due to the presence of Trojan:Win32/Spursint.A!cl. This should be removed, and root caused as to how this could have made it into the package. -- messages: 283573 nosy:

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-18 Thread Eric Lafontaine
Eric Lafontaine added the comment: Hi all, this is not a short answer, like I hoped it would be ;). But skip to the last section if you don't want to read it all. the heuristic problem : For the heuristic of the resent headers, it's clearly say in the RFC5322

Re: python list index - an easy question

2016-12-18 Thread Ben Bacarisse
BartC writes: > On 18/12/2016 10:59, Paul Götze wrote: >> there is a nice short article by E. W. Dijkstra about why it makes sense >> to start numbering at zero (and exclude the upper given bound) while >> slicing a list. Might give a bit of additional understanding. >> >>

[issue28927] bytes.fromhex should ignore all whitespace

2016-12-18 Thread Nick Coghlan
Nick Coghlan added the comment: +1 to the above Unicode whitespace discussion - the "ASCII space -> ASCII whitespace" change is relatively straightforward to implement, and clearly beneficial given Robert's point regarding the popularity of multi-line terminal-oriented hexdump formats.

Re: The right way to 'call' a class attribute inside the same class

2016-12-18 Thread Chris Angelico
On Mon, Dec 19, 2016 at 9:52 AM, Erik wrote: > > 1) Method call: >"obj.foo(1, 2, 3)" is syntactic sugar for "obj.foo(obj, 1, 2, 3)". And the bit you have to be REALLY careful of when working with both Python and JS is that you have to have "obj.foo(...)" as a single

Re: The right way to 'call' a class attribute inside the same class

2016-12-18 Thread Erik
NOTE: If you found this message by searching for help on how Python works, be aware that it's discussing how JavaScript works, not Python! Look elsewhere :) Chris, this isn't directed at you (I think you get it) - just following up with some detail for anyone who might discover this

Re: python list index - an easy question

2016-12-18 Thread BartC
On 18/12/2016 22:21, BartC wrote: On 18/12/2016 21:04, Michael Torrie wrote: On 12/18/2016 09:21 AM, BartC wrote: So if you wanted a simple list giving the titles of the chapters in a book or on a DVD, on the colour of the front doors for each house in a street, usually you wouldn't be able

Re: python list index - an easy question

2016-12-18 Thread BartC
On 18/12/2016 21:04, Michael Torrie wrote: On 12/18/2016 09:21 AM, BartC wrote: So if you wanted a simple list giving the titles of the chapters in a book or on a DVD, on the colour of the front doors for each house in a street, usually you wouldn't be able to use element 0. It also depends

Re: python list index - an easy question

2016-12-18 Thread Cameron Simpson
On 18Dec2016 16:21, BartC wrote: On 18/12/2016 10:59, Paul Götze wrote: there is a nice short article by E. W. Dijkstra about why it makes sense to start numbering at zero (and exclude the upper given bound) while slicing a list. Might give a bit of additional understanding.

[issue29006] 2.7.13 _sqlite more prone to "database table is locked"

2016-12-18 Thread Armin Rigo
Armin Rigo added the comment: Or maybe it would be enough to change commit() so that if Sqlite fails with "table is locked", pysqlite would reset all cursors and then try again? -- ___ Python tracker

Re: Best attack order for groups of numbers trying to destroy each other, given a victory chance for number to number attack.

2016-12-18 Thread skybuck2000
Dennis wrote: " Instead you /now/ have ONE set of R marching down FOUR sets of B RT RD RF RP <- attackers BT BF BF BP round 1 BF

Re: OT - "Soft" ESC key on the new MacBook Pro

2016-12-18 Thread Gregory Ewing
mm0fmf wrote: +1 for knowing where CTRL should be. Bonus +1 for having used an ASR33. And it's quite remarkable that the designers of the ASR33 knew exactly where it would need to be for Emacs users years later! I think Richard Stallman must have a time machine as well. -- Greg --

Re: OT - "Soft" ESC key on the new MacBook Pro

2016-12-18 Thread Skip Montanaro
> +1 for knowing where CTRL should be. Bonus +1 for having used an ASR33. ;-) I'm sure I must have used an ASR33, but can't recall what it might have been connected to. I do remember using card punch machines for IBM 360 input in 1972 at USC, and toggling front panel switches for binary input

Re: OT - "Soft" ESC key on the new MacBook Pro

2016-12-18 Thread mm0fmf
On 15/12/2016 18:05, Peter Pearson wrote: On Wed, 14 Dec 2016 11:50:30 -0600, Skip Montanaro wrote: On Wed, Dec 14, 2016 at 11:40 AM, Peter Pearson wrote: Train your fingers to use C-[. As I recall, the location of the Ctrl key was one of the differences between

[issue29006] 2.7.13 _sqlite more prone to "database table is locked"

2016-12-18 Thread Ned Deily
Changes by Ned Deily : -- nosy: +benjamin.peterson, berker.peksag, ghaering ___ Python tracker ___

[issue29006] 2.7.13 _sqlite more prone to "database table is locked"

2016-12-18 Thread Armin Rigo
New submission from Armin Rigo: 2.7.13 did a small change to the sqlite commit() method, http://bugs.python.org/issue10513, which I think is causing troubles. I noticed the problem in PyPy, which (with the same change) fails another test in Lib/sqlite3/test/regression.py,

Re: python list index - an easy question

2016-12-18 Thread Michael Torrie
On 12/18/2016 09:21 AM, BartC wrote: > On 18/12/2016 10:59, Paul Götze wrote: >> Hi John, >> >> there is a nice short article by E. W. Dijkstra about why it makes sense >> to start numbering at zero (and exclude the upper given bound) while >> slicing a list. Might give a bit of additional

Re: python list index - an easy question

2016-12-18 Thread alister
On Sun, 18 Dec 2016 16:21:20 +, BartC wrote: > On 18/12/2016 10:59, Paul Götze wrote: >> Hi John, >> >> there is a nice short article by E. W. Dijkstra about why it makes >> sense to start numbering at zero (and exclude the upper given bound) >> while slicing a list. Might give a bit of

[issue9253] argparse: optional subparsers

2016-12-18 Thread Hans-Peter Jansen
Changes by Hans-Peter Jansen : -- nosy: +frispete ___ Python tracker ___ ___ Python-bugs-list

[issue29005] Possibly incorrect description about method objects

2016-12-18 Thread R. David Murray
R. David Murray added the comment: Thanks, woo and Jim. -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue29005] Possibly incorrect description about method objects

2016-12-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6f89f5eb4422 by R David Murray in branch '3.5': #29005: clarify terminology in tutorial 'method' discussion. https://hg.python.org/cpython/rev/6f89f5eb4422 New changeset 7314e08dc907 by R David Murray in branch '3.6': Merge: #29005: clarify

[issue29005] Possibly incorrect description about method objects

2016-12-18 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Agreed, attached amended patch -- Added file: http://bugs.python.org/file45957/method_obj35_2.patch ___ Python tracker

[issue29005] Possibly incorrect description about method objects

2016-12-18 Thread R. David Murray
R. David Murray added the comment: I think it is better to say "the method's instance object", because in the final paragraph we discuss the fact that each method object has an associated instance object. The instance object isn't magically acquired from elsewhere and added, it is added

[issue28997] test_readline.test_nonascii fails on Android

2016-12-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: Checking that the the problem is indeed an encoding problem on Android with readline.set_pre_input_hook(): with tracing_the_completer_2.patch that replaces '\xEB' with 'A', the test now succeeds and prints: test_nonascii (test.test_readline.TestReadline) ...

[issue28997] test_readline.test_nonascii fails on Android

2016-12-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: FWIW on Android we have: >>> readline.__doc__ and "libedit" in readline.__doc__ False >>> getattr(readline, "set_pre_input_hook", None) -- ___ Python tracker

[issue29005] Possibly incorrect description about method objects

2016-12-18 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: I've added a little patch that takes care of this. I didn't add "method's instance object" in the second substitution because it seems evident by the previous sentences. -- keywords: +patch Added file:

[issue28885] Python 3.5.2 strange-behavior issues (from PyPy)

2016-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: (S3) is a side effect of implementing __eq__ in dict_keys and dict_items. Since __eq__ is not implemented in dict_values, __hash__ is inherited from object. -- nosy: +rhettinger ___ Python tracker

Re: python list index - an easy question

2016-12-18 Thread BartC
On 18/12/2016 10:59, Paul Götze wrote: Hi John, there is a nice short article by E. W. Dijkstra about why it makes sense to start numbering at zero (and exclude the upper given bound) while slicing a list. Might give a bit of additional understanding.

[issue29005] Possibly incorrect description about method objects

2016-12-18 Thread R. David Murray
R. David Murray added the comment: Given the (clearer) explanation in the final paragraph of that section, I think the bare 'object' in the first couple paragraphs should be replaced by 'instance object'. There are multiple objects involved, and that will disambiguate which one is being

[issue29005] Possibly incorrect description about method objects

2016-12-18 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: I see. I'd agree that `instance object` is probably better here. Let's see what others think. -- ___ Python tracker

[issue29005] Possibly incorrect description about method objects

2016-12-18 Thread woo yoo
woo yoo added the comment: Maybe the last "method's" should be changed into "class instance" -- ___ Python tracker ___

[issue29005] Possibly incorrect description about method objects

2016-12-18 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Seems right to me, this is also stated clearly in the reference manual: > When an instance method object is called, the underlying function (__func__) > is called, inserting the class instance (__self__) in front of the argument > list. For instance,

[issue29005] Possibly incorrect description about method objects

2016-12-18 Thread woo yoo
New submission from woo yoo: "In general, calling a method with a list of n arguments is equivalent to calling the corresponding function with an argument list that is created by inserting the method’s object before the first argument." Is above description right? The link is

[issue28997] test_readline.test_nonascii fails on Android

2016-12-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: > For me, it prints this: (includes “te” with an umlaut) I got this same result when testing on Android with the interactive interpreter. See the content of the 'completer' list below, when run with tracing_the_completer.patch: On linux: test_nonascii

[Release] Pyo 0.8.2 (Python dsp library)

2016-12-18 Thread Olivier Bélanger
Hello all, I'm glad to announce the release of pyo 0.8.2, available for python 2.7 and 3.5. Pyo is a Python module written in C to help real-time digital signal processing script creation. It is available for Windows, macOS and linux. It is released under the LGPL 3 license. For more info,

Re: python list index - an easy question

2016-12-18 Thread Paul Götze
Hi John, there is a nice short article by E. W. Dijkstra about why it makes sense to start numbering at zero (and exclude the upper given bound) while slicing a list. Might give a bit of additional understanding. http://www.cs.utexas.edu/users/EWD/ewd08xx/EWD831.PDF - paul

[RELEASE] Python 2.7.13

2016-12-18 Thread Benjamin Peterson
It is my pleasure to announce the release of Python 2.7.13, the latest bugfix release of the venerable Python 2.7 series. This release incorporates conservative bugfixes as well as improvements to keep Python 2.7 running on modern systems. The only change from the 2.7.13 release candidate 2 weeks

Re: print() with no newline

2016-12-18 Thread ElChino
Chris Warrick wrote: >> I'm getting a syntax error in Python2. Python3 is fine. >> How can I make this Py2+3 compatible? > > With a __future__ import, the Python 3 syntax will work with both Pythons: > > from __future__ import print_function > print(s, end="") Thanks. Lovely. --

[issue23507] Tuple creation is too slow

2016-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is rebased patch (just for history). Caching argtuple is not faster (or even slower) than using fast call. Regression in stack consumption is fixed in issue28858. Thanks Victor! -- resolution: -> fixed stage: -> resolved status: open ->

Re: print() with no newline

2016-12-18 Thread Chris Warrick
On 18 December 2016 at 13:25, ElChino wrote: > In this snippet: > import sys > PY3 = (sys.version_info[0] >= 3) > > def print_no_nl (s): > if PY3: > print (s, end="") > else: > print (s), > > I'm getting a syntax error in Python2. Python3 is fine. > How

print() with no newline

2016-12-18 Thread ElChino
In this snippet: import sys PY3 = (sys.version_info[0] >= 3) def print_no_nl (s): if PY3: print (s, end="") else: print (s), I'm getting a syntax error in Python2. Python3 is fine. How can I make this Py2+3 compatible? --

[issue29004] binascii.crc_hqx() implements CRC-CCITT

2016-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Okay, then the patch LGTM. Use the form of the polynomial that you prefer. -- ___ Python tracker ___

[issue29004] binascii.crc_hqx() implements CRC-CCITT

2016-12-18 Thread Martin Panter
Martin Panter added the comment: It seems I can write it without the escaped spaces. Is there a problem with this: *x*:sup:`16` + *x*:sup:`12` + *x*:sup:`5` + 1 I’m happy to add the CRC-32 polynomial if you think it would be useful, although it is a lot longer (fifteen terms instead of

[issue28927] bytes.fromhex should ignore all whitespace

2016-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, it is not easy to implement. Currently bytes.fromhex() works only with ASCII strings and can just iterate over char*. If add support of non-ASCII whitespaces, we should add a support of non-ASCII digits, as in float(). This looks excessive. In case if

[issue29004] binascii.crc_hqx() implements CRC-CCITT

2016-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If document the polynomial for crc_hqx, maybe document it for crc32 and adler32? Wouldn't be better to write the formula as *x*\ :sup:`16` + *x*\ :sup:`12 + *x*\ :sup:`5` + 1 ? -- nosy: +eric.smith, lemburg, mark.dickinson, serhiy.storchaka,

[issue28927] bytes.fromhex should ignore all whitespace

2016-12-18 Thread Martin Panter
Martin Panter added the comment: As far as I know, non-ASCII newlines and whitespace are not supported in Python source code, so there is not a big need to support it in bytes.fromhex() either. But since bytes.fromhex() accepts Unicode strings, I think non-ASCII whitespace would be okay if it

[issue29004] binascii.crc_hqx() implements CRC-CCITT

2016-12-18 Thread Martin Panter
New submission from Martin Panter: If I had known this it would have saved me getting a separate implementation working. >>> hex(binascii.crc_hqx(b"\x01", 0)) '0x1021' https://files.stairways.com/other/binhex-40-specs-info.txt Documenting this might helped many other people. Top Google hits

[issue28769] Make PyUnicode_AsUTF8 returning "const char *" rather of "char *"

2016-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Opened a topic on Python-Dev: https://mail.python.org/pipermail/python-dev/2016-December/147029.html. -- ___ Python tracker

[issue28932] Fail compile Python 3.6.0rc1 on OpenBSD 6.0

2016-12-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson, ned.deily priority: normal -> release blocker ___ Python tracker

[issue28932] Fail compile Python 3.6.0rc1 on OpenBSD 6.0

2016-12-18 Thread Remi Pointel
Remi Pointel added the comment: Hello, I have exactly the same problem with Python 2.7.13 on OpenBSD. Works fine with the same patch. Remi. -- nosy: +rpointel versions: +Python 2.7 ___ Python tracker

[issue28927] bytes.fromhex should ignore all whitespace

2016-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is it worth to ignore also non-ASCII whitespaces for compatibility with string-to-number convertions and base64 decoder? >>> float('\xa01.0') 1.0 >>> base64.decodebytes(b'\xa0YWJj') b'abc' Note that not all spaces are ignored. They shouldn't break

Re: python list index - an easy question

2016-12-18 Thread alister
On Sat, 17 Dec 2016 11:10:22 -0800, John wrote: > Hi, > >I am new to Python, and I believe it's an easy question. I know R and >Matlab. > > x=[1,2,3,4,5,6,7] x[0] > 1 x[1:5] > [2, 3, 4, 5] * > > My question is: what does x[1:5] mean? By