workspace
stringclasses
1 value
channel
stringclasses
1 value
sentences
stringlengths
1
3.93k
ts
stringlengths
26
26
user
stringlengths
2
11
sentence_id
stringlengths
44
53
timestamp
float64
1.5B
1.56B
__index_level_0__
int64
0
106k
pythondev
help
and the other person that could was also on ubuntu
2017-09-29T15:58:39.000229
Orpha
pythondev_help_Orpha_2017-09-29T15:58:39.000229
1,506,700,719.000229
95,003
pythondev
help
but the ubuntu i tested on couldn’t reproduce
2017-09-29T15:58:49.000197
Orpha
pythondev_help_Orpha_2017-09-29T15:58:49.000197
1,506,700,729.000197
95,004
pythondev
help
So it's only our guy and John Ferro that get it and they are on different versions?
2017-09-29T15:59:12.000140
Mallie
pythondev_help_Mallie_2017-09-29T15:59:12.000140
1,506,700,752.00014
95,005
pythondev
help
yea
2017-09-29T15:59:32.000159
Orpha
pythondev_help_Orpha_2017-09-29T15:59:32.000159
1,506,700,772.000159
95,006
pythondev
help
both on ubuntu though
2017-09-29T15:59:45.000310
Orpha
pythondev_help_Orpha_2017-09-29T15:59:45.000310
1,506,700,785.00031
95,007
pythondev
help
I'm on ubuntu 14.04
2017-09-29T15:59:47.000005
Antionette
pythondev_help_Antionette_2017-09-29T15:59:47.000005
1,506,700,787.000005
95,008
pythondev
help
Cannot reproduce in `3.4.3 on CentOS 6.4`, `3.7.a on OSX 10.12`, `3.5.0 on OSX 10.12`, `3.6.2 on OSX 10.11`
2017-09-29T15:59:53.000039
Earline
pythondev_help_Earline_2017-09-29T15:59:53.000039
1,506,700,793.000039
95,009
pythondev
help
k, he was on 16.04
2017-09-29T15:59:55.000510
Orpha
pythondev_help_Orpha_2017-09-29T15:59:55.000510
1,506,700,795.00051
95,010
pythondev
help
but he was python 3.5.1?
2017-09-29T16:00:18.000469
Antionette
pythondev_help_Antionette_2017-09-29T16:00:18.000469
1,506,700,818.000469
95,011
pythondev
help
yea
2017-09-29T16:00:24.000297
Orpha
pythondev_help_Orpha_2017-09-29T16:00:24.000297
1,506,700,824.000297
95,012
pythondev
help
Mine is identical to his - it's probably the same repo, and I don't get it
2017-09-29T16:00:34.000751
Mallie
pythondev_help_Mallie_2017-09-29T16:00:34.000751
1,506,700,834.000751
95,013
pythondev
help
Ubuntu 16.04 python3 package
2017-09-29T16:00:46.000286
Mallie
pythondev_help_Mallie_2017-09-29T16:00:46.000286
1,506,700,846.000286
95,014
pythondev
help
unless he installed via download from the site?
2017-09-29T16:00:58.000552
Orpha
pythondev_help_Orpha_2017-09-29T16:00:58.000552
1,506,700,858.000552
95,015
pythondev
help
I know it's that one because for 3.6 I had to get it myself
2017-09-29T16:01:01.000166
Mallie
pythondev_help_Mallie_2017-09-29T16:01:01.000166
1,506,700,861.000166
95,016
pythondev
help
Ah maybe but the date was even the same - but I guess I dunno what they do/don't do with building it for apt
2017-09-29T16:01:26.000137
Mallie
pythondev_help_Mallie_2017-09-29T16:01:26.000137
1,506,700,886.000137
95,017
pythondev
help
he seems pretty new to python also, so i doubt he did anything crazy
2017-09-29T16:01:34.000070
Orpha
pythondev_help_Orpha_2017-09-29T16:01:34.000070
1,506,700,894.00007
95,018
pythondev
help
I told him to SO it, but if he doesn't want to I can
2017-09-29T16:02:57.000217
Mallie
pythondev_help_Mallie_2017-09-29T16:02:57.000217
1,506,700,977.000217
95,019
pythondev
help
yea, figured id try here first
2017-09-29T16:03:18.000150
Orpha
pythondev_help_Orpha_2017-09-29T16:03:18.000150
1,506,700,998.00015
95,020
pythondev
help
Totally fair, just figure get some more eyes on it since no one seems to have anything
2017-09-29T16:03:34.000104
Mallie
pythondev_help_Mallie_2017-09-29T16:03:34.000104
1,506,701,014.000104
95,021
pythondev
help
<@Antionette> since you can reproduce it, can you try one more time, but after the error don’t call dir(urllib) just call urllib.parse again?
2017-09-29T16:05:51.000137
Orpha
pythondev_help_Orpha_2017-09-29T16:05:51.000137
1,506,701,151.000137
95,022
pythondev
help
yeah tried that, it gets the attribute
2017-09-29T16:06:03.000042
Antionette
pythondev_help_Antionette_2017-09-29T16:06:03.000042
1,506,701,163.000042
95,023
pythondev
help
ok
2017-09-29T16:06:09.000321
Orpha
pythondev_help_Orpha_2017-09-29T16:06:09.000321
1,506,701,169.000321
95,024
pythondev
help
cool / still weird
2017-09-29T16:06:14.000496
Orpha
pythondev_help_Orpha_2017-09-29T16:06:14.000496
1,506,701,174.000496
95,025
pythondev
help
and do you remember if you installed via package manager or from a download?
2017-09-29T16:07:46.000222
Orpha
pythondev_help_Orpha_2017-09-29T16:07:46.000222
1,506,701,266.000222
95,026
pythondev
help
package manager
2017-09-29T16:09:07.000134
Antionette
pythondev_help_Antionette_2017-09-29T16:09:07.000134
1,506,701,347.000134
95,027
pythondev
help
question… does the same work with request, instead of parse
2017-09-29T16:10:19.000534
Orpha
pythondev_help_Orpha_2017-09-29T16:10:19.000534
1,506,701,419.000534
95,028
pythondev
help
behaves the same as parse
2017-09-29T16:10:57.000020
Antionette
pythondev_help_Antionette_2017-09-29T16:10:57.000020
1,506,701,457.00002
95,029
pythondev
help
ok
2017-09-29T16:12:03.000169
Orpha
pythondev_help_Orpha_2017-09-29T16:12:03.000169
1,506,701,523.000169
95,030
pythondev
help
thanks
2017-09-29T16:12:07.000267
Orpha
pythondev_help_Orpha_2017-09-29T16:12:07.000267
1,506,701,527.000267
95,031
pythondev
help
do you get True for this?
2017-09-29T16:12:39.000446
Antionette
pythondev_help_Antionette_2017-09-29T16:12:39.000446
1,506,701,559.000446
95,032
pythondev
help
I'm assuming yes
2017-09-29T16:13:12.000120
Antionette
pythondev_help_Antionette_2017-09-29T16:13:12.000120
1,506,701,592.00012
95,033
pythondev
help
umm…
2017-09-29T16:15:02.000125
Orpha
pythondev_help_Orpha_2017-09-29T16:15:02.000125
1,506,701,702.000125
95,034
pythondev
help
wait
2017-09-29T16:15:19.000323
Orpha
pythondev_help_Orpha_2017-09-29T16:15:19.000323
1,506,701,719.000323
95,035
pythondev
help
lol
2017-09-29T16:15:20.000338
Orpha
pythondev_help_Orpha_2017-09-29T16:15:20.000338
1,506,701,720.000338
95,036
pythondev
help
typo
2017-09-29T16:15:21.000299
Orpha
pythondev_help_Orpha_2017-09-29T16:15:21.000299
1,506,701,721.000299
95,037
pythondev
help
`False`
2017-09-29T16:16:08.000183
Orpha
pythondev_help_Orpha_2017-09-29T16:16:08.000183
1,506,701,768.000183
95,038
pythondev
help
hmmm
2017-09-29T16:16:41.000297
Antionette
pythondev_help_Antionette_2017-09-29T16:16:41.000297
1,506,701,801.000297
95,039
pythondev
help
but that should be the same
2017-09-29T16:16:53.000179
Orpha
pythondev_help_Orpha_2017-09-29T16:16:53.000179
1,506,701,813.000179
95,040
pythondev
help
but then if you call `urllib.parse` it doesn't give the attribute error
2017-09-29T16:16:54.000094
Antionette
pythondev_help_Antionette_2017-09-29T16:16:54.000094
1,506,701,814.000094
95,041
pythondev
help
but then it becomes true right?
2017-09-29T16:17:00.000502
Antionette
pythondev_help_Antionette_2017-09-29T16:17:00.000502
1,506,701,820.000502
95,042
pythondev
help
as parse wont load for you until after the AttributeError
2017-09-29T16:17:06.000586
Orpha
pythondev_help_Orpha_2017-09-29T16:17:06.000586
1,506,701,826.000586
95,043
pythondev
help
right
2017-09-29T16:17:22.000566
Antionette
pythondev_help_Antionette_2017-09-29T16:17:22.000566
1,506,701,842.000566
95,044
pythondev
help
the original question on this… parse, request, etc… were actually loading on the AttributeError for urllib.foo
2017-09-29T16:18:22.000514
Orpha
pythondev_help_Orpha_2017-09-29T16:18:22.000514
1,506,701,902.000514
95,045
pythondev
help
its like the interpreter throws the error then loads everything just to make sure
2017-09-29T16:18:53.000102
Orpha
pythondev_help_Orpha_2017-09-29T16:18:53.000102
1,506,701,933.000102
95,046
pythondev
help
yeah I'm seeing the same behaviour
2017-09-29T16:19:14.000639
Antionette
pythondev_help_Antionette_2017-09-29T16:19:14.000639
1,506,701,954.000639
95,047
pythondev
help
and just to double check, for you/the correct behviour is that you can access `urllib.parse` from the beginning?
2017-09-29T16:19:53.000183
Antionette
pythondev_help_Antionette_2017-09-29T16:19:53.000183
1,506,701,993.000183
95,048
pythondev
help
no
2017-09-29T16:20:01.000256
Orpha
pythondev_help_Orpha_2017-09-29T16:20:01.000256
1,506,702,001.000256
95,049
pythondev
help
``` &gt;&gt;&gt; import urllib &gt;&gt;&gt; dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__'] &gt;&gt;&gt; urllib.foo Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; AttributeError: module 'urllib' has no attribute 'foo' &gt;&gt;&gt; dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__'] &gt;&gt;&gt; ```
2017-09-29T16:20:33.000022
Orpha
pythondev_help_Orpha_2017-09-29T16:20:33.000022
1,506,702,033.000022
95,050
pythondev
help
ok so you have to explicitly import it
2017-09-29T16:20:34.000129
Antionette
pythondev_help_Antionette_2017-09-29T16:20:34.000129
1,506,702,034.000129
95,051
pythondev
help
thats what most of us are seeing
2017-09-29T16:20:40.000309
Orpha
pythondev_help_Orpha_2017-09-29T16:20:40.000309
1,506,702,040.000309
95,052
pythondev
help
dir(urllib) doesn’t change after the error
2017-09-29T16:21:00.000547
Orpha
pythondev_help_Orpha_2017-09-29T16:21:00.000547
1,506,702,060.000547
95,053
pythondev
help
so it seems to be on any error
2017-09-29T16:22:28.000396
Antionette
pythondev_help_Antionette_2017-09-29T16:22:28.000396
1,506,702,148.000396
95,054
pythondev
help
wait
2017-09-29T16:22:47.000377
Antionette
pythondev_help_Antionette_2017-09-29T16:22:47.000377
1,506,702,167.000377
95,055
pythondev
help
wth… import after error too? thats new
2017-09-29T16:23:20.000551
Orpha
pythondev_help_Orpha_2017-09-29T16:23:20.000551
1,506,702,200.000551
95,056
pythondev
help
<@Mallie> ^
2017-09-29T16:23:25.000146
Orpha
pythondev_help_Orpha_2017-09-29T16:23:25.000146
1,506,702,205.000146
95,057
pythondev
help
Does this happen for other modules, e.g. `logging` has a similar package structure to `urllib`, so what happens for ``` &gt;&gt;&gt; import logging &gt;&gt;&gt; dir(logging) &gt;&gt;&gt; logging.config &gt;&gt;&gt; dir(logging) ```?
2017-09-29T16:23:38.000519
Earline
pythondev_help_Earline_2017-09-29T16:23:38.000519
1,506,702,218.000519
95,058
pythondev
help
hah - so it's the exception that triggers the import?
2017-09-29T16:23:41.000273
Mallie
pythondev_help_Mallie_2017-09-29T16:23:41.000273
1,506,702,221.000273
95,059
pythondev
help
no, he didn’t import urllib until after the error
2017-09-29T16:24:13.000122
Orpha
pythondev_help_Orpha_2017-09-29T16:24:13.000122
1,506,702,253.000122
95,060
pythondev
help
<@Antionette> do that once more but call dir on urllib right after the error
2017-09-29T16:24:28.000483
Orpha
pythondev_help_Orpha_2017-09-29T16:24:28.000483
1,506,702,268.000483
95,061
pythondev
help
lets see if it loads with the modules
2017-09-29T16:24:35.000094
Orpha
pythondev_help_Orpha_2017-09-29T16:24:35.000094
1,506,702,275.000094
95,062
pythondev
help
without importing?
2017-09-29T16:24:58.000248
Antionette
pythondev_help_Antionette_2017-09-29T16:24:58.000248
1,506,702,298.000248
95,063
pythondev
help
no, import urllib after error then call dir
2017-09-29T16:25:13.000291
Orpha
pythondev_help_Orpha_2017-09-29T16:25:13.000291
1,506,702,313.000291
95,064
pythondev
help
see if parse is loaded before another error
2017-09-29T16:25:29.000398
Orpha
pythondev_help_Orpha_2017-09-29T16:25:29.000398
1,506,702,329.000398
95,065
pythondev
help
not sure if this is what you were looking for
2017-09-29T16:25:59.000348
Antionette
pythondev_help_Antionette_2017-09-29T16:25:59.000348
1,506,702,359.000348
95,066
pythondev
help
yea
2017-09-29T16:26:23.000118
Orpha
pythondev_help_Orpha_2017-09-29T16:26:23.000118
1,506,702,383.000118
95,067
pythondev
help
well that makes sense, otherwise it would have given the attribute error in the above code
2017-09-29T16:26:46.000047
Antionette
pythondev_help_Antionette_2017-09-29T16:26:46.000047
1,506,702,406.000047
95,068
pythondev
help
<@Orpha> I'm here now
2017-09-29T16:27:05.000148
Seema
pythondev_help_Seema_2017-09-29T16:27:05.000148
1,506,702,425.000148
95,069
pythondev
help
the question is why is any error importing it
2017-09-29T16:27:08.000106
Antionette
pythondev_help_Antionette_2017-09-29T16:27:08.000106
1,506,702,428.000106
95,070
pythondev
help
yea
2017-09-29T16:27:14.000299
Orpha
pythondev_help_Orpha_2017-09-29T16:27:14.000299
1,506,702,434.000299
95,071
pythondev
help
pretty much
2017-09-29T16:27:17.000322
Orpha
pythondev_help_Orpha_2017-09-29T16:27:17.000322
1,506,702,437.000322
95,072
pythondev
help
there are a lot of why?‘s
2017-09-29T16:27:39.000168
Orpha
pythondev_help_Orpha_2017-09-29T16:27:39.000168
1,506,702,459.000168
95,073
pythondev
help
haha
2017-09-29T16:27:40.000329
Orpha
pythondev_help_Orpha_2017-09-29T16:27:40.000329
1,506,702,460.000329
95,074
pythondev
help
and i can’t reproduce that either
2017-09-29T16:27:53.000003
Orpha
pythondev_help_Orpha_2017-09-29T16:27:53.000003
1,506,702,473.000003
95,075
pythondev
help
I have it written, just proofing it
2017-09-29T16:28:19.000377
Mallie
pythondev_help_Mallie_2017-09-29T16:28:19.000377
1,506,702,499.000377
95,076
pythondev
help
with the newest updates?
2017-09-29T16:28:29.000003
Orpha
pythondev_help_Orpha_2017-09-29T16:28:29.000003
1,506,702,509.000003
95,077
pythondev
help
lol
2017-09-29T16:28:31.000151
Orpha
pythondev_help_Orpha_2017-09-29T16:28:31.000151
1,506,702,511.000151
95,078
pythondev
help
ya
2017-09-29T16:28:32.000079
Mallie
pythondev_help_Mallie_2017-09-29T16:28:32.000079
1,506,702,512.000079
95,079
pythondev
help
awesome
2017-09-29T16:28:40.000060
Orpha
pythondev_help_Orpha_2017-09-29T16:28:40.000060
1,506,702,520.00006
95,080
pythondev
help
<@Antionette> I hadn't gotten that far (I brought it up in another slack). I'm also new to Python programming. Is Exception the super to all errors
2017-09-29T16:28:45.000202
Seema
pythondev_help_Seema_2017-09-29T16:28:45.000202
1,506,702,525.000202
95,081
pythondev
help
<@Antionette> curious are you able to do? ``` import urllib.parse urllib.parse ```
2017-09-29T16:30:15.000039
Kiersten
pythondev_help_Kiersten_2017-09-29T16:30:15.000039
1,506,702,615.000039
95,082
pythondev
help
<https://stackoverflow.com/questions/46496520/unexpected-module-loading-using-urllib-in-python-3-5-x>
2017-09-29T16:30:25.000246
Mallie
pythondev_help_Mallie_2017-09-29T16:30:25.000246
1,506,702,625.000246
95,083
pythondev
help
:pray:
2017-09-29T16:31:05.000223
Mallie
pythondev_help_Mallie_2017-09-29T16:31:05.000223
1,506,702,665.000223
95,084
pythondev
help
<@Kiersten> yup
2017-09-29T16:31:32.000017
Antionette
pythondev_help_Antionette_2017-09-29T16:31:32.000017
1,506,702,692.000017
95,085
pythondev
help
<@Kiersten> ```Python 3.5.2 (default, Aug 18 2017, 17:48:00) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import urllib &gt;&gt;&gt; urllib.parse Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; AttributeError: module 'urllib' has no attribute 'parse' &gt;&gt;&gt; urllib.parse &lt;module 'urllib.parse' from '/usr/lib/python3.5/urllib/parse.py'&gt;```
2017-09-29T16:31:43.000245
Seema
pythondev_help_Seema_2017-09-29T16:31:43.000245
1,506,702,703.000245
95,086
pythondev
help
only two known people that can reproduce this ^ are (<@Antionette> and <@Seema>)
2017-09-29T16:33:02.000052
Orpha
pythondev_help_Orpha_2017-09-29T16:33:02.000052
1,506,702,782.000052
95,087
pythondev
help
<@Antionette> ``` &gt;&gt;&gt; import sys &gt;&gt;&gt; print(sys.excepthook) &lt;built-in function excepthook&gt; &gt;&gt;&gt; print(sys.excepthook is sys.__excepthook__) True &gt;&gt;&gt; ```
2017-09-29T16:37:25.000150
Orpha
pythondev_help_Orpha_2017-09-29T16:37:25.000150
1,506,703,045.00015
95,088
pythondev
help
what do you get for that?
2017-09-29T16:37:29.000003
Orpha
pythondev_help_Orpha_2017-09-29T16:37:29.000003
1,506,703,049.000003
95,089
pythondev
help
```Python 3.5.2 (default, Aug 18 2017, 17:48:00) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import sys; print(sys.excepthook) &lt;function apport_excepthook at 0x7f65c6acf510&gt; &gt;&gt;&gt; print(sys.excepthook is sys.__excepthook__) False ```
2017-09-29T16:37:43.000383
Seema
pythondev_help_Seema_2017-09-29T16:37:43.000383
1,506,703,063.000383
95,090
pythondev
help
<@Mallie> SO might have just killed all our fun
2017-09-29T16:38:26.000289
Orpha
pythondev_help_Orpha_2017-09-29T16:38:26.000289
1,506,703,106.000289
95,091
pythondev
help
lol
2017-09-29T16:38:30.000124
Orpha
pythondev_help_Orpha_2017-09-29T16:38:30.000124
1,506,703,110.000124
95,092
pythondev
help
I know
2017-09-29T16:38:35.000317
Mallie
pythondev_help_Mallie_2017-09-29T16:38:35.000317
1,506,703,115.000317
95,093
pythondev
help
That dude is basically the emperor of Python on SO
2017-09-29T16:38:43.000342
Mallie
pythondev_help_Mallie_2017-09-29T16:38:43.000342
1,506,703,123.000342
95,094
pythondev
help
<@Antionette> So basically, it's a namespace package and somewhere along the line something else imports the actual urllib.parse and then it works?
2017-09-29T16:40:16.000184
Kiersten
pythondev_help_Kiersten_2017-09-29T16:40:16.000184
1,506,703,216.000184
95,095
pythondev
help
It appears to be this: <https://packages.ubuntu.com/xenial/python-problem-report>
2017-09-29T16:40:32.000051
Mallie
pythondev_help_Mallie_2017-09-29T16:40:32.000051
1,506,703,232.000051
95,096
pythondev
help
Yeah its look like this system exception hook is importing all modules
2017-09-29T16:40:41.000318
Antionette
pythondev_help_Antionette_2017-09-29T16:40:41.000318
1,506,703,241.000318
95,097
pythondev
help
So some sort of error reporting module? still digging into it
2017-09-29T16:40:45.000592
Mallie
pythondev_help_Mallie_2017-09-29T16:40:45.000592
1,506,703,245.000592
95,098
pythondev
help
so apt-uninstall it and it should go away?
2017-09-29T16:42:31.000187
Orpha
pythondev_help_Orpha_2017-09-29T16:42:31.000187
1,506,703,351.000187
95,099
pythondev
help
<@Seema> Can you `dpkg -l | grep python-problem-report` in your shell?
2017-09-29T16:42:35.000006
Mallie
pythondev_help_Mallie_2017-09-29T16:42:35.000006
1,506,703,355.000006
95,100
pythondev
help
huh
2017-09-29T16:43:05.000285
Antionette
pythondev_help_Antionette_2017-09-29T16:43:05.000285
1,506,703,385.000285
95,101
pythondev
help
empty...
2017-09-29T16:43:12.000007
Seema
pythondev_help_Seema_2017-09-29T16:43:12.000007
1,506,703,392.000007
95,102