[issue45620] A misleading url in 'Floating Point Arithmetic' page

2022-02-20 Thread Akuli


Akuli  added the comment:

If you still have the problem, can you show us what headers your browser sends 
to websites? You can see that by running in Python:

import socket
print(socket.create_server(('127.0.0.1', 
12345)).accept()[0].recv(1024).decode())

and then going to http://localhost:12345/ in your browser.

I'm especially interested in the line that starts with Accept-Language. For me, 
the site now works, and my Accept-Language header is:

Accept-Language: 
en-US,en;q=0.9,fi;q=0.8,sv;q=0.7,pt;q=0.6,it;q=0.5,zh-CN;q=0.4,zh;q=0.3

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2022-02-20 Thread 肖小小

肖小小  added the comment:

It shows the drug ad slogan even with the google search result.
http://www.strong19.com/I searched 'The Perils of Floating Point lahey'

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2022-02-20 Thread 肖小小

肖小小  added the comment:

I was redirect to http://www.strong19.com/
so is this my internet problem?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2022-02-20 Thread 肖小小

肖小小  added the comment:

It shows the drug ad slogan even with the google search result.
I searched 'The Perils of Floating Point lahey'http://www.strong19.com/

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2022-02-20 Thread 肖小小

肖小小  added the comment:

Thanks! Works for me in browser now.http://www.strong19.com/

--
nosy: +xiaox55066

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-12-07 Thread Eric V. Smith


Eric V. Smith  added the comment:

@Akuli: thanks for checking. And thanks so much for the awesome debugging with 
curl: that was the key to solving the problem.

I didn't hear back from lahey.com what the problem was, but I'd sure be curious 
to know!

--
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-12-07 Thread Akuli


Akuli  added the comment:

Thanks! Works for me in browser now.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-12-06 Thread Eric V. Smith


Eric V. Smith  added the comment:

I notified lahey.com, and it looks like the behavior is now normal (at least, 
it looks okay by testing with the curl commands). Could someone who say this 
problem in a browser please double-check?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-12-06 Thread Eric V. Smith


Change by Eric V. Smith :


--
resolution: works for me -> 
stage: resolved -> 
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-12-06 Thread Eric V. Smith


Eric V. Smith  added the comment:

That's interesting. I see the same behavior.

So this seems to be a problem on www.lahey.com. I'll see if I can report it to 
them.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-12-06 Thread Akuli


Akuli  added the comment:

To me, it redirects or doesn't redirect to the drugs site, depending on what 
Accept-Language header your browser sends. And when the redirecting happens, 
the site is in chinese. (I don't speak chinese, and I don't know why my browser 
is sending zh-CN in Accept-Language.)


akuli@akuli-desktop:~$ curl -s -H 'Accept-Language: en-US,en;q=0.9' 
https://www.lahey.com/float.htm | head


Lahey - Floating point









akuli@akuli-desktop:~$ curl -s -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.4' 
https://www.lahey.com/float.htm | head
Document Moved
Object MovedThis document may be found https://www.hmbags.tw/;>here


Incognito mode worked for me, because it sends `Accept-Language: 
en-US,en;q=0.9` without any additional languages.

--
nosy: +Akuli

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-27 Thread Sonia


Sonia  added the comment:

Thanks!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-27 Thread Eric V. Smith


Eric V. Smith  added the comment:

The link on the doc page also works for me, sending me to 
http://www.lahey.com/float.htm.

I think the problem is with @hanhantw's browser or ISP, or similar. I'm going 
to close this.

--
nosy: +eric.smith
resolution:  -> works for me
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-27 Thread Sonia

Sonia  added the comment:

It shows the drug ad slogan even with the google search result.
I searched 'The Perils of Floating Point lahey'

--
Added file: https://bugs.python.org/file50395/截圖 2021-10-27 下午5.02.02.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-27 Thread Sonia


Sonia  added the comment:

I was redirect to https://www.hmbags.tw 
so is this my internet problem?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-27 Thread Dennis Sweeney


Dennis Sweeney  added the comment:

I was unable to replicate this. I see the correct article 
"The Perils of Floating Point" at lahey.com/float.htm. Is the site still 
incorrect for you, or did the Lahey site fix the issue?

--
assignee:  -> docs@python
components: +Documentation
nosy: +Dennis Sweeney, docs@python

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-26 Thread Sonia


New submission from Sonia :

The url of [The Perils of Floating Point](http://www.lahey.com/float.htm) seems 
a bit weird in the page https://docs.python.org/3/tutorial/floatingpoint.html. 
It redirects me to a webpage that sells dugs. Not sure if the resource was 
meant to find this: 
http://www.stat.cmu.edu/~brian/711/week03/perils-of-floating-point.pdf

--
messages: 405070
nosy: hanhantw
priority: normal
severity: normal
status: open
title: A misleading url in 'Floating Point Arithmetic' page
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com