question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tab complete results in duplicate entries

See original GitHub issue

Here’s a screenshot of completing for a = np.ndarray(3)

screen shot 2017-12-21 at 10 39 59 am

They don’t seem to be duplicated in the dir method:

Counter(a.__dir__()).most_common(4)
=> [('__repr__', 1), ('__hash__', 1), ('__str__', 1), ('__lt__', 1)]

Sys info

$ python -c "import IPython; print(IPython.sys_info())"
{'commit_hash': 'ca5443062',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': '/Users/wbeard/miniconda3/envs/test/lib/python3.6/site-packages/IPython',
 'ipython_version': '6.2.1',
 'os_name': 'posix',
 'platform': 'Darwin-16.7.0-x86_64-i386-64bit',
 'sys_executable': '/Users/wbeard/miniconda3/envs/test/bin/python',
 'sys_platform': 'darwin',
 'sys_version': '3.6.3 | packaged by conda-forge | (default, Dec  9 2017, '
                '16:20:51) \n'
                '[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)]'}

Conda install file

$ cat environment.yml | egrep -v "(^ *#.*|^$)"
name: test
dependencies:
- python=3
- flake8
- pandas
- jupyter
- notebook
- pip:
  - line-profiler
  - jupyter_contrib_nbextensions
  - python-dotenv>=0.5.1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

5reactions
paulochfcommented, Jan 3, 2018

I’ve just got onto this issue.

Problem comes from ipykernel==4.7.0. I did pip install ipykernel==4.6.1 and it got fixed.

3reactions
takluyvercommented, Jan 5, 2018

I think this should be fixed in master by #10969.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to avoid duplicate completion in Bash
1 Answer 1. Sorted by: Reset to default. Highest score (default) ...
Read more >
detecting "duplicate" entries in a tab separated file using bash ...
I have a tab-separated text file I need to check for duplicates. The layout looks roughly like so. (The first entries in the...
Read more >
Why are there duplicates in the query results and how to ...
All five payments display on the Results tab but they are not duplicates. Each payment is a separate record because a payment query...
Read more >
How to Find Duplicate Values in a SQL Table - Chartio
The first step is to define your criteria for a duplicate row. Do you need a combination of two columns to be unique...
Read more >
Filter for or remove duplicate values - Microsoft Support
You can filter for unique values to temporarily hide duplicate values, and you can remove duplicate values to permanently delete duplicate values.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found