{"id":6009,"date":"2020-01-02T00:40:12","date_gmt":"2020-01-02T06:40:12","guid":{"rendered":"https:\/\/islascruz.org\/blog\/?p=6009"},"modified":"2020-01-02T00:40:12","modified_gmt":"2020-01-02T06:40:12","slug":"y-se-nos-fue-el-soporte-para-2-x","status":"publish","type":"post","link":"https:\/\/islascruz.org\/blog\/2020\/01\/02\/y-se-nos-fue-el-soporte-para-2-x\/","title":{"rendered":"Y se nos fu\u00e9 el soporte para 2.X"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6010\" src=\"https:\/\/islascruz.org\/blog\/wp-content\/uploads\/2020\/01\/IMG_1832.jpg\" alt=\"IMG_1832.JPG\" width=\"1079\" height=\"1080\" srcset=\"https:\/\/islascruz.org\/blog\/wp-content\/uploads\/2020\/01\/IMG_1832.jpg 1079w, https:\/\/islascruz.org\/blog\/wp-content\/uploads\/2020\/01\/IMG_1832-300x300.jpg 300w, https:\/\/islascruz.org\/blog\/wp-content\/uploads\/2020\/01\/IMG_1832-1024x1024.jpg 1024w, https:\/\/islascruz.org\/blog\/wp-content\/uploads\/2020\/01\/IMG_1832-150x150.jpg 150w, https:\/\/islascruz.org\/blog\/wp-content\/uploads\/2020\/01\/IMG_1832-768x769.jpg 768w, https:\/\/islascruz.org\/blog\/wp-content\/uploads\/2020\/01\/IMG_1832-510x510.jpg 510w, https:\/\/islascruz.org\/blog\/wp-content\/uploads\/2020\/01\/IMG_1832-400x400.jpg 400w, https:\/\/islascruz.org\/blog\/wp-content\/uploads\/2020\/01\/IMG_1832-50x50.jpg 50w\" sizes=\"auto, (max-width: 1079px) 100vw, 1079px\" \/><\/p>\n<p>La versi\u00f3n mayor mas vieja de Python acaba de ser &#8220;terminada&#8221;, al dejar de tener soporte oficial por parte de la PSF. Python 2.x no tendr\u00e1 mas actualizaciones.<\/p>\n<p>Desde hace tiempo ya la versi\u00f3n menor de Python se retuvo en 2.7, quedando en el aire la versi\u00f3n 2.8 que nunca vi\u00f3 la luz. Python 3, la versi\u00f3n mayor de Python ha estado entre nosotros desde 2008, 11 a\u00f1os le ha costado para poder ser la unica versi\u00f3n mayor de Python.<\/p>\n<p>Y por que le tom\u00f3 a Python cambiar por completo un total de 11 a\u00f1os?. Bien la cuesti\u00f3n es que Python 3.x no es compatible con Python 2.x, es decir, si escribes un programa pensando en la sint\u00e1xis de Python 2.x es muy probable que no funcione al correrlo con el interprete de Python 3.<\/p>\n<p>La adopci\u00f3n de Python 3 entonces se retraso porque los desarrolladores de las principales librerias y apps tuvieron que empezar a soportar Python 3. El tener dos versiones de Python provoc\u00f3 que muchos desarrolladores ya metidos en Python continuaran con Python 2, las nuevas generaciones empezaron con Python 3 porque era lo mas nuevo, pero las generaciones que de por si usan Python se tomaron mas tiempo.<\/p>\n<p>En mi opini\u00f3n, depreciar por completo Python 2 est\u00e1 principalmente motivado a que muchos todavia usan Python 2 porque es simplemente mas c\u00f3modo continuar con el mecanismo que ha existido durante tanto tiempo en lugar de migrar. Dicho de otro modo, depreciar Python 2 es una forma de obligar a los desarrolladores a usar Python 3.<\/p>\n<hr \/>\n<hr \/>\n<p>\u00bfTu por que crees que Python 2 aguant\u00f3 tanto (11 a\u00f1os) en ser depreciado?<\/p>\n<p>&nbsp;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_6009\" class=\"pvc_stats all  \" data-element-id=\"6009\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/islascruz.org\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_6009\" class=\"pvc_stats all  \" data-element-id=\"6009\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/islascruz.org\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":6010,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,14,15],"tags":[1096,1097,129,16],"class_list":["post-6009","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-personal","category-programming","category-python","tag-2-x","tag-3-x","tag-programming","tag-python-2"],"a3_pvc":{"activated":true,"total_views":4865,"today_views":0},"brizy_media":[],"_links":{"self":[{"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/posts\/6009","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/comments?post=6009"}],"version-history":[{"count":1,"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/posts\/6009\/revisions"}],"predecessor-version":[{"id":6011,"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/posts\/6009\/revisions\/6011"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/media\/6010"}],"wp:attachment":[{"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/media?parent=6009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/categories?post=6009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/islascruz.org\/blog\/wp-json\/wp\/v2\/tags?post=6009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}