-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pillow cannot be loaded in python optimize (2) mode #3231
Comments
Please see PR #3233. |
This is affecting test suites and CI of downstream projects. Any chance of a rapid bugfix release? "No" is a fine answer, I just need to plan accordingly. |
Not sure this is critical enough for a point release, normally reserved for security, installation or critical bug fixes. Releases are quarterly, the last one just went on 2018-07-01, next one is due on 2018-10-01. |
OK thanks. I'll patch downstream them.
…On Fri, Jul 6, 2018 at 8:09 AM Hugo ***@***.***> wrote:
Not sure this is critical enough for a point release, normally reserved
for security, installation or critical bug fixes.
Releases are quarterly, the last one just went on 2018-07-01, next one is
due on 2018-10-01.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3231 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASszD4YPgE3i0N-h_HwJdKHYcCeZItiks5uD1NxgaJpZM4VCj7O>
.
|
The minimal fix to patch the problem introduced in 5.2.0 is 92a39bc. |
Well, I might actually push back a bit about timelines. This breaks libraries like scipy
|
This also breaks Bokeh's CI build as well, we have a test to maintain that library modules can always be imported with -OO and now that we have added PIL as a dependency, they are failing. I would also request a more aggressive schedule to release a fix. |
if it's a problem to do a patch release, would it be possible to just remove the 5.2 version from pypi ? |
It's a bit puzzling, but 5.2.0 works just fine on Windows, however the linux version seems to have this problem. |
5.2 breaks reportlab for me on Windows when optimized. python 3.6.3 |
PR #3233 is merged and it will be in release 5.3.0 due on 2018-10-01. |
Pillow 5.3.0 has just been released. |
…o prevent memory leaks (#8278) Alexandre Garcia (1): Feature/ws origin env variables (#8509) Andrew Huang (2): feature: add built in themes: dark_minimal and light_minimal (#8062) Add another theme: balanced (#8206) Andrey Paramonov (1): Add option to OpenURL in current tab (#8675) Anthony Doucouliagos (4): Ellipse and oval hittesting (#8025) fix annulus hittesting with screen units (#8059) Support for text glyph hit testing (#8083) fix for arrow annotation updating on property change (#8474) Ben Che (1): Add min/max radius dimensions (#8440) Benjamin Lee (1): Fix typo (#8704) Boris Ettinger (1): Addresses #8050 Change type of the selectable property of DataTable (#8051) Brett Montague (1): Fixed documentation typo in patch method of sources.py (#8590) Bryan Van de Ven (267): add dash to readme list add links to README fix links to README fix pivot png test with minimal packages (#8016) make Plot.select compatible with Model.select usage (#8019) raise validation error on duplicate factor range factors (#8022) handle Pandas PeriodIndex and Timedelta properly (#8027) 'Updating for version 1.0.0dev1' 'Updating for version 1.0.0dev1' 'Updating for version 1.0.0dev1' move log tick filtering to the very end (#8029) handle pd.NaT (#8030) add fixture to re-use webdriver in export tests (#8035) add some ticker tests (#8041) fix ServerContext.sessions bug (#8045) format Bokeh warnings more nicely (#8048) add validation on extra range names (#8049) allow recovery from transient script errors (#8044) 'Updating for version 1.0.0dev2' 'Updating for version 1.0.0dev2' 'Updating for version 1.0.0dev2' switch from FD to slack integration remove code dependent on IPython pprint machinery (#8056) remove all deprecations (#8055) clamp bar endpoints to viewport (#8068) add header_row property to support hiding table headers (#8067) Clean up Test Support (#8078) always use zero angle for marker legends (#8080) Bryanv/test cleanup (#8091) Add CustomAction toolbar action (#8099) pin pillow <=5.1 for python-pillow/Pillow#3231 fix pillow pin 'Updating for version 1.0.0dev4' 'Updating for version 1.0.0dev4' 'Updating for version 1.0.0dev4' Restore selenium tests (#8110) initial work to support server selenium tests (#8139) Bryanv/more selenium (#8154) skip test failing only on TravisCI 'Updating for version 1.0.0dev5' 'Updating for version 1.0.0dev5' 'Updating for version 1.0.0dev5' Bryanv/8179 show accumulation (#8184) 'Updating for version 1.0.0dev6' 'Updating for version 1.0.0dev6' 'Updating for version 1.0.0dev6' remove non-functional arguments parameter (#8194) handle vline/hline hover in corner cases (#8212) Bryanv/misc cleanup (#8214) support specifying representative point from legend items (#8218) don't report unversioned python in deps.py output (#8219) account for get_referrers change in python 3.7 (#8222) remove some dead code (#8223) use np.frombuffer instead of deprecated np.fromstring (#8224) properly use string_types for Instance (#8230) 'Updating for version 1.0.0dev7' 'Updating for version 1.0.0dev7' 'Updating for version 1.0.0dev7' Bryanv/8232 frombuffer writeonly (#8234) Bryanv/8156 bold italic (#8237) add clear method to CDS (#8238) slight range docs improvements (#8239) project coords for segment glyphs on gmaps (#8240) allow pull_session to accept HTTP args (#8242) 'Updating for version 1.0.0dev8' 'Updating for version 1.0.0dev8' 'Updating for version 1.0.0dev8' update requests min version (#8251) refine appveyor.yml settings (#8254) Add Appveyor build status Remove youtube link Update README.md add missing embed tempate (#8258) suppress callback warning on image export (#8259) add plumbing to make legends update changes (#8256) make plots have default ranges (#8261) let image_url compute bounds (#8268) warn on setting attributes on empty splattable legend lists (#8269) 'Updating for version 1.0.0dev9' 'Updating for version 1.0.0dev9' 'Updating for version 1.0.0dev9' Bryanv/5884 scatter (#8285) Split up bokeh.properties (#8296) request a render after clearing selection (#8298) 'Updating for version 1.0.0dev10' 'Updating for version 1.0.0dev10' 'Updating for version 1.0.0dev10' use standard args for gridplot (#8297) Small build tasks (#8302) Update CODE_OF_CONDUCT.md remove trailing space improve verify_all fail message (#8303) docs updates (#8301) Bryanv/5231 json embeds (#8193) 'Updating for version 1.0.0dev11' 'Updating for version 1.0.0dev11' 'Updating for version 1.0.0dev11' Bryanv/reduce import code (#8309) Include explicit mention of Bokeh Contributors Update to match license change DataTable data model fixes (#8310) 'Updating for version 1.0.0dev12' 'Updating for version 1.0.0dev12' 'Updating for version 1.0.0dev12' Add adapter property to AjaxDataSource (#8321) load themes from python modules instead of json files (#8327) replace log.warn with log.warning (#8330) add webdriver_control and default to reuse (#8329) correct spatial index MBB for box glyphs (#8335) 'Updating for version 1.0.0rc1' 'Updating for version 1.0.0rc1' 'Updating for version 1.0.0rc1' Update Examples for 1.0 (#8339) 'Updating for version 1.0.0rc2' 'Updating for version 1.0.0rc2' 'Updating for version 1.0.0rc2' 'Updating for version 1.0.0rc3' 'Updating for version 1.0.0rc3' 'Updating for version 1.0.0rc3' Bryanv/8348 better glyph source msg (#8349) Bryanv/misc docs 1.0 (#8352) 'Updating for version 1.0.0rc4' 'Updating for version 1.0.0rc4' 'Updating for version 1.0.0rc4' 'Updating for version 1.0.0' 'Updating for version 1.0.0' 'Updating for version 1.0.0' 'Updating for version 1.0.0' 'Updating for version 1.0.0' pass _angle value when rendering legends for EllipseOval (#8377) minor dataspec cleanup (#8373) Bryanv/8362 new temp doc for export (#8386) Bryanv/101 misc docs (#8387) add dry run and more careful package*.json updates (#8389) 'Updating for version 1.0.1' 'Updating for version 1.0.1' 'Updating for version 1.0.1' 'Updating for version 1.0.1' 'Updating for version 1.0.1' update anaconda token Revert "'Merge branch release_1.0.1'" 'Updating for version 1.0.1' 'Updating for version 1.0.1' 'Updating for version 1.0.1' 'Updating for version 1.0.1' 'Updating for version 1.0.1' Bryanv/8457 bkroot for embed (#8465) set tootip text color explicitly (#8467) 'Updating for version 1.0.2' 'Updating for version 1.0.2' 'Updating for version 1.0.2' 'Updating for version 1.0.2' 'Updating for version 1.0.2' Update README.md update sampledata bucket URL (#8485) monitor JS package license usage (#8510) move BokehJS license details to bokehjs/LICENSE (#8516) Property getter for Model.id (#8523) 'Updating for version 1.0.3rc1' 'Updating for version 1.0.3rc1' 'Updating for version 1.0.3rc1' release notes (#8528) 'Updating for version 1.0.3' 'Updating for version 1.0.3' 'Updating for version 1.0.3' 'Updating for version 1.0.3' 'Updating for version 1.0.3' use only yaml.safe_load (#8542) better error message for nonexistent bokeh serve targets (#8544) remove warning message aboug gulp (#8545) add Model, Event, and populate bokeh.models __all__ (#8553) 1.0.4 release notes (#8557) 'Updating for version 1.0.4' 'Updating for version 1.0.4' 'Updating for version 1.0.4' 'Updating for version 1.0.4' 'Updating for version 1.0.4' fix bad whitespace (#8575) pin conda versions with CONDA_REQS on appveyor too (#8587) adapt to pandas changes (#8588) Fix CDS callback property callbacks (#8601) remove extraneous ctx.fill for bands (#8602) use test env for running CI jobs (#8605) change use of deprecated sphinx app logger (#8606) 'Updating for version 1.1.0dev1' 'Updating for version 1.1.0dev1' 'Updating for version 1.1.0dev1' deploy install need to install to testenv 'Updating for version 1.1.0dev2' 'Updating for version 1.1.0dev2' 'Updating for version 1.1.0dev2' Bryanv/20 deprecations (#8574) resolve various deprectations (#8631) 'Updating for version 1.1.0dev3' 'Updating for version 1.1.0dev3' 'Updating for version 1.1.0dev3' Add js_link convenience method (#8636) isolate instantiation/initialization from json better (#8646) assume UTC in value_as_date (#8653) add --index option to specify site index template (#8660) 'Updating for version 1.1.0dev4' 'Updating for version 1.1.0dev4' 'Updating for version 1.1.0dev4' Bryanv/sphinxext (#8665) 'Updating for version 1.1.0dev5' 'Updating for version 1.1.0dev5' 'Updating for version 1.1.0dev5' fix fabfile path for docs upload, follow on #8665 'Updating for version 1.1.0dev6' 'Updating for version 1.1.0dev6' 'Updating for version 1.1.0dev6' Bryanv/demosite url (#8669) restore Spacer transitive import in bokeh.layouts (#8670) use ci.bokeh.org for artifact storage (#8662) open bokeh serve notebooks with utf8 (#8672) 'Updating for version 1.1.0dev7' 'Updating for version 1.1.0dev7' 'Updating for version 1.1.0dev7' 'Updating for version 1.1.0dev8' 'Updating for version 1.1.0dev8' 'Updating for version 1.1.0dev8' Update CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md yield close_all_connections (#8720) 'Updating for version 1.1.0dev9' 'Updating for version 1.1.0dev9' 'Updating for version 1.1.0dev9' darken and desat disabled buttons (#8722) deprecate unused plot symmetry options (#8721) Update README.md 'Updating for version 1.1.0dev10' 'Updating for version 1.1.0dev10' 'Updating for version 1.1.0dev10' make angle_between strict (#8755) Specialize visuals 'doit' getters (#8757) unique migration anchors per release (#8761) update NF donation link (#8772) compute image bounds correctly (#8773) 'Updating for version 1.1.0dev11' 'Updating for version 1.1.0dev11' 'Updating for version 1.1.0dev11' simplify spinner logic (#8796) 'Updating for version 1.1.0dev12' 'Updating for version 1.1.0dev12' 'Updating for version 1.1.0dev12' Fix range tool interaction issues (#8806) accept list/tuple graph attributes (#8815) make manual_grid example configurable (#8816) 'Updating for version 1.1.0rc2' 'Updating for version 1.1.0rc2' 'Updating for version 1.1.0rc2' 'Updating for version 1.1.0rc3' 'Updating for version 1.1.0rc3' 'Updating for version 1.1.0rc3' Bryanv/1 1 docs (#8822) 'Updating for version 1.1.0rc4' 'Updating for version 1.1.0rc4' 'Updating for version 1.1.0rc4' 'Updating for version 1.1.0rc5' 'Updating for version 1.1.0rc5' 'Updating for version 1.1.0rc5' 'Updating for version 1.1.0' 'Updating for version 1.1.0' 'Updating for version 1.1.0' 'Updating for version 1.1.0' 'Updating for version 1.1.0' Christine Banek (1): Update notebook.rst instructions using JupyterHub + Bokeh. (#8121) Dan Kovacek (1): Possible typo in documentation for bokeh.client.session. (#8586) Dennis O'Brien (1): Add support for setting the DataTable row height (#8412) EJEP (1): Correct three minor typos (#8556) Eugene Petkevich (1): add option to set websocket_max_message_size from notebook (#8584) Genevieve Buckley (1): Bokeh export csv example now discovers column heading names (#8381) Gregor Müllegger (1): Add Dash marker glyph (#8114) Hunt Sparra (2): Initial boilerplate for bokeh/plotting Fixed import HuntJSparra (18): Fix Past & Future Issue with boxplot.py & Pandas 0.23.x (#8191) Boilerplate for toplevel bokek/bokeh (#8220) Boilerplate for bokeh/bokeh/application (#8245) Boilerplate for bokeh/client (#8276) bokeh/colors boilerplate (#8293) Boilerplate for bokeh/command (#8313) Boilerplate for bokeh/core (#8341) Initial boilerplate for bokeh/document (#8350) Initial boilerplate for bokeh/embed (#8353) Modified boilerplate for bokeh/io directory (#8404) Boilerplates for bokeh/models (#8472) Boilerplate for bokeh/plotting directory (#8506) Boilerplate for Protocol (#8514) Boilerplate for bokeh/server (#8517) Boilerplate for bokeh/sphinxext and bokeh/template (#8530) Boilerplate for bokeh/util (#8535) Initial boilerplate for bokeh/tests (#8538) Initial boilerplate for bokeh/_testing (#8547) Ikaro Silva (1): Updated main.py (#8199) Jacky Cao (1): Updating the docstring for the dimensions property for Band, Span and Whisker (#8132) Jason (1): typo for plotting_hex_tile_basic.py by ppplinday (#8236) Jean-Luc Stevens (4): Image hover fix for inverted ranges (#8031) Preprocessor to strip out IPython magics from notebooks (#8539) Unicode fix when serving notebooks on Python 2 (#8555) Safer alternative fix for unicode notebook issue in Python 2 (#8558) Jeff (1): add minor ticks "minor_ticks=" option in FixedTicker (#8294) John Paton (1): fixed typo in io.export.create_webdriver docs (#8410) Joris Nettelstroth (1): Fix typo 'range_rool' in range_tool.py (#8492) José Coto (1): Update lasso example documentation (8393) (#8466) Julia Signell (4): Autohide toolbar (#8318) [WIP] MultiPolygons with holes (#8340) Fixing autohide pan and wheel stutter (#8363) Make warnings configurable (#8739) Karel van de Plassche (6): Add proof-of-concept Docker container (#8028) Fixes 7890: Do not draw line if value is NaN in step (#8094) Fix Karel/7788 rangeslider minmax (#8095) Fixed Exception raising texts of test_sources (#8125) Fixes #6770. Flatten pandas columns and index explicitly on CDS creation (#8093) Added unit/integration tests for python3.7 (#8217) Kun Yang (1): fix a typo (#8460) Lev Maximov (1): improved support for pyinstaller (#8038) Luke Canavan (1): Fix push_notebook support for JupyterLab (#8123) Luke M Craig (1): DOC typo (funtion -> function) (#8037) Maggie-M (2): change all instances of "joy plot" to "ridge plot" (#8200) Pandas is optional overall, but required for hexbin (#8252) Mags (4): 'Updating for version 1.0.0dev3' 'Updating for version 1.0.0dev3' 'Updating for version 1.0.0dev3' Add "edges" argument to histogram Maik Heistermann (1): Fix gridplot example with pie charts (#8429) Mark Mikofski (1): DOC: remove extra "to execute" from embed (#8481) Mateusz Paprocki (66): Define {css,js}_resources blocks in the correct order (#8161) Backports of unrelated changes from PR #8085 (#8304) Always kill phantomjs at process exit (#8376) Fix failing codebase tests (#8406) Upgrade TypeScript to version 3.1 (#8414) Maintain dict type in components() (#8416) Allow newer versions of nodejs (#8431) Unify semicolon usage in TypeScript (#8439) Run `npm install` when `node make *` on fresh install (#8452) Upgrade to TypeScript 3.2 (#8477) Don't resize window when capturing test images (#8526) Improve the layout subsystem (#8085) Fix pytest's deprecations in examples' tests (#8619) Upgrade TypeScript and minifier, and enable more tslint rules (#8623) Make custom extensions compiler work on Windows (#8620) Fix examples' tests after PR #8619 (#8632) Remove duplication of types between attributes and properties (#8615) Make examples' tests work on Windows (#8648) Fix grid_axis_alignment_no_toolbar on 32-bit platforms (#8651) Rewrite test/models in TypeScript (#8644) Use visibility: hidden on hidden tabs (#8661) Replace vendored bootstrap and font-awesome with CDN (#8667) Don't allow user agent styles to overwrite ours (#8652) Rewrite custom extensions in TypeScript (#8657) Add a color picker and spinner widgets (#8678) Make autoload_js load CSS before JavaScript (#8682) Observe changes to offset parent and relayout (#8685) Improve performance of widget heavy layouts (#8689) Connect CDSView.source's slots after late initialization (#8696) Allow to scroll through tabs headers (#8694) Rename bokehjs/build/js/{tree->lib} to match src/ (#8699) Lazily value import UIEvents in PlotView (#8701) Compute content size with subpixel precision (#8697) Don't over-allocate space for columns/rows in grids (#8707) Finish rewriting bokehjs' tests in TypeScript (#8695) Use correct z-index in bk-tooltip (#8718) Run inline js in individual functions in autoload_js (#8714) Make GMapPlotCanvas work in strict mode (#8734) Miscellaneous improvements to bokehjs (#8740) Add support for closable tabs (#8732) Don't expose external libraries in the public API (#8748) Selectively bundle custom models if possible (#8749) Allow to resolve both core/layout and core/layout/index (#8750) Proxy InspectTool.toggleable property (#8753) Handle disabled property in control widgets (#8752) Better handling of default legend in bokehjs' Figure (#8756) Make layout respect visible property (#8754) Normalize rects in spatial index to allow inverted ranges (#8764) Allocate fair amount of space for tabs' headers (#8760) Update tabs header when layout recomputes (#8780) Add support for grid layout spans (#8775) Relativize module paths in the emitted js/d.ts files (#8782) Upgrade to TypeScript 3.4 (#8802) Apply bokeh CSS more selectively to avoid conflicts (#8776) Make test_python_execution_with_OO work on Windows (#8803) Make GridBox.spacing adhere to CSS argument order (#8805) Allow for simpler creation of complex grids Round values to integers in grid layout Round values to integers in aspect computations Make bokehjs work with phantomjs again (#8811) Invalidate render when LayoutDOM.css_classes changes Warn about layout and asynchronous HTML content (#8812) Improve sizing of row and column layouts (#8817) Unify API of npm package and browser bundle (#8818) Fix app/surface3d and custom/font-awesome examples (#8824) Improve aspect management with scale_height mode (#8826) Matthew Rocklin (2): replace use of return_future with gen.coroutine (#8135) Add context manager and decorator to control property validation (#8144) Michael Brown (2): Spelling and formatting fixes in docs (#8449) Documentation cleanup (#8453) Nicolas de Palezieux (1): GMapOptions add tilt attribute (#8130) Paddy Mullen (1): Codepen links (#8693) Peter Hausamann (1): Change Whisker and Band parameters to UnitSpec (#8716) Philipp Lehner (1): 8196 Add .copy method to ColumnDataSource (#8211) Philipp Rudiger (23): Ensure BoxDrawTool does not draw when tool inactive (#8076) Allow ability to overwrite existing glyphs in drawing tools (#8127) Ensure draw/edit tools sync data on bokeh server (#8137) Added FreehandDrawTool (#8147) Added support for vertex snapping to PolyDrawTool and PolyEditTool (#8149) Ensure TileRenderer renders despite aspect changes (#8175) Make TileRenderer smoothing configurable (#8173) Add DocumentLifeCycleHandler and Document.on_session_destroyed (#8248) Added ability to define custom tooltip and icon on EditTools (#8274) Add computed_icon getter to ToolProxy (#8283) Only deduplicate some tool types (#8317) Allow loading cached compiled models using hook (#8336) Color property now accepted css rgb(a) strings (#8371) Improved handling of DocumentLifeCycleHandler callbacks (#8368) Skip rendering legend glyph for empty scatter (#8419) Disable show_vertices when PolyDrawTool inactive (#8494) Attempt to enable downstream tests for holoviews (#8383) Invalidate TileSource cache on property changes (#8594) Update MAINTAINERS list (#8751) Fix handling of main.ipynb in DirectoryHandler (#8795) 'Updating for version 1.1.0rc1' 'Updating for version 1.1.0rc1' 'Updating for version 1.1.0rc1' Pratap Vardhan (6): REF: Simplify pie example, remove Counter (#8087) REF: Rename ci scripts, use dot (.) instead of colon (:) #8089 (#8090) DOC: clean backticks in .rst docs (#8098) REF: Use generators inplace of lists #8092 (#8101) REF: Use .loc instead of .ix in box_annotation example (#8105) REF: Use .loc instead of .ix in examples (#8107) Przemysław Buczkowski (1): Fixes trying to index dict_keys (#8800) Raghav (3): Corrected spelling mistakes (#8745) Corrected spelling mistakes (#8767) Corrected spelling mistakes (#8804) Sarah Bird (3): Birdsarah/8534 docs tweak (#8537) Fix-up BOKEH_DEV docs (follow-up) (#8550) After running npm audit fix (#8709) Thomas PEDOT (1): Add documentation on callback policy for slider (#8549) TimotheeGerber (1): Fix {css,js}_resources block mismatch (#8279) Veith Röthlingshöfer (1): Refactor tile_providers to handle multiple documents more intuitively… (#8593) YMRTN (1): Daterangeslider value as date (#8629) ahmetbaglan (1): Update main.py (#8634) alhoo (2): Enable copy paste for datatables (#8522) Add server sent events datasource (#8702) dnnr (2): Fix typo and grammar mistakes (#8398) Omit colon in hover tooltips if label is empty (#8407) euandekock (1): Added x and y values to the geometries property of cb_data for TapTool (#8057) fleimgruber (1): Compat: Get correct env when freezing with cx_Freeze (#8324) gotyaoi (1): Stops the directory handler from bailing inappropriately. (#8730) guillaume (1): Remove global event listeners when deleting views to prevent memory leaks (#8278) hhuuggoo (1): textarea input widget (#8464) jakirkham (1): Fix small typo [ci skip] (#8396) jaroli (1): Update server.rst: wrong apache module name (#8427) jasonsross (1): Jsnsross/8142 span datetime (#8145) jensschroer (1): Adding autoreload based on tornado (#8255) jgriffi6 (1): add method to retrieve sorted columns on DataTable in js (#8470) komo-fr (4): Convert NetworkX node/edge attributes to Bokeh node_renderer/edge_renderer data source. (#8183) (#8210) Add an example to demonstrate node/edge attributes in from_networkx (#8291) Fix tiny typo. (#8306) update from_networkx for fixed layout (#8312) konmeo (1): Fix text_align in table cell formatters (#8435) lgasnier (1): Using 'utf-8' codec to open python 3 scripts in bokeh app (#8202) mborus (1): Extended BAD_COLUMN_NAME error (#8372) monkut (1): Adding mention of BOKEH_PHANTOMJS_PATH to RuntimeError exception message (#8267) ncfcs17 (2): Revert "Fixed import" Revert "Initial boilerplate for bokeh/plotting" nicain (1): Resolve #8271 by adding ";" to console.log command (#8272) numpynewb (1): Added short usage instructions (#8017) pdavezac (1): correcting validation for BAD_EXTRA_RANGE_NAME (#8723) (#8781) philosophercode (1): Chaco link is a 404 - changed to git repo URL (#8345) vickyclose (1): Improve docs for export functions (#8228) xavArtley (13): Windows platform test corrections (#8213) Ci windows appveyor (#8249) Pandas warning removed in Gapminder example (#8322) Correction selection histogram example (#8325) population example legend position -> "bottom_right" (#8326) embed_multiple: better arrangement (#8331) Simple hdf5 example improvement (#8328) Transform Pandas Columns CategoricalIndex in list (#8422) Ensure compilation of custom model works with bokehjs compiled on win (#8565) Create custom example to plot parallel plot (#8578) Transform coffee script in custom extension examples in TypeScript (#8563) kill node.exe and phantom phanomjs.exe before quitting selenium webdr… (#8738) Note for windows user for server --dev (#8736) zlohhcuB treboR (1): Add figure's plot id in DOM structure as well (#8385)
What did you do?
I was loading the PIL module with 'import PIL' when running Python with PYTHONOPTIMZE=2 (or python -OO).
What did you expect to happen?
I Expected the PIL/Pillow Library to be imported.
What actually happened?
I received an exception:
AttributeError: 'NoneType' object has no attribute 'format'
What versions of Pillow and Python are you using?
Pillow 5.2.0 / Python 3.6.5
Reason:
PYTHONOPTIMIZE=2 / python -OO strips the _ _ doc _ _ variable.
Example:
create a file called test.py with only import PIL
Execute it with python in optimize mode
You will receive the following exception:
The text was updated successfully, but these errors were encountered: